Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Grid RecordSource causes class definition to be
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00080583
Message ID:
00080651
Vues:
32
>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
Fil
Voir

Click here to load this message in the networking platform