Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2008 Server
>Dear all,
>
>Just like to ask how am I going to execute the method in a form when it is just created at run time.
>
>A form was created and a grid control is on it. The init of the form will initiate the number of columns in the grid. my request is how can i make the method say text.valid in a column to execute when the active row is in that column.
>
>Thank a lot in advance.
>
>Regards,
>Ed
Hi,
What are you trying to accomplish?
the value in the grid.recordsource = a field in a table, cursor or other data. The valid should fire before you enter / update your recordsource, the grid is basicly not for this it only shows the content of your recordsource. Data manipulation should preferably not take place in the grid. But again this is a matter of coding-style which is also debatable.
More important to anwer your question correctly is the answer to my question, what are you trying to accomplish?
Regards,
Koen
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