Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A REAL simple question
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00626334
Message ID:
00626345
Views:
16
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
Previous
Reply
Map
View

Click here to load this message in the networking platform