Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Possible to reference a field in a non-current record?
Message
De
15/07/1999 23:27:58
 
 
À
15/07/1999 22:37:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00242126
Message ID:
00242139
Vues:
18
>>In the currently selected work area, is it possible to reference fields in a record that is not the currently selected record?

>You may open the same table twice (USE mytable AGAIN ALIAS mytable1) move pointers to different records and compare.

That's what I thought you were gonna say. The other obvious way is to use an array and then achieve the desired result with subscript arithmetic.

It seems kind of weird that one can only reference the current record in the current work area (though I can understand the underlying disk file management issues that are being avoided by only allowing references to the active record within any one work area).

Still, I had to ask. I wanted to be sure there wasn't some mechanism I missed before doing it in a more complicated way.
"The Iron Fish: The water is cold...but the fish don't mind"
...Jay Jenks, boyhood chum
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform