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

Multiplying Unbound Fields

Status
Not open for further replies.

yeagly21

Programmer
Dec 11, 2003
23
US
I may just be having one of those days, but I am trying to run this code in a Crystal Report to set an UnBound field = to the below statement.

WhileReadingRecords;
{@UnboundCurrency2} * {@UnboundCurrency1};

I keep getting the error message
"A number is required here"
while it is highlighting {@UnboundCurrency1}.

If anyone has any suggestions please let me know.

Thanks

Jay
 
I suggest including the code for any underlying formulas.

The problem is that {@UnboundCurrency1} isn't returning a number.

Try:

WhileReadingRecords;
{@UnboundCurrency2} * val({@UnboundCurrency1});

At any rate, nobody can tell you what is in thsi formula, nor positively identify the problem if you won't share the code that's causing the failure.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top