fill null fields
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » Fill null fields with 0

Fill null fields with 0

resolvedResolved · Medium Priority · Version 2003

replyReply Fri 20 Mar 2009, 14:38Delegate Kate said...

Kate has attended:
Access Introduction course
Access Intermediate course
Access Advanced course
Access VBA course

Fill null fields with 0

How do I fill null fields with a zero in a report.

For upcoming training course dates see: Pricing & availability

replyReply Wed 8 Apr 2009, 06:30Trainer Rajeev said...

RE: Fill null fields with 0

Dear Kate

Thank you for attending Access Intermediate course!! I hope you enjoyed the course and benefited from it.

Like Forms Reports are normally created from existing Tables or Queries.

If you want to update the reports you have to amend the data in the source table or query.

Let's assume that there was a field called "Qty ordered" which was in a table called "Orders" and it had lots of blank cells (or data value). You have already created a report called "Orders Report" based on this table. You want to replace the blank cells with 0.

Please follow these steps:

Close the report

Open the Orders Table

Click anywhere on the "Qty ordered" field

Choose CTRL +H ( or Edit Replace)

In teh Find What box Type in NULL

In teh Replace with Type 0

Choose Replace All

A message will appear warning you that you cannot undo this action if you press Yes.

Press Yes.

All teh Null values will be replaced with 0.

If you open the "Orders report" you will see that the values would have been updated.

I hope this has answered your query.

If this has answered your query then I would request you to please mark the question as resolved!! If not and you have a specific question related to this then please post it as a new question and we should be able to provide you the solution for it!!

Kindest Regards


Rajeev Rawat
MOS Master Instructor 2000 and 2003
MCAS Master Instructor 2007
MCT

Tue 14 Apr 2009: Automatically marked as resolved.

 

Please browse our web site to find out more about
microsoft-access-courses and other Microsoft training courses.

Access tip:

Hiding Multiple Table columns

If you want to hide non-adjacent Access table columns. In Datasheet view, open the table that contains the columns you want to hide.

On the Format menu, click Unhide Columns.
In the Unhide Columns dialog box, clear the check box next to the name of each column you want to hide.
Click Close.

This method makes having to use the Hide Columns command repeatedly unnecessary

View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard