Missing record source

  • Thread starter Thread starter M.A.Halim
  • Start date Start date
M

M.A.Halim

I have a crosstab Qry that has the month numbers (1 to 12) as column
headings. this Qry is feeding a report. The report has the 12 months of the
year in the details section in text boxes . The issue here is when i Display
the sales of some branches, and those branches are newly opened so the don't
have full year history but the report still has the 12 months in the text
boxes. For Example the branch started business on June so the report gives an
error saying {can't recognise the Month number which is Jan for example
because it comes first} since the record source of Jan does not exist. how
can I overcome this issue? I want it to display the missing months as "0" or
null and show the rest of the available months in the report.

Appreciating your non stop support.
 
Sorry you mean in the query grid of the crosstab or where I can apply the
NZ() function?
Thanks
M.A. Halim

--
M.A.Halim
(e-mail address removed)


Jeff Boyce said:
One approach might be to use the Nz() function in your underlying query to
generate "0"s in place of the nulls.

--
Regards

Jeff Boyce
www.InformationFutures.net

Microsoft Office/Access MVP


Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Referrence to SubReport 6
Text Box In Report 1
Combo Box Items 2
Calculating % Change 3
Months disorder 3
Graph question 5
Display missing records? 5
Crosstab report for cross-month data 1

Back
Top