Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
White page
Message
 
To
14/01/2005 15:25:13
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 5
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00977337
Message ID:
00977343
Views:
34
That's because Table1 is used somewhere before:
old_alias = ALIAS()
flag_use = .f.
IF .NOT. USED("Table1")
   SELECT 0
   USE table1
   flag_use = .t.
ENDIF
....
&Your code here

IF flag_use
   USE IN table1
ENDIF

IF .NOT. EMPTY(old_alias)
   SELECT (old_alias)
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform