Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tables
Message
De
28/12/2001 07:18:20
John Marrone
Bloodstock Research Inc.
Lexington, Kentucky, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Tables
Divers
Thread ID:
00598721
Message ID:
00598721
Vues:
48
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!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform