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:03:33
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01257862
Message ID:
01257979
Views:
18
Yes, Sergey corrected that issue with this:
IF !USED('Schedule')
	USE Schedule IN 0
ENDIF
SELECT Schedule
>Actually Terry, then you should not select it always, for in the original code you just posted the table is only selected if it is not opened beforehand <g>
>
>
>>
>>IF !USED('Schedule')
>>	USE Schedule IN 0
>>ELSE
>>	SELECT Schedule
>>ENDIF
>>
>>
>>yes, I guess it does matter.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform