Re: FORMS 2.3: How exeqry when enter block?

From: tina london <tinalondon_at_artemis.demon.co.uk>
Date: Wed, 28 Apr 1993 14:35:30 +0000
Message-ID: <736007730snz_at_artemis.demon.co.uk>


In article <dcox-280493093946_at_dcoxmac.nswc.navy.mil> dcox_at_relay.nswc.navy.mil writes:

>I am using SQLFORMS 2.3.30 on a CDC 995 running NOS/VE. I have
>a simple form to allow modification of a date. I want the form to
>automatically execute a query when it is called. I have tried a
>PRE-BLOCK, PRE-FORM, and PRE-FIELD trigger (#exemacro exeqry)
>and I get the error message: Macro function illegal in this context.
>Can someone tell me how to do this right, and why my macro is
>illegal? Thanks.
>
>David Cox
>dcox_at_relay.nswc.navy.mil
>

        The triggers you are using 'PRE' are navigational triggers and most functions are illegal within them.

        If this is to happen on entry to the form use key-startup

        otherwise use the key-nxtblk trigger on the previous block.

        There is a discussion about the restricted functions in the v2.0 manuals.

-- 
tina london
Received on Wed Apr 28 1993 - 16:35:30 CEST

Original text of this message