Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date & Time for auditing
Message
From
27/02/2002 14:09:17
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00625648
Message ID:
00625913
Views:
15
>You could go with a simple method:
>
>
>* First lets get a synq date time from the novell sever</font>
>* as the users computer may have there clock off</font>
>lcMyServerFile = oData.Code40SysDir+"\TEMP\"+SUBSTR(sys(2015),3,8)+'.CLK'
>handle=fcreate(lcMyServerFile)
>=fclose(handle)
>lcDate = fdate(lcMyServerFile)
>lcTime = ftime(lcMyServerFile)
>erase (lcMyServerFile)
>
Do you think this would work on an NT network?

I am afraid the additional overhead of creating the file will make it slower - for auditing purposes. After all, auditing functions are called after each TableUpdate(). However, I might just adapt the solution to warn the users if their clocks are way off.

>
>Or you cold go with a more complex solution found in FAQ 617

Thanks; I'll take a look at it.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform