Re: FORMS 3.0 Query Only Mode
From: Tommy Wareing <p0070621_at_brookes.ac.uk>
Date: 2 Feb 1995 09:06:57 GMT
Message-ID: <3gq7bh$255_at_cs3.brookes.ac.uk>
Date: 2 Feb 1995 09:06:57 GMT
Message-ID: <3gq7bh$255_at_cs3.brookes.ac.uk>
In article <1995Jan31.105339.20810_at_bilpin.co.uk>, tony_at_bilpin.co.uk (Tony Desborough) says:
>Is there a quick an easy way to make a FORMS 3.0 form read-only? i.e
>the users can only do queries, but cannot insert, update or delete
>any records. Something like a command line option indicating read-only
>access would be great, and would save alot of work.
The simplest two ways are:
1. Re-write the form to prevent data-changes. Then there's no difference
between query-mode and non-query mode. 2. Start the form (from menu, or another form) using call_query, rather
than call. If necessary, you can put logic into the key-startup trigger of the relevant form to call_query itself, and then exit.
_________________________ __________________________________________ / Tommy Wareing \ / I've been looking for an original sin, \ | p0070621_at_brookes.ac.uk X One with a twist and a bit of a spin | \ 0865-483389 / \ -- Pandora's Box, Jim Steinman / ~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Received on Thu Feb 02 1995 - 10:06:57 CET