Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Index on descending dates as part of expression
Message
De
24/08/2001 18:30:29
 
 
À
24/08/2001 16:23:15
Spencer Redfield
Managed Healthcare Northwest, Inc.
Portland, Oregon, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00548638
Message ID:
00549051
Vues:
16
>Hi,
>
>In a similar situation I discovered that VFP 6 (SP5) gave me an error if I tried to include a date constant, {^2500,1,1}, and had to substitute the date() function, date( 2500,1,1 ). I believe this issue has been fixed in VFP 7.
>
>BTW, if your date substraction integer is within the range of the bintoc() function you might consider trying something like:
>
>... + bintoc( date(2500,1,1) - Eff_Date )


That should create a smaller index, but the additional function call may actually make it slower. Testing on the target system would be required to determine this.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform