Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check if table is in use
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00917113
Message ID:
00917186
Views:
14
So what... Even if there are 1.000 aliases that point to the customer.dbf, the command USE CUSTOMER would not cause an error.

>Evelyn,
>In addition to Jens' reply keep in mind that the customer.dbf table could be open with a different alias.
>
>Einar
>>
>>if not used('customer.dbf')
>>      use customer
>>endif
>>
>>
>>i have the above code in my program. when i do this, i get error file is in use in line use customer.
>>
>>but shouldn't the condition, check if the table is in use? if it is, it should do the use customer.
>>
>>pls advise. TIA.
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform