Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>Use a parameterised view.
>
>When you reset the record source, gids drop all the information you see lost. Parameterised views allow you to change the underlying data without changing the recordsource.
I use parameterized views but still run into the dilemma mentioned. The reason is that the grid assumes the same structure of a view's cursor. Mine change. My grid has an array to hold column definitions and a build method to construct the grid but it still loses the original definition which has a custom textbox used for searching. This textbox is "suddenly" missing and other methods trying to reference it cannot find it. The underlying definition of the grid with the custom stuff should not go away regardless of how I change the .RecordSource or .ControlSource properties.
Steve
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