Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Default Value for prompts 1

Status
Not open for further replies.

Raja05

Programmer
Sep 24, 2001
1
US
Im new to BO and trying to generate a prompt where the users can enter values. IF the user wants to select all the data, he can enter "All" which shud do a "select *" but if he selects a specific value, then it retrieves that value alone. I tried to create an object in Designer like this
in the where clause
mytable.myvalue = @Prompt('Enter a Project','A',,multi,free) OR ('All' = @Variable('Enter a Project'))

But it gives me an Parse failed:invalid definition.

Any other way to solve this problem?

TIA
Raj
 
Hi.
mytable.myvalue = @Prompt('Enter a Project','A',<variable>,multi,free) this statement is enough.

This will prompt you with available list of values.

Choose a particular value(s) from the list and it will generate the report accordingly...
Now if you want to see the whole data select all from the list of values..

Further frendliness can get from VBA scripts.

Shyam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top