Bill,

That is PERFECTO!
I can use this for a lot of things.  The RBTI_Form_Mode variable was the key!

Thanks,
Dennis McGrath

________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Bill Downall
Sent: Monday, December 07, 2009 11:13 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: 7.6 Entry/Edit form

Dennis,

In your "on after start" EEP, check for how the form is being used, and use 
property commands to make whatever adjustments you need.

SWITCH (.RBTI_Form_Mode)
CASE 'EDIT'
  PROPERTY TABLE myformtable 'DISABLE_ADD_NEW_ROWS'
  BREAK
CASE 'BROWSE'
  BREAK
CASE 'ENTER'
  BREAK
ENDSW





On Mon, Dec 7, 2009 at 11:58 AM, Dennis McGrath 
<[email protected]<mailto:[email protected]>> wrote:
This is for RBWIN 7.6

I want to use the same form for data entry and editing.

I use the following syntaxes

ENTER USING formname FOR 1 ROWS
EDIT USING formName WHERE .........
The where clause resolves to 1 row.

Here is my problem.
I do not want the user to be able to add additional rows when in EDIT mode.
Is there a way to turn off the F2 key? Or, is there some other way to 
accomplish this?

Thanks,
Dennis McGrath



Reply via email to