Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid wont display in a form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00317160
Message ID:
00317166
Vues:
13
Hi. Could you try

ThisForm.Grid.RecordSource = ["] + lcfile + ["] && name of Cusrsor

Basically, add quotes around the text.

Joe


>Hi.
>I am calling a Display Form from my main form. In my display form, I just want to display the contents of a cursor which has been created in the Main Form. This cursor has a unique name so will be different every time.
>
>In my Display Form, I have a grid whose RecorSource =' ' and RecorSourceType = 0 (Table).
>In the Init of the form, I pass the name of the Cursor and do the following:
>
>ThisForm.Grid.RecordSource = lcfile && name of Cusrsor
>
>...but nothing appears in the grid
>
>I know grids can be awkward if you change their RecordSource but is there something wrong with waht I am doing ?
>
>Regards,
>
>Gerard
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform