Re: Field Prompts from table data in Forms 5

From: (wrong string) Úcio <maurecio_at_my-deja.com>
Date: Tue, 10 Aug 1999 17:33:45 GMT
Message-ID: <7opnpp$l8m$1_at_nnrp1.deja.com>


In WHEN-NEW-FORMS-INSTANCE you should do:

  1. retrieve the label value from database into a local variable, say c1;
  2. next you issue "set_item_property('block_name.cfield1', label, c1);" Hope it's done.

Regards,
Mauricio.

In article <37B039D8.A27DC252_at_creditwatch-inc.com>,   Brian Howard <bh_at_creditwatch-inc.com> wrote:
> I need help. I am trying to make field prompts on a form dynamic and
> pull the label from a database table. How can I do this.
>
> I have a table called 'Program_setups' which has a field called
> 'Cfield1_lbl'. The label is stored in this field. I then have a form
> called 'Clients' which has a field from the clients table called
> 'Cfield1'. When a user pulls up the 'Clients' form, I want it to use
as
> the prompt for 'Cfield1' the label stored in the 'Program_setups'
table
> in the field 'Cfield1_lbl'. I hope this is not confusing. It is
probably
> not hard to do, but I cannot get it to work. Can someone help and get
a
> step-by-step. Thanks.
>
>

--
MaurÝcio B. Falleiros <mbf_at_uniconsult.com.br>
Uniconsult Sistemas e Servišos


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Received on Tue Aug 10 1999 - 19:33:45 CEST

Original text of this message