General information
Category:
Coding, syntax & commands
Hi Tamar,
I set the record source just after the grid is added to the form - this is that form where I dynamically add "blocks" of controls (they are in a container). But then the record source does not change for the life of the container. After displaying the grid, focus is put onto another control outside of the grid. The user has to explicitly click "Add Row" to add a row to the grid and then at that point, I add a record to the view.
I will try adding a record to the view *before* the grid is bound to the view to see if that helps.
Albert
>
>Is it possible that the way you're adding the first row, you're actually reconstructing the RecordSource for the grid? Grids lose all their customization if you change their RecordSource.
>
>Tamar
Previous
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