English
Bugs and vermeintliche

$dbLUpdate shows Erstellungsdatum, not Update the DB

 

E.T.
even on it punched:
$dbLUpdate  shows the Erstellungs-date the DB on, not the latest Update - date.



in the background The indicated of Explorer (voices exakt with the last updating the DB überein), in the Vordergrund The spending vonXProfan (4 Beta, but too with 3 and 11 so, in the Image in the Interpreter, but too in in the finished Exe the same).
Window 1000,1000
db("Open", #1,"SinusOrg.DBF")
db("Use", #1)
Print "db-structure of SinusOrg.DBF"
Print
Print "Datensätze:      ";&dbRecCount
Print "Felder:          ";%dbFCount
Print "Satzgröße:       ";%dbRecSize;" Byte"
Print "Headergröße:     ";%dbHeader;" Byte"
Print "Letzte Änderung: ";$dbLUpdate,"-",GetFTime$("SinusOrg.DBF")
waitinput
End

GetFTime$("SinusOrg.DBF")  shows The korrekte Änderungs-Time the DB on.
data base wasn't in another Program opened, was a copy the DB of my weather-computer

43 kB
Hochgeladen:09/07/17
Downloadcounter0
Download
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
09/07/17  
 




E.T.
... alas Yes: if someone absolutely with the tested .dbf-File try would like: bitteschön, nothing geheimes dranne

Download

461 kB
Hochgeladen:09/07/17
Downloadcounter1
Download
 
XProfan X3
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
09/07/17  
 




Michael
W.
I have it time a little bit extended circa evtl. Fehlern on The track To come:
'cls
Window 1000,1000
Declare way$,e&
pfad$ = "C:\\Users\\micha_000\\Downloads\\XProfan\\E.T\\"
e& = %IOResult : print e&
db("Open", #1,"SinusOrg.DBF")
e& = %IOResult : print e&
db("Use", #1)
e& = %IOResult : print e&
Print "db-structure of SinusOrg.DBF"
Print
Print "Datensätze:      ";&dbRecCount
Print "Felder:          ";%dbFCount
Print "Satzgröße:       ";%dbRecSize;" Byte"
Print "Headergröße:     ";%dbHeader;" Byte"
e& = %IOResult : print e&
Print "Letzte Änderung: ";$dbLUpdate," - ",GetFDate$("SinusOrg.DBF"),GetFTime$("SinusOrg.DBF")
e& = %IOResult : print e&
Print "Letzte Änderung: ";$dbLUpdate4," - ",GetFDate$("SinusOrg.DBF"),GetFTime$("SinusOrg.DBF")
e& = %IOResult : print e&
db("Close", #1)
waitkey
End

1. you have db("close",#1) forget.
2. only with GetFTime$() isn't absolutely a Änderung discernible.
3. one ought to $dbLUpdate4 use
4. in the code becomes indeed nothing changed

I have simply whom aide "Tabellen bearbeiten" used circa a the values To Change. then have I anew the program called and the date has correctly The latest Änderung displayed.

or have I something overlooking?

P.s.:
whom way have I again abgeklemmt and the File directly in that actually directory laid.

nice, the You The *.DBF same enclosed have, so is testing one Klacks.
 
System: Windows 8/10, XProfan X4
Programmieren, das spannendste Detektivspiel der Welt.
09/11/17  
 




E.T.
Michael W. (11.09.2017)
1. you have db("close",#1) forget.

happens at copy, in the program Have ich's

Michael W. (11.09.2017)
2. only with GetFTime$() isn't absolutely a Änderung discernible.

was only to that testing, it'll indeed The right Time the last Änderung displayed. GetFDate$  shows indeed the wirkliche date the last Änderung

Michael W. (11.09.2017)
3. one ought to $dbLUpdate4 use

shows but too the Erstellungs-date the File on

Michael W. (11.09.2017)
4. in the code becomes indeed nothing changed

correctly., is supposed also of my Program on quite none drop made go. The data base becomes in reglm. intervals of a ext. Program updated, i want only look, whether something changed is and hereon react with my Program (read).

Michael W. (11.09.2017)
I have simply whom aide "Tabellen bearbeiten" used circa a the values To Change. then have I anew the program called and the date has correctly The latest Änderung displayed.

very the can I,may I not, see before.

Michael W. (11.09.2017)
or have I something overlooking?

Hm, well the $dbLUpdate or. $dbLUpdate4  only conditioned the right Update-date Show. i think, the dog lying therein bury, How which Program The File updated, scheind it still differences To give.

Michael W. (11.09.2017)
nice, the You The *.DBF same enclosed have, so is testing one Klacks.

 
XProfan X3
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
09/11/17  
 




Michael
W.
too I have somewhere another Uralt-Turbopascal-Program, the this dBase-stature aufbaut and the data anfügt.

apparently isn't eachone so sorgsam at investigate the Formates. If your externes Program only at create the date writes is the of Programmer vergeigt been.

there's then The question as data base extended becomes. I suppose, The is and remaining without *.IDX. then ought to it simply his, because then becomes just extended.

Nutze means whom Return Value of db("Open",...
whom in a INI-File remember and you know at Open the File
whether objectively something added watts - and how much.

P.s.:
means: bow Yes, but not of XProfan...

with the Entwicklern the Wetterstation Contact take in and them one better Program offer.
 
System: Windows 8/10, XProfan X4
Programmieren, das spannendste Detektivspiel der Welt.
09/12/17  
 




E.T.
Michael W. (12.09.2017)
apparently isn't eachone so sorgsam at investigate the Formates. If your externes Program only at create the date writes is the of Programmer vergeigt been.

... always these quick-Mach-Fix-Programmer

Michael W. (12.09.2017)
there's then The question as data base extended becomes. I suppose, The is and remaining without *.IDX. then ought to it simply his, because then becomes just extended.

index becomes none prepares, How expects... $dbLUpdate or. $dbLUpdate4  grab on The .idx To ?? the ought to one but too know, then login I this Verweis time as Nachtrag in the Help-File on.

Michael W. (12.09.2017)
Nutze means whom Return Value of db("Open",...
whom in a INI-File remember and you know at Open the File
whether objectively something added watts - and how much.

then take I same GetFDate$ + GetFTime$ , the fit Yes. I wisely Yes not, whether the ext. Program sometime something "am Anfang" the db killt, circa ggf. The File not To big go To let.

Michael W. (12.09.2017)
with the Entwicklern the Wetterstation Contact take in and them one better Program offer.

this is the sense the thing. at least I will first my Program, what me The data so indicating, How I it wants (z.B. in the Vollbild, what its Progg not time hinbekommt), therefore begnüge I first with the request the data base the manufacturers-Proggs.

If I because time Time find would, The Station, which on the USB depends, self abzufragen, bräuchte I its Program not (extra) mitlaufen let and could too one (vlt. better) Program as The manufacturers-Version (is so of 2013 or so) offer. but somehow wants a standard-USB-request (How ReadCom & Co.) simply not XProfan occupancy hold, I very pity find. And if then Time missing, itself self with the whole ddl's auseinanderzusetzen, must one itself even first over 3 corners help...
means if someone the Mitlesendenden direct Access to USB-tools (without USB-Seriell-Konverter) a XProfan-Progg hinbekommen has, then always since so  
On each drop best Thanks on you, Michael
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
09/12/17  
 




RGH
$DBLUpdate and $DBLUpdate4 grab solely on the Header the data base To. If one externes Program at Change whom Header not updated, is XProfan naturally powerless.

BTW: standard DBase save the year only zweistellig in the Header. $DBLUpdate4 suppose, that years to 71 in this centenary lying and gives the year properly 4-stellig back.

for your tack might but the from you relative method, namely the Filedatum To use, the sicherere lane his.

Greeting
Roland
 
XProfan X3
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
09/12/17  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

7.533 Views

Untitledvor 0 min.
Rschnett08/06/22
Sven Bader09/07/21
ecki01/24/19
Torsten Rümker01/02/19
More...

Themeninformationen

this Topic has 3 subscriber:

E.T. (4x)
Michael W. (2x)
RGH (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie