Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a command?????
Message
De
31/01/2002 13:13:37
 
 
À
31/01/2002 12:57:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00613525
Message ID:
00613540
Vues:
11
>I'm looking for a command issued in the watch window (or anywhere) that will tell me which tables are in which areas. I'm debugging a program that makes references like select a and I can't locate where a is assigned.
>

While AUSED() and the Data Session window will help you track things down, you really should change the code. Use SELECT TheAlias rather than SELECT the work area, and then it's easy to see which table your code is selecting.

Also, write as much of your code as possible so it doesn't matter which work area is current. Most of the old Xbase type commands now accept an IN clause, so you can write things like:

GO TOP IN Customer

Most of the functions accept the alias as a parameter. There are only a few places left where it matters what the current work area.

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform