Results 1 to 2 of 2

Thread: DBGrid

  1. #1

    Thread Starter
    New Member
    Join Date
    May 1999
    Location
    Toronto,Ontario,Canada
    Posts
    14

    Post

    I written a VB application that will populate a DBGrid with a DBase database (*.dbf). My problem is after the DBGrid is populated I want to allow the user to make changes to the database through the use of the DBGrid. I was able to make changes right on the DBGrid but I discovered that the changes was not saved when I open the test.dbf database. If anyone knows how to save the changes I would really appreciate the help. Thanks a lot!!

    ------------------

  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105

    Post

    You'll need somewhere in your code, for the bound control attached to the dbgrid:

    dat.Recordset.Edit
    dat.Recordset.Update

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