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!

A Number is required here 1

Status
Not open for further replies.

Rachel30

Programmer
Mar 1, 2005
95
0
0
GB
Hi,

I have a formula like

If({spQuoteCG;1.AssCount}) > 0 Then {spQuoteCG;1.AssCount} Else "None"

I am saying if the field in my Stored procedure is > 0 Then display the number other say None.

When I close the formula I am getting a number is required here.

Surley I have have a fromula like this I am using crystal XI.

Cheers Rachel
 
Try If {spQuoteCG;1.AssCount} > 0 Then ToText({spQuoteCG;1.AssCount}) Else "None"

Crystal doesn't like mixing numerics and text; that's probably the problem.



[yinyang] Madawc Williams (East Anglia, UK) [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top