Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with Grid.Column.text.Value
Message
De
24/02/1997 10:37:08
 
 
À
24/02/1997 10:31:17
Narendra Lilaramani
Gentech Business Machines Ltd
Ahmedabad, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00021787
Message ID:
00021791
Vues:
30
>Hi all
>I have created a Grid with recordsourcetype=Alias & given table name in record source. Grid has seven columns. Now programatically I assign controlsource to each column. For example
>thisform.grid1.column1.controlsource=aliasname.fieldname
>current control of each column is text1
>Grid is readonly & all columns are also readonly.
>Now when I append a record in the table to which grid is bound. All columns are showing data perfectly. But when I check for the text values, it shows nothing.
>(ie if column1 is showing "abcd", text1.value is not "abcd" it is blank)
>I tried this by assigning controlsource proerty of text control also but same result.
>Am I doing anything wrong??
>
>TIA

First of all, text.value will reflect field value of the current table. May be you should also issue grid.refresh. Anyway, if your grid is read-only you probably don't need to check value properties at all?. Instead of this you better check field value of the recordsource.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform