cancel
Showing results for 
Search instead for 
Did you mean: 

Using @Variable

Former Member
0 Kudos

I am using BOE XI R2. I would like to reuse a @Prompt in my WHERE clause. Can you provide me with the correct syntax? Also where can I find a definition for the (UNV......) errors. Specifically I am getting "Parse Failed: Invalid definition (UNV0023)" My condition "PFFY" is the following:

DerivedTable.PFFY= @Variable(@Select(Dates\Year)-1)

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks for clarifying.

Former Member
0 Kudos

Hi,

Lets take the following sample for a prompt definition:

@Prompt('Select values','A',{'A','B','C'},mono,constrained)

If you want to reference this prompt in @Variable you have to enter your definition like this: @Variable('Select values')

In fact @Variable supports 3 different options:

<ul><li>Reuse a prompt definition: @Variable('the prompt question')

<li>Use a Designer variable such as @Variable('BOUSER') will return the user name used to connect on the repository

<li>Define a new prompt with default parameters like alphanumeric type, single selection and free mode: @Variable('This is my prompt')

</ul>

Didier

Former Member
0 Kudos

I've moved my comment to "Referencing an @Prompt with an @Variable in BOE XI 3.1 "

Edited by: Arnar Tjörvason on Jul 3, 2009 6:04 PM