Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Instead of using the server date, use future date.
Message
De
04/11/2009 15:14:55
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
04/11/2009 11:51:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01432808
Message ID:
01433211
Vues:
42
>>I think you should use code references to search for every place where there is a reference to date(), then see where it would be appropriate to use a User Defined Function instead.
>
>That would be a good idea, but there are serveral hundered thousand lines of code.
>Thanks!

You could use a global (yecch) variable... and replace date() with gnFutureDays+date() everywhere. Then for testing set gnFutureDays to 2300 or whatever number of days, and for production set it to zero.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform