Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tables
Message
From
28/12/2001 07:18:20
John Marrone
Bloodstock Research Inc.
Lexington, Kentucky, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Tables
Miscellaneous
Thread ID:
00598721
Message ID:
00598721
Views:
46
Hi
I have a startup prg file that I use to start my program. In this prg file I
open all my tables. I don't use a database. These are just tables. I open them
up with an alias. When I open a form and I go to address these tables in code
I get a [ File already in use error ]. Isn't everything public. Or if you open
a form you have to reopen the table again. If I do [ use mytable again alias
rac2], it seems to work. Then I close the table in the forms release method.
It seems having to open and close a table everytime you open or close a form
is a real waste of resources. I only have 5 tables in my prg. Is there anyway
to just open the files once and use them anywhere. Also if you do have to open
the file again when you open a form, when you close the form will it close
the workareas automatically. What about toolbars, will a toolbar object see
the tables I opened in my startup prg.. Going to try this now. Thanks for any
help offered.
Thanks
John Marrone
Bloodstock Research Inc
marrone@brisnet.com

To much of a good thing is a good thing!
Next
Reply
Map
View

Click here to load this message in the networking platform