General information
Category:
Forms & Form designer
>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only