Re: How do you load a list item programmatically??

From: Aleksandr Kononov <AKononov_at_pptk.energo.ru>
Date: Tue, 21 Nov 2000 07:32:22 GMT
Message-ID: <8vd8e6$tt3$1_at_nnrp1.deja.com>


You may do this by Populate_List build-in

Regards,
Aleksandr Kononov

In article <3A145E8A.B287382F_at_hsv.boeing.com>,   Richard Hollingsworth <william.hollingsworth_at_hsv.boeing.com> wrote:
> Hi:
>
> Oracle 8i, Forms 6.
>
> How do you load a list item from the DB table programmatically? I
 have
> Lulushi's book for Forms, but he does it differently. He says you
 have
> to 'hard-code' at least one value in the list, then execute...
>
> :GLOBAL.original_item := :block.field:
>
> in a "When-New-Item-Instance" trigger to do this.
>
> Problem is, that only loads the 'hard-coded' value into the list when
> you run the form. I need to load ALL the choices "from the table"
 into
> the list.
>
> Can't you do this with a 'select distinct...' SQL statement from the
> trigger?
>
> If you know how to do this, please email me the steps.
>
> Thanks much,
> Richard Hollingsworth
>
>

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Tue Nov 21 2000 - 08:32:22 CET

Original text of this message