nulls and reports
Microsoft Office Training verified by visa - mastercard securecode about microsoft training company london ukadd this page to your favourites/bookmarksAdd to favourites
view a printable version of this pagePrintable version
email this page to somebodyEmail this page
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access VBA Training and help » Nulls and Reports - Access 2000

Nulls and Reports - Access 2000

The UK's most regular instructor-led training courses.
Training information: introduction access training · Microsoft access courses · VBA training UK

resolvedResolved · Low Priority · Version Standard

Nulls and Reports - Access 2000

James has attended:
Access VBA course
Access Advanced course

by - delegate James [3 posts] (2008 Feb 19 Tue, 17:07) replyReply

I have created a report based on a Crosstab query that details spendings with a supplier for each quarter of the past x years.

In the query, Year is the Row Heading, and the Quarters are the Column Headings. The Value is calculated by the expression: Sum(nz([ActualCost]),0))

The report has two group levels - SupplierName and Year - the headers for which contain the identifying field, and the footers contain controls summing over the relevant group. The detail section contains the controls for each quarter.

My problem is this: if there is no data for a particular quarter, the field in both the query and report appears blank - a null. If I add another nz() function on the value expression, the query result is populated with zeros in place of the nulls, but then when I try to preview the report I get the error message "Data type mismatch in criteria expression". Alternatively, putting a nz() function on the report's fields stops the summation controls from working, as you can't perform a calculation on a calculated field.

Can anyone tell me what I might have overlooked?

Ta

James

Access Advanced 1 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
2003/XP 2008 Aug 29 Fri Bayswater 0 FULL    
2003/XP 2008 Sep 3 Wed Southwark 6 book now £214 £230
2007 2008 Sep 24 Wed Bloomsbury 0 FULL    
2003/XP 2008 Oct 8 Wed Southwark 5 book now £219 £235
2003/XP 2008 Oct 24 Fri Bloomsbury 7 book now £190 £224
2003/XP 2008 Oct 29 Wed Bayswater 8 book now £110 £224
Full Schedule: See all 55 Access Advanced course dates.
Bookings currently available until 25th November 2009.


Related articles

· Why a Microsoft Access Course Could Change the Way You Do Business
· Tips for designing databases in Microsoft Access
· Quick Microsoft Access Course: Creating an Inventory Control Database in 8 Simple Steps
· Material covered on a Microsoft Access Course
· Access Database Optimization: First Normal Form

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

Access tip:

Design View in Relationship window

Your in the Relationship window and changes are required to be made to a Table's design.

Rather than exiting the Relationship window, if you perform a right-mouse click on the table, it opens that table up in Design view

View all Access hints and tips

Institute of IT Training - Accredited Training Provider Institute of IT Training - Accredited Training Provider Prodigy Platinum Learning Partner Microsoft Office Specialist Authorised Testing Centre

Microsoft Registered Partner
microsoft office
ms office project server

Association of Computer Trainers Valid HTML 4.01 Transitional
Valid CSS Markup

secure online payments - visa - mastercard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Training by application Main information pages See also

Access courses
DreamWeaver courses
Excel courses
MS Project courses
Outlook courses
PowerPoint courses
VBA courses
Word courses
(more...)

Public scheduled courses
On-site training
Closed company courses

Microsoft Office training
Pricing and availability
Training schedule
Training venues

Access training
Dreamweaver training
Excel training
MS Project training
PowerPoint training

London Computer Training
Computer Training London

Microsoft Access training
Microsoft Excel training
Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training

Time Management Course London

Interested in Access training? Please see the following pages:
microsoft access courses · microsoft training access course
microsoft+access+training · access courses in london

Training Information
AddThis Social Bookmark Button What's this?
Add to Del.icio.us Add to Facebook Add to Digg Add to Reddit Add to Google Add to Yahoo Add to Diigo Add to Mr. Wong Add to Linkarena Add to Power Oldie Add to Folkd Add to Jumptags Add to Upchuckr Add to Simpy Add to StumbleUpon Add to Slashdot Add to Netscape Add to Furl Add to Spurl Add to Blinklist Add to Blogmarks Add to Technorati Add to Newsvine Add to Blinkbits Add to Ma.Gnolia Add to Smarking Add to Netvouz