I have a form with a datagrid and recordselectors that allows users to browse but not change or add the records in a lookup table. I set the datagrid's datasource property to a recordset object. DataGrid1.DataSource = rst. The recordset is ADO "Select fields from, etc."
No adodc control used.
Everything work fine except if I open the form and then immediately close it by clicking the close "x" button, I get a message titled "Microsoft Data Grid", message "The current row is not available." The form close without problem, however.
If I click on any recordselector, change record, do anything, the form closes without the message.
What do I need to do to prevent the message from displaying?