General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only