Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A REAL simple question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00626334
Message ID:
00626345
Vues:
10
This message has been marked as a message which has helped to the initial question of the thread.
>Can I take out the SELECT lookupbc command in the following block of commands? I think so.
>And there is no way to get rid of the USE command in the first line and have the SELECT-SQL command work, is there?
>
>
>USE \data\reference\lookupbc IN 0 SHARED
>PUBLIC ARRAY acareloc(1,2)
>SELECT alltrim(desc), id FROM lookupbc WHERE code = 4 INTO ARRAY acareloc
>SELECT lookupbc
>USE
>
If you are pathed through \data\reference then i believe you don't have to pre open the table (though I suspect that its faster if you do).

The last 2 lines can be combined to become
use in lookupbc
HTH
Caroline
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform