>hi,
>Mohammed,
>yes, a field named "Nam" in the table
> ? Is it Grid1, if so use:yes
>
>
>i try both,i get error message (unknown member recordsource).
>
>thanks.
OOOPs, my mistake,
Try this:
this.ReadOnly = EVAL(thisform.Grid1.RecordSource+".Nam")=='PRIVATE'
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.