Results 1 to 2 of 2

Thread: how can i connect the dbgrid control to a ms access table?

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2000
    Location
    Philippines
    Posts
    49

    Question

    how can i connect the dbgrid control to a ms access table?

    thanks

  2. #2
    Fanatic Member crispin's Avatar
    Join Date
    Aug 2000
    Location
    2 clicks west of a Quirkafleeg...Cornwall, England
    Posts
    754
    If you're using the Microsoft Data Bound Grid Control (there are a few grid controls out there now) you need to do the following.

    1. Place a data control on the form as well as the grid.
    2. Set the DataSource property on the grid to the Data Control.
    3. Set the DatabaseName and RecordSource properties of the data control
    4. Right-click on the grid and select Retrieve fields...

    There are many ways to populate a grid, this is just one...
    Crispin
    VB6 ENT SP5
    VB.NET
    W2K ADV SVR SP3
    WWW.BLOCKSOFT.CO.UK

    [Microsoft Basic: 1976-2001, RIP]

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