Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2003
    Location
    Bucharest, Romania
    Posts
    17

    Unanswered: MSFlexGrid.DataSource Problem

    I cannot bind a msflexgrid datasource to an open recordset. Grid and recordset work, I can populate the grid manually from the recordset, but when I try to bind them (set flex.datasource=rs) I get an error.

    I tried the same thing with a DataGrid - it works fine (but I like more the layout of the flexgrid :-) ).

    CAN msflexgrids be bound to recordsets ? The Help says yes, but no example I've seen contains recordsets - only data controls.

    Can anyone help ?

    Thanks

  2. #2
    Join Date
    Jul 2003
    Location
    Amsterdam, Nederland
    Posts
    450

    Question question

    Do you boud it in code or with property

    btw watch out you have the MS H Flexgrid (only works with adodb) and the MS Flexgrid (datacontrole)

  3. #3
    Join Date
    Nov 2003
    Location
    Bucharest, Romania
    Posts
    17

    Re: question

    Originally posted by Marvels
    Do you boud it in code or with property

    btw watch out you have the MS H Flexgrid (only works with adodb) and the MS Flexgrid (datacontrole)
    In code, like

    ....
    set rs = new adodb.recordset
    rs open .......
    set flex1.datasource = rs '<error occurs here>
    ....

  4. #4
    Join Date
    Feb 2002
    Posts
    2,232
    The flexgrid is not an ado control.

Posting Permissions

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