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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi , I am trying to set the pro

Status
Not open for further replies.

TINAK

Programmer
Mar 14, 2003
4
IN
Hi ,
I am trying to set the prompt values in impromptu from powerprompts application

The following statement in Powerprompt Script manager works fine
GetQuery().SetPromptValue("OrderCode", "1638");
Here I am hardcoding the value 1638 for the prompt OrderCode.
Data type of OrderCode is number

But when I use the statement
GetQuery().SetPromptValue("OrderCode", "App.Variables("OrderCode")");
, it returns an error

Error in Report Script on line 1.
GetQuery().SetPromptValue("OrderCode", "App.Variables("OrderCode")")
SyntaxError 1109: Expected ')' not found

Can someone help me with the correct syntax.

Thanks and regards,
Tina
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top