Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Binding data to Grid Control
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00937635
Message ID:
00937675
Views:
18
I seem to recall that if I had an unbound grid on a form, the grid would use a table opened by the DE of the form as its RecordSource. I had to set the RecordSource of this grid to [ empty string ] in the form init so the form and the "serach results" grid would properly display nothing when the form was first opened. Once there were search results, I would then bind the grid to that results cursor. Is this similar to what you are doing?

>Hi All,
>
>I am finding some more "holes" after upgrading from VFP6 to VFP8:
>
>In a generic search routine I have the results in a cursor, which I then "bind" to a Grid with thisform.MyGrid1.RecordSource = "search_crsr".
>
>I don't recall having a problem with VFP6, but now, the Grid "does not want to be bound" to the newly created cursor, and instead, it is bound to current open table.
>
>What am I doing wrong?
>
>Thanks, J
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform