Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making row readonly in a grid
Message
 
 
To
07/10/2004 03:56:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00949242
Message ID:
00949527
Views:
16
Ok, try the simple thing first:

this.colNam.readonly = upper(alltrim(MyTable.Nam))="PRIVATE"

substitute myTable with the name of your table. And remove all textboxes values assignments. Why do you do it?

>hi ,
>
>i try but still,
>
>How long is your Nam field? 50 characters.
>Add spaces at the end of "PRIVATE" to be the same length as your NAM field.
>you mean "PRIVATE"+43characters.
>
>this.ReadOnly = ALLTRIM(EVAL(thisform.Grid1.RecordSource+".Nam")) == 'PRIVATE                                          '
>
>
>i try ,mr.Borislav Borissov code, still
>
>this.ReadOnly = ALLTRIM(EVAL(thisform.Grid1.RecordSource+".Nam")) == 'PRIVATE'
>
>
>thanks.
>
>
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform