Re: forms 4.5: using SYSTEM.TRIGGER_ITEM

From: Eric C. Janzen <ejanzen_at_telusplanet.net>
Date: Fri, 10 Dec 1999 15:41:44 GMT
Message-ID: <Ya944.20896$n3.407627_at_news0.telusplanet.net>


Yeah, you're right. What was I thinking?

Pete Kolton <peter.kolton_at_nspmbtinternet.com> wrote in message news:82qinf$3bb$1_at_supernews.com...
> > v_current_item_name := NAME_IN(:system.trigger_item);
> > /*
> > ** The above line will return the block.item of the current item,
> > ** so if the cursor is on :EMP.EMP_NAME, the value of
> > ** v_current_item_name will be 'EMP.EMP_NAME'
> > */
>
>
> You don't want to use NAME_IN here.
> This will copy the *contents* of the item into v_current_item_name.
>
> If the item is EMP.EMP_NAME and it contains the values 'FRED'...
>
> v_current_item_name := :system.trigger_item
> puts EMP.EMP_NAME into v_current_item_name
>
> v_current_item_name := NAME_IN(:system.trigger_item)
> puts FRED into v_current_item_name
>
>
> --
> ========================================================
> Pete Kolton
> ORACLE Systems Consultant
> All reasonable offers considered :-)
>
> Pete_at_kolton.com
> http://www.kolton.com
> ========================================================
>
>
>
Received on Fri Dec 10 1999 - 16:41:44 CET

Original text of this message