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

invalid prompt

Status
Not open for further replies.

ky101

Programmer
Sep 4, 2014
2
0
0
US
Hello Everyone,

I am getting an invalid prompt definition error for the below ...


Select box
select db0.EHR

WHERE

@Prompt('Enter values for Rpt Year Month:','A','Measure Practice\RPT_YEAR_MONTH',mono,constrained)- 3


in the prompt definition I am trying to accomplish : when input prompt is selected from list of values eg : 201403 then subtract 3 months to get 201312.
and the result for EHR will be based o 201312.

Please let me know any errors in my definition.

Thanks
 
You can't subtract a number from a string - the 'A' in your prompt says that this is a string value.

-Dell

DecisionFirst Technologies - Seven-time SAP BusinessObjects Solution Partner of the Year
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top