cancel
Showing results for 
Search instead for 
Did you mean: 

using @prompt in select clause

Former Member
0 Kudos

hello,

according Designers Guide @prompt can be used in select/where clause, it works fine in 'where' but i can't force it work in 'select'.

Here's object properties:

-


select:

@Prompt('IMEI:','A','SIM\IMEI',Mono,Free,Persistent)

(nothing in where clause)

-


when I press 'test' i get Invalid definition(UNV0023) error. that's weired because this universe seems to be parsed ok on another server. my BO is XIR2.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi,

have you added any tables in the object you defined?

Regards,

Stratos

Former Member
0 Kudos

no. should I?

0 Kudos

If you want to get a valid statement when you check the syntax of your statement, you should. What kind of data source do you have there?

Regards

Stratos

Former Member
0 Kudos

i connect to oracle throw oracle client.

>If you want to get a valid statement when you check the syntax

so you mean i don't need to check syntax in this case? and even if i get syntax error i still can use this universe and this object?

Former Member
0 Kudos

i don't understand why i shoul'd add table to this object, it's just a prompt

and i use this object in other objects as subquery

0 Kudos

Exactly. I will recommend NOT to add a table there in order to avoid getting more rows than you expect due to an unwanted join.

Regards,

Stratos

PS: Just test if the object works in your reports.

Former Member
0 Kudos

well i think you're right, there's nothing bad that after universe parsing i get errors, reports work anyway.

thank you!