Re: forms 4.5 help, need to populate a list

From: Dan Stern <dstern_at_ctp.com>
Date: 1997/06/23
Message-ID: <33AF0107.3011_at_ctp.com>#1/1


Steve Johnson wrote:
>
> Try:
> create_group_from_query('list_box_rg','select label, value from
> some_table';
>
> The first column selected will be the label you see and choose from the
> list box.
> The second column will be the value associated with the label.
>
> populate_group('list_box_rg');
>
> populate_list('list_name','list_box_rg');
>
> This should work.
>
> Steve
>
> Mark Rzepa wrote:
> >
> > Greetings,
> >
> > I am trying to populate a list dynamicaly from the database in Forms
> > 4.5, and I'm having trouble with the concept. If anybody could help me,
> > please send e-mail to: mrzepa_at_yorku.ca
> >
> > Thanks,
> >
> > Mark Rzepa

I did all this, made sure both columns where chars and it still didn't work. Anybody know what I am doing wrong?

I have an ugly work around with a loop and add_list_element, but I would rather use record groups and populate_list. Anybody have any ideas that might help?

thanks in advance,
dstern_at_ctp.com Received on Mon Jun 23 1997 - 00:00:00 CEST

Original text of this message