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]> 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