Hello,
I am getting the above error when I run this formula:
{vw_reporting_biannualaudit.Drug Schedule}={?@Drug_Schedule}
and
if isnull({?@Drug_Schedule}) or not numerictext({?@Drug_Schedule}) then
0
else
tonumber({?@Drug_Schedule})
The last part of the formula (tonumber({?@Drug_Schedule}) gives the error.
I have set the @Drug_Schedule parameter to number.
If I set the @Drug_Schedule parameter to a string it will give me the error "A number is required here" at the top of the formula for the @Drug_Schedule so either way I get an error.
Thanks for any help,
Mike
Are there 2 formulas there or is the full formula
Open in new window
If the parameter is a number then you can't convert it to a number.
If it is a number then it can't have non-numeric text in it.
What are you trying to do with the formula? If what I put in the text box is the full formula then you will get another error because the AND wants a Boolean.
If there are 2 formulas then change the second one to
Open in new window
mlmcc