Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
>Does anyone have a simple piece of FoxPro code to ask a time server
>for the current date?
I don't have the code, but we had this issue when communicating with a backend server. We created a table on the server which automatically populated a datetime field with each new entry. We would insert a new record, and then read the TOP 1 record when sorted by its auto-incrementing id number. We would then delete all entries below that value.
Clunky, but it worked generically on all DB engines that supported auto-population of datetime fields
UPDATE: I did not read the word "time" when I first responded. Just "server". Sigh. :-(
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement