Bryan - Gendev
Programmer
In my application I copy an 'altered' table to a folder with the same tablename as the original 'master' table.
To provide a check that this has been accomplished successfully I:-
1 delete the 'master' table
2 copy the 'altered' table as the master
3 Use an API (below) to compare the file time of the dbf and the fpt copied files.
Declare Integer CompareFileTime In kernel32;
STRING lpFileTime1, String lpFileTime2
This is a too exact comparison, as when making a vidoe for the Help files the operation returns a fail due to a slight time lag.
Is there a better way of confirming that the replacement has taken place correctly.
I use the same procedure if the user wishes to revert to the original and loose the changes.
Thanks for any clues.
GenDev
To provide a check that this has been accomplished successfully I:-
1 delete the 'master' table
2 copy the 'altered' table as the master
3 Use an API (below) to compare the file time of the dbf and the fpt copied files.
Declare Integer CompareFileTime In kernel32;
STRING lpFileTime1, String lpFileTime2
This is a too exact comparison, as when making a vidoe for the Help files the operation returns a fail due to a slight time lag.
Is there a better way of confirming that the replacement has taken place correctly.
I use the same procedure if the user wishes to revert to the original and loose the changes.
Thanks for any clues.
GenDev