Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is Index Ascending or Descending ?
Message
De
07/02/2003 18:54:43
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
 
À
07/02/2003 18:09:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00750853
Message ID:
00750870
Vues:
12
>I have a requirement to tell whether the current controlling index tag has been set ASCENDING or DESCENDING. Is there anything in VFP that will return this status?

Be aware that ASCENDING/DESCENDING involves one of MS's most "favorite" bugs ...

Why favorite ? Because they haven't bothered to fix it since FPW 2.5 ! (at least).

If you open a table in multiple work areas and use the same ORDER for each work area and in the last SET ORDER TO xxx DESCENDING, then ALL work areas will revert to DESCENDING. If you then SET ORDER TO xxx ASCENDING, then ALL work areas will now revert to ASCENDING !

And if I remember correctly, this even applies ACROSS "private" data sessions.

I think I've even traced some "Illegal Offset" problems to this scenario.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform