I chose property command over table level as I rarely want to expose all the fields for edit.
----- Original Message ----- From: "Karen Tellef" <[email protected]> To: "RBASE-L Mailing List" <[email protected]> Sent: Thursday, May 09, 2013 3:10 PM Subject: [RBASE-L] - Re: Change form from browse mode to edit Mode Here's what I do: 1. I start it up with edit: EDIT USING formname 2. In the form properties, on after start: PROPERTY TABLE po 'READONLY TRUE' 3. I locate a button on the form that says "edit mode, compid of btnEdit. The code in that button: SET VAR vECaption TEXT = NULL GETPROPERTY btnEdit CAPTION vECaption IF vECaption = 'Edit' THEN -- They are in View mode; switch to editable PROPERTY TABLE po 'READONLY FALSE' PROPERTY combo ENABLED TRUE PROPERTY btnDiscard VISIBLE TRUE PROPERTY btnEdit CAPTION 'View' PROPERTY btnEdit HINT 'Click button to switch to VIEW ONLY mode' ELSE -- They are in Edit mode; switch to view only IF rbti_dirty_flag = 1 THEN SAVEROW ENDIF PROPERTY TABLE po 'READONLY TRUE' PROPERTY combo ENABLED FALSE PROPERTY btnDiscard VISIBLE FALSE PROPERTY btnEdit CAPTION 'Edit' PROPERTY btnEdit HINT 'Click button to switch to EDIT mode' ENDIF Karen -----Original Message----- From: Dan Goldberg <[email protected]> To: RBASE-L Mailing List <[email protected]> Sent: Thu, May 9, 2013 1:30 pm Subject: [RBASE-L] - Change form from browse mode to edit Mode I am creating a form that will open using ‘browse using formname where....” I want to put a button on the form that the user will click and put in a password. If the password is correct then the form will switch to edit mode. I am drawing a blank on how to change the form from browse to edit mode. TIA Dan Goldberg

