Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid doesn't display data
Message
De
17/06/2019 17:03:39
 
 
À
17/06/2019 12:37:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01669110
Message ID:
01669129
Vues:
56
Only dim memory, as I seldom did front end, but in Controlsource I think I had only pure field names, as record source was set in the parent container.
Probably both work, but checking is cheap...
Also I shun "With" - I sometimes create an explicit local pointer var if typing gets uglyor resolve paths get too long.

HTH

thomas

>Perhaps I've been .Net'ing too much, but I can't seem to get a Grid to display the data that it should be showing.
>
>Data exists in a cursor 'PersonClass'
>Grid sits on the 2nd page of a pageframe
>
>In the GetInfo method of the form I have:
>
>WITH thisform.pfCSO.pgEDU.grdLookup
>  .RecordSource = 'PersonClass'
>  .RecordSourceType = 1
>  .Visible = .t.
>  .ColumnCount = 3
>  .column1.header1.Caption = 'ClassName'
>  .column1.controlsource = 'PersonClass.ClassName'
>  .column1.width = 300
>  .column2.header1.Caption = 'ClassDate'
>  .column2.controlsource = 'PersonClass.ClassDate'
>  .column2.width = 100
>  .column3.header1.Caption = 'Result'
>  .column3.controlsource = 'PersonClass.ClassGrade'
>  .column3.width = 100
>ENDWITH
>
>
>So, what have I forgotten?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform