Good morning,
To determine whether a DBF file has changed, it would be good to determine the date and time of the last change.
It is sufficient to determine the date and time with the dirctory() function?
Is there a function that can access the timestamp in the DBF directly?
Best regards,
Otto
Timestamp DBF
- Otto
- Posts: 6414
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 29 times
- Been thanked: 2 times
- Contact:
Timestamp DBF
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
Re: Timestamp DBF
Try
dbInfo(DBI_LASTUPDATE) --> Returns the last date on which the file was updated
The constants are defined in dbinfo.ch
I believe that it is the same as Same as LUpdate()
dbInfo(DBI_LASTUPDATE) --> Returns the last date on which the file was updated
The constants are defined in dbinfo.ch
I believe that it is the same as Same as LUpdate()
- Otto
- Posts: 6414
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 29 times
- Been thanked: 2 times
- Contact:
Re: Timestamp DBF
Hello Anser,
Thank you for your help.
I looked into the harbour manual, and it seems that LUpdate only gives back date. I need also time. So, I used directory().
All is working fine.
Best regards to you and your family
Otto
https://mybergland.com/fwforum/timestamp.mp4
Thank you for your help.
I looked into the harbour manual, and it seems that LUpdate only gives back date. I need also time. So, I used directory().
All is working fine.
Best regards to you and your family
Otto
https://mybergland.com/fwforum/timestamp.mp4
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
Re: Timestamp DBF
Otto wrote:Hello Anser,
Thank you for your help.
I looked into the harbour manual, and it seems that LUpdate only gives back date. I need also time. So, I used directory().
All is working fine.
Best regards to you and your family
Otto
https://mybergland.com/fwforum/timestamp.mp4
Nice to know that you resolved the issue.

Your Web Application developed using ModHarbour looks really good.
Convey our regards to all in your family.