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.comTo much of a good thing is a good thing!