Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use more than one tables in a form
Message
From
05/07/2006 09:38:27
 
 
To
03/07/2006 21:45:52
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
OS:
Windows XP
Database:
Informix
Miscellaneous
Thread ID:
01133509
Message ID:
01133803
Views:
11
Don't forget to close any tables in the form's unload or destroy if you manually opened them...
IF USED('mytable')
   USE IN mytable
ENDIF
Or if you don't know what tables may have been opened then either always open the table with a specific alias (e.g. table1...table20 and then loop through the names to see if they are used when you close the form) or store the open table's name in a form property in which case you will have to close it before the form's release is finished or the property will no longer exist when you try to close the form. Does the form use a private data environment?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform