Re: Help! Multi-line prompts in Forms 5.0

From: Joep Hendrix <joep.hendrix_at_wxs.nl>
Date: Sat, 15 Aug 1998 09:53:15 +0200
Message-ID: <35D53E6A.3314_at_wxs.nl>


Brian Grivna wrote:
>
> I'm trying to create a prompt (attached to a single display item), the
> text of which is set dynamically to the values two different variables, one
> on each line, i.e., I'd like my prompt to look like this:
>
> "[Variable 1]
> [Variable 2]"
>
> Clearly this prompt must be set in PL/SQL code, rather than explicitly in
> the Property Palette (where one can insert text which contains a carriage
> return quite easily). But this prompt needs to be set with
> Set_Item_Property. The code I'm after will look like this:
>
> Set_Item_Property( [DI_text_field],
> PROMPT_TEXT,
> [Variable 1] || [??????] ||
> [Variable 2]);
>
> where [??????] is a command to move to the next line/carriage return. My
> question is, then, does such a command EXIST? If so, what is it? Help
> would be greatly appreciated! Thanks.
>
> Brian Grivna (brian_grivna_at_retek.com)

Brian,

I am not sure if it works but you could try to concatinate with chr(10). It definately works in sql and plsql.

Joep Hendrix Received on Sat Aug 15 1998 - 09:53:15 CEST

Original text of this message