Re: SQL*FORMS ... how to start in query-only mode

From: <k_ahk_at_va.nkw.ac.uk>
Date: 3 Jul 92 09:56:15 GMT
Message-ID: <1992Jul3.095616.85_at_va.nkw.ac.uk>


In article <fragante.709935857_at_unixg.ubc.ca>, fragante_at_unixg.ubc.ca (Gv Fragante) writes:
> How I can invoke a form to function in query-only mode from SQL*MENU ?
>
> By default, the form is a data-enterable form, but I would like users with
> view-only privileges to look at the form as well without allowing them to
> update/delete/change.
>
> I know that this form can be invoked from a 'parent' form via CALL_QUERY(),
> but if I am invoking this form directly from SQL*MENU without a parent... how ?
> The only alternative I have is to create a dummy parent form to invoke
> the data-entry form in query-only mode. But I was wondering if there is a more
> elegant solution to this.
>
> Thanks.

Have you tried using the KEY-STARTUP trigger. This fires as you enter the form. Execute CALL_QUERY() in KEY-STARTUP to invoke QUERY MODE.

P.S. Let me know if it works.

Cheers
Az. Received on Fri Jul 03 1992 - 11:56:15 CEST

Original text of this message