Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replacement for USE/SELE table with IF...ELSE...ENDIF
Message
From
02/10/2007 13:59:18
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01257862
Message ID:
01258015
Views:
13
>Now I've just tried this one
>
>
Use schedule in select('schedule')
>
>with 2 tables open:
>
>If SCHEDULE is not open then it's opened and selected - fine.
>However, if the other table is selected, then SCHEDULE does not get selected, the other table stays selected.
>

Even worse, if Schedule is open, you close it and reopen it, thus moving the record pointer and wasting the time to close and open the table.

If you really want a one-liner, Jay, write a function and call it.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform