Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSFlexGrid and ADO
Message
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00412017
Message ID:
00412036
Views:
16
>is your recordset bound or unbound? coz i have often used MSFlexGrid and i've never had problems with it as far as displaying recordset is concerned (except for that refresh thing)

Not sure what you mean by bound? I have a class that creates the recordset and returns it. In the load event of a form I try to set the datasource to the rs. Here is all the code in the load:
Private oRs As ADODB.Recordset

Private Sub Form_Load()
    Dim oData As BM_Data

    Set oData = New BM_Data

    Set oRs = oData.GetRecordSet("Casting")
    Set grdBasins.DataSource = oRs  ' This is the line that gives the error.

End Sub
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform