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!

Returning NULL fields in a report with a query.

Status
Not open for further replies.

Eltoque

Technical User
Jan 12, 2002
21
0
0
US
I have a report that runs off a form query. The form query is working fine as well as all the componenets but when I run a report to return all record, it will not return records that have blank fields. How do I set up the query or report to make no designation between full records and records with no entries filled in (Null / Zero length) ?

Please help!!!
Thank you.
 
In the query designer try:

Enter in the Field area for a text row,
NewValue:nz(OldValue,"")

Enter in the Field area for a numeric row,
NewValue:nz(OldValue,0)

Merely replace 'NewValue' with whatever you want the query column to be labelled and 'OldValue' with the name of the field from the source table.

Steve King
Growth follows a healthy professional curiosity
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top