Doug:  In my application of this, I was using it on a single table.  My 
forms
have many tabs, but those tabs had read-only grids, so it was only the 
first
tab of data that needed to be marked read-only.  I don't see why you 
couldn't
have multiple 'readyonly' remarks.  But yes you're right, the 'dontshow' 
commands
work on a FORM level, so it would apply to every table on that form.

Karen

 
> I was wondering too, Karen, but it made it work, that's all I know.  
> Unless there was something else that I inadvertently cleaned up while 
> rewriting it with Razzak's solution.
> My original stab at this was TABLE 'READONLYTRUE' in an OnAfterStart EEP, 
> but the table remained editable.
> Now that it's working, maybe I'll go back and take out the DONTSHOWs and 
> see what happens.
> 
> The forms in which I'm using this are one-table forms, so my next question 
> is would this work on multi-table forms?
> It seems the 'READONLYTRUE' could be applied on a table by table basis,
> but the 'DONTSHOW's are form-wide, so would that screw up the operation of 
> the editable tables in the form?
> 
> I'll test in a day or so and let you know.
> D

Reply via email to