Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
>>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement