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

I run a query between two dates. Ja

Status
Not open for further replies.

DianaStewart

Programmer
Apr 16, 2002
58
CA
I run a query between two dates. Jan to Aug, but for some reason my Variable for Sept, Oct, Nov and Dec contain a value. Is there a way to indicate: if the variable is Null then assign it value 0 else variable
 
The situation is not very clear, but you can always create a formula such as:
----------------------------------------------
IF IsNull({something}) THEN 0 ELSE {something}
----------------------------------------------

Cheers,
- Ido CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top