M merciless32 Registered User. Local time Today, 02:39 Joined Mar 4, 2002 Messages 48 Apr 9, 2003 #1 I am calculating field values in a report. How do I set a field to return a '0' if the value in that field is negative number?
I am calculating field values in a report. How do I set a field to return a '0' if the value in that field is negative number?
M merciless32 Registered User. Local time Today, 02:39 Joined Mar 4, 2002 Messages 48 Apr 9, 2003 #2 Never Mind.... Got it...in the Format portion I set the code to ;"0" This returns a '0' when the number is negative. Sorry to bother you guys.
Never Mind.... Got it...in the Format portion I set the code to ;"0" This returns a '0' when the number is negative. Sorry to bother you guys.
K kbreiss Registered User. Local time Today, 02:39 Joined Oct 1, 2002 Messages 228 Apr 9, 2003 #3 Just wondering where at on the Format did you set it to "0"? Thanks, Kacy ________ LovelyWendie99 Last edited: Apr 29, 2011
M merciless32 Registered User. Local time Today, 02:39 Joined Mar 4, 2002 Messages 48 Apr 10, 2003 #4 I have the following code in the control source block of the text box: =([Field1]-[Field2]) In the format block I have this code: ;\0 This places a "0" in the text box when the number is negative.
I have the following code in the control source block of the text box: =([Field1]-[Field2]) In the format block I have this code: ;\0 This places a "0" in the text box when the number is negative.