Information générale
Catégorie:
Codage, syntaxe et commandes
Marcia
I initially set the recordsource in the property sheet to the view.
It is a parameterized view. In the load event I set up some dummy variable for the view and open the view. I then reset the variables based on the parameters I send over from the calling program, so I only see the records which meet the criteria from the calling program.
Gaylen
>I have a grid with a view as record source. I set the recordsource in the init of the form by code.
>
>This is because the form's Init() is too late. The grid is already instantiated by the time the form's Init() fires.
>
>Why can't you set the grid's RecordSource in the property sheet?
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