Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table exclusive in dataenvironment
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00546926
Message ID:
00547225
Views:
12
>>Hi Larry
>>
>>Is it possible to do it in the dataenvironment ?
>>I mean in the beforeopentable.
>>
>>Thanks
>>Benoit
>
>Hi Benoit,
>You might be able to do something in the Error event of the Dataenvironment itself. However, I agree with Hilmar in that if you want to do something like this, it is best not to use the standard approach of adding tables to the DE and simply open the tables in the Load event. It is slower (up to 4x slower), but that's what your client wants.
>
>Note: The performance hit isn't noticeable unless you have a "large" number (12+) of tables to manually open. Usually you can design your forms to not need this many tables; sometimes you can't and you will notice it.


Is it better for me to build a function or a class for endeling the table and call this function in the form.load of my form that way I will have full control on it
When I was codding in clipper I used a function to do so.

Thanks Both

Ben.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform