Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the best way to do it
Message
 
 
To
17/10/2004 10:28:17
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00952070
Message ID:
00952093
Views:
12
You should open all tables shared in your form's DE or in Load method (if you want to do it in code). Never write select 1, select 2, etc., always use SELECT 0.

Your main form should have private datasession. If you invoke child forms from your main form, they should use default DS, this way they would share same DE as the "main" form. If all forms are indepemdant, all of them should use private DS.

>hi all,
>
>i useto free tables at my project,
>i put all tables i use at the mean form as (at procedure activate)
>i need to use those tables at (add form1,modify form2,delet form3.......)
>i get sometimes errors(alias not found, file must open exclu) when i move from form to another....
>/remark:-more one user can useit
>
>under//object myform      procedure    activate//
>select 1
>use mstr
>select 2
>use trans1
>select 3
>use book1
>
>select 4
>use book2
>select 5
>use temp
>*zap
>delete all
>
>
>thanks.
>
>m.qasem
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform