Victor,
The Init's of the controls (including the grid) fire before the init of the form class and that is why you have the error.
One solution would be to leave the RecordSource blank in the grid and set it in the init of the form class by adding a property to the form vcx that catpures the table name for ex.
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