-
September 21st, 2006, 10:18 AM
#1
[RESOLVED] Strange Error.
I am getting a divide by zero error on this when I am calling it from VB.6 I am using Crystal 10.
If {Sales.Suggestion} = 'Lower' Then
Count ({Sales.Suggestion})
But when I just do.
Count ({Sales.Suggestion})
Then I do not get that error.
What is going on? Any ideas?
-
September 21st, 2006, 06:37 PM
#2
Re: Strange Error.
I would guess that the first formula has an implicit else that is returning 0 and that is being used elsewhere in a divide. Try changing it to
If {Sales.Suggestion} = 'Lower' Then
Count ({Sales.Suggestion})
else 1
-
September 22nd, 2006, 09:15 AM
#3
Re: Strange Error.
got it thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|