Hi
how do you add a record to a dbgrid that is tied to an ADO recordsource? I need the tables to update and then the dbgrid to update
Printable View
Hi
how do you add a record to a dbgrid that is tied to an ADO recordsource? I need the tables to update and then the dbgrid to update
I used a DBgrid for an application and set the recordset for grid in code (not using properties).
When a new record was added to table I reloaded grid (little private sub on form). I think this is the only way because the new record must be included in the recordsource grid and only way to do this is to rebuild the recordset.
Good luck.