Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Binding data to Grid Control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00937635
Message ID:
00937675
Vues:
19
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform