Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The speed to run the form depends on ?
Message
 
To
18/01/2001 06:15:09
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00465045
Message ID:
00465062
Views:
17
>One question:
>
> if you open all table at startup, then you need to have to work with the same table in diferent forms, how do you do ?
>
>I think the idea of programaticly add container's is good :)
>
>one tip:
> try deactivate LOCKSCREEN and BITMAP


Do you mean working with a private datasession?
In that case this won't work.
I work with a public datasession and then the same table can be used in different forms. The only thing you could see as a problem then is that when the record pointer moves in one of the forms, it is moved in all the forms.
But generally when you for example are in the customer form, you can see that the customer is using for example price list 10.
when you then activate the price lists form price list 10 is the active one. I see that as a good extra thing, but not as a problem.

What can be a problem is cyclic relations.
When you set a relation from the customer table to the price list table and in the price lists form a relation from price to customer then you have a cyclic relation.
You can make a solution for this problem.
In the activate event of my forms i call a procedure to close all the relations in my basic tables.
after the procedure call i set only the relations i need in that particular form. In that case you don't have problems with cyclic relations and it is very fast
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform