Results 1 to 3 of 3

Thread: Displaying a Recordset in True DBGrid

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 1999
    Posts
    33

    Post

    I have a form that takes user-defined criterion and returns a query in the form of an ADO Recordset. I am trying to use that recordset to fill a True DBGrid. I know the query is working, because I can get the data I want returned in the debug window or in a message box. I thought just setting the data source of the grid to the recordset would work, but it doesn't. Then I tried to loop through and fill the columns with the different fields of the recordset. That didn't work either. Because True DBGrid isn't an MS control, the online documentation for it is not very comprehensive. Can anyone give me a hand with this?

    Thanks in advance,
    Jonathan
    [e-mail][email protected][/e-mail]

  2. #2
    New Member
    Join Date
    Aug 1999
    Posts
    5

    Post

    Check your field names in the datafield properties of the columns of the grid, I believe these are case sensitive and must match exactly the case used for the field names in your queries and tables.

  3. #3

    Thread Starter
    Member
    Join Date
    Jul 1999
    Posts
    33

    Post

    Thanks for your help.

    -Jonathan

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