Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making row readonly in a grid
Message
 
To
06/10/2004 15:47:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00949242
Message ID:
00949329
Views:
11
Mohammed,
Did You have a field named "Nam" in the table/cursor/view that is a recordsource of the Grid? What the name of the Grid is? Is it Grid1, if so use:
  this.ReadOnly = thisform.Grid1.RecordSource.Nam=='PRIVATE'
* or
  this.ReadOnly = this.RecordSource.Nam=='PRIVATE'
>hi,
>
>i get error message(object Grid1 is not found)
>
>this.ReadOnly = Grid1.RecordSource.NAm=='PRIVATE'
>
>
>what the defferent between this code abov, and properties(grid1.column1.header1.text1)
>properties read only =.t.
>thanks.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform