Results 1 to 4 of 4

Thread: hopefully easy

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2000
    Posts
    148
    Howdy:

    I have an ADO connection to an ACCESS97 db using a data control (the connection is fine)
    I am trying to attach the datasource property of a MSFlexGrid to the data control.
    I get the error:
    "No compatable data source was found for this control. Please add an intrinsic Data Control. "

    What am I missing? A Reference, a different Data Control?
    Help!


    Thanx

  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    Hey, I don't use data controls but I think ADO has a different datacontrol than DAO.

  3. #3
    Member
    Join Date
    Aug 2000
    Posts
    51
    There are some data controls that can be used with ADO and some that can be used with DAO. There are several grids that come with VB. There are 2 plain grids, one that works with ado and that works with dao. I'm not sure if the same thing applies to the flex grid.

  4. #4
    Addicted Member P.S.W.'s Avatar
    Join Date
    Aug 2000
    Posts
    146
    The grids work like this:

    DAO compatible:
    1. DBGrid
    2. MS FlexGrid

    ADO compatible:
    1. DataGrid
    2. MS HFlexGrid (Hierarchical FlexGrid)

    To solve your problem, it looks like you need to look in the components list for the MSHFlexGrid and use that instead of the regular MSFlexGrid (or you can use DAO instead of ADO).

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