Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with Grid.Column.text.Value
Message
From
24/02/1997 10:37:08
 
 
To
24/02/1997 10:31:17
Narendra Lilaramani
Gentech Business Machines Ltd
Ahmedabad, India
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00021787
Message ID:
00021791
Views:
34
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform