Victor,
The Init's of the controls (including the grid) fire before the init of the form class and that is why you have the error.
One solution would be to leave the RecordSource blank in the grid and set it in the init of the form class by adding a property to the form vcx that catpures the table name for ex.
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