Results 1 to 2 of 2

Thread: ADO and dbGrid

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Location
    South Africa
    Posts
    113

    ADO and dbGrid

    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
    You are living a pacifist dream, and if you dreaming it means you sleeping and you should damn well wake up!

  2. #2
    Junior Member
    Join Date
    Aug 2001
    Location
    Netherlands
    Posts
    19
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width