Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Index on Month
Message
De
17/08/1998 18:45:00
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
17/08/1998 07:26:49
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00127022
Message ID:
00127574
Vues:
26
>Zaraq,
>
>How about:
>
>INDEX ON ;
>IIF(MONTH = "JAN",1,;
>IIF(MONTH ="FEB",2,;
>IIF(MONTH="MAR",3,;
>IIF(MONTH="APR",4,;
>IIF(MONTH="MAY",5,;
>IIF(MONTH="JUN",6,;
>IIF(MONTH="JUL",7,;
>IIF(MONTH="AUG",8,;
>IIF(MONTH="SEP",9,;
>IIF(MONTH="OCT",10,;
>IIF(MONTH="NOV",11,;
>IIF(MONTH="DEC",12,0)))))))))))) TAG WHATEVER
>
>HTH

If we're going to use dirty tricks 'round here, how about

index on atc(LEFT(month,3), "JAN FEB MAR APR AUG MAY JUN JUL AUG SEP OCT NOV DEC") tag whatever

It won't give the exact numbers, but it will put them in sequence, and should be somewhat faster.

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