Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date & Time for auditing
Message
De
27/02/2002 14:09:17
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00625648
Message ID:
00625913
Vues:
11
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform