That did the trick thanks.
 
Thanks,
Matthew D. Brock


From: Dan Goldberg <[email protected]>
To: RBASE-L Mailing List <[email protected]> 
Sent: Friday, February 28, 2014 11:48 AM
Subject: [RBASE-L] - Re: Enter/Edit - Read only or not
 


Building off of Karen’s email you can do read only at the field level as 
well. So if you want only certain fields to be editable.
 
On after start eep
 
IF RBTI_Form_Mode= 'edit' 
THEN
   PROPERTY <Component ID> READONLY 'TRUE'
ENDIF
 
You can give all the fields the same component id or use wild cards to 
assign multiple fields the readonly.
 
Dan Goldberg
 
From: Karen Tellef 
Sent: Friday, February 28, 2014 9:33 AM
To: RBASE-L Mailing List 
Subject: [RBASE-L] - Re: Enter/Edit - Read only or 
not
The .RBTI_Form_Mode  variable will tell you 
whether the form was brought up in "enter" or "edit" mode.

What I do is 
to make the entire table read-only, rather than individual fields:

IF RBTI_Form_Mode= 'edit' THEN
   
PROPERTY TABLE read_only 'true'
ENDIF
 

(I'm not at my regular computer so I can't be sure that 
syntax above is correct, going out of memory)

Karen

 
 
-----Original 
Message-----
From: Matthew Brock 
<[email protected]>
To: RBASE-L Mailing List 
<[email protected]>
Sent: Fri, Feb 28, 2014 11:22 am
Subject: 
[RBASE-L] - Enter/Edit - Read only or not


I am converting an older version of Rbase to 9.5.
In 
the old version of a form, you had a way of making a field only be able to be 
changed if in enter mode and when in edit mode the value could not be changed. 
Is 
there a simple way to do this in 9.5 or do you have to read the form property 
type ie(edit/enter/browse) and then set the property for the control to be 
readonly or not?

 
Thanks,
Matthew D. 
Brock

Reply via email to