Hi all,
I have a report that I submit daily, it’s about 14 pages long, and I do it in excel. I have a crosstab query in my database from which I derive all the information, and then I transfer it to excel. The reason right now that I’m *stuck* with excel is because the boss doesn’t want the pages to change as groups increase/decrease in size. My group has up to 8 possible products in it, depending on the location of the product (what the report is sorted by in the first place). I want to display all products at every location, even if there is none of it at that location. Help?
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Force a form to show null values (Access 2000)
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Force a form to show null values (Access 2000)
- This topic has 17 replies, 3 voices, and was last updated 20 years ago.
AuthorTopicWSNYIntensity
AskWoody LoungerMay 14, 2005 at 1:39 am #419536Viewing 1 reply threadAuthorReplies-
WSHansV
AskWoody Lounger -
WSNYIntensity
AskWoody LoungerMay 14, 2005 at 2:11 am #947589Hans,
I hope I didn’t mislead you, as I said Force a form in the subject where I should have said force a Report. I think we may have a small misunderstanding. I haven’t been able to access my database yet (it’s on a development computer, it’s not on the net…backwards, I know), so is the Column Headers property able to be listed on a report? -
WSjohnhutchison
AskWoody Lounger -
WSNYIntensity
AskWoody LoungerMay 14, 2005 at 4:35 am #947595This is pretty complex (to me at least), maybe it’s extremely simple and I’m reading too much into it. Is there a way for me to manually design the report and refer to specific values in the crosstab? How would I refer to that value from the query? I mean, I figure my Control Source for one specific item would look something like:
=SUM([qry]![qryLocbyCo]![location] & “BUFFALO”) AND ([qry]![qryLocbyCo]![PRODUCT] & “WIDGET”) AND ([qry]![qryLocbyCo]![RSTAT] & “ME”)However I know I’m wrong…so any help would be appreciated
-
WSjohnhutchison
AskWoody Lounger -
WSjohnhutchison
AskWoody Lounger -
WSNYIntensity
AskWoody Lounger -
WSjohnhutchison
AskWoody LoungerMay 14, 2005 at 6:36 am #947602I attach another version of my example.
Penny Black has bought nothing, and I have added another product coffee. No one has bought coffee at all.
Yet both show up in the report.
Three things make this work:
* IN the query design foced teh query to show all people. Double click the join line and choose :All People”, then need to do the same with join from Peopleproducts to Products. The arrows need to run all the same way.
* Added coffee to the column headings
* Used NZ to replace nulls with zeros in the report.
-
WSNYIntensity
AskWoody Lounger -
WSHansV
AskWoody Lounger -
WSNYIntensity
AskWoody LoungerMay 14, 2005 at 10:01 am #947616Hans,
John’s query works because in his join he specifies that the query must show ALL values from one of the tables. I have one table, with all of those columns on it. I want my report to show each location on a separate page. On each page, I want every possible person listed. My query (As it stands now) has two column headers (Location, and Person), and the Row header is (Product)….hopefully that provides more insight. -
WSjohnhutchison
AskWoody LoungerMay 14, 2005 at 10:40 am #947619 -
WSHansV
AskWoody Lounger -
WSNYIntensity
AskWoody LoungerMay 14, 2005 at 12:16 pm #947630Hans, yes I misspoke. Let me try this again:
Ok, please forget my people analogy. Let me try to rephrase this. All this info is in the same table, the basis for this table is tracking people… I have 4 possible companies. I have 7 possible locations. Some of these companies have people at every location, some are only at one. Each of these companies have employees with one of the following four employee codes: (temp) (man) (perm) (sec). These codes make up my column heading, and are how I count the number of people working for each company. (I keep totals of each employee code.) What I want to do is have a report with 7 pages (one for each location). On each page, I want every company listed, even if they have no employees at that location. Right now I have a crosstab query, with location and company as row headers, and the column header of employee codes. The query will only show each location as many times as there are different companies at it. I want the query to show every location 4 times (one time for each company.), with each company next to it (even if it has values of zero, meaning nobody from that company is at that location).
-
WSHansV
AskWoody Lounger -
WSNYIntensity
AskWoody Lounger
-
-
-
-
-
WSjohnhutchison
AskWoody Lounger
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Just got this pop-up page while browsing
by
Alex5723
24 minutes ago -
KB5058379 / KB 5061768 Failures
by
crown
9 hours, 31 minutes ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
12 hours, 11 minutes ago -
At last – installation of 24H2
by
Botswana12
12 hours, 55 minutes ago -
MS-DEFCON 4: As good as it gets
by
Susan Bradley
2 hours, 32 minutes ago -
RyTuneX optimize Windows 10/11 tool
by
Alex5723
1 day, 1 hour ago -
Can I just update from Win11 22H2 to 23H2?
by
Dave Easley
18 hours, 26 minutes ago -
Limited account permission error related to Windows Update
by
gtd12345
1 day, 14 hours ago -
Another test post
by
gtd12345
1 day, 14 hours ago -
Connect to someone else computer
by
wadeer
1 day, 9 hours ago -
Limit on User names?
by
CWBillow
1 day, 12 hours ago -
Choose the right apps for traveling
by
Peter Deegan
1 day, 2 hours ago -
BitLocker rears its head
by
Susan Bradley
10 hours, 8 minutes ago -
Who are you? (2025 edition)
by
Will Fastie
9 hours, 4 minutes ago -
AskWoody at the computer museum, round two
by
Will Fastie
1 day, 4 hours ago -
A smarter, simpler Firefox address bar
by
Alex5723
2 days, 1 hour ago -
Woody
by
Scott
2 days, 10 hours ago -
24H2 has suppressed my favoured spider
by
Davidhs
9 hours, 44 minutes ago -
GeForce RTX 5060 in certain motherboards could experience blank screens
by
Alex5723
3 days ago -
MS Office 365 Home on MAC
by
MickIver
2 days, 18 hours ago -
Google’s Veo3 video generator. Before you ask: yes, everything is AI here
by
Alex5723
3 days, 14 hours ago -
Flash Drive Eject Error for Still In Use
by
J9438
9 hours, 29 minutes ago -
Windows 11 Insider Preview build 27863 released to Canary
by
joep517
4 days, 9 hours ago -
Windows 11 Insider Preview build 26120.4161 (24H2) released to BETA
by
joep517
4 days, 9 hours ago -
AI model turns to blackmail when engineers try to take it offline
by
Cybertooth
3 days, 13 hours ago -
Migrate off MS365 to Apple Products
by
dmt_3904
3 days, 14 hours ago -
Login screen icon
by
CWBillow
3 days, 4 hours ago -
AI coming to everything
by
Susan Bradley
18 hours, 57 minutes ago -
Mozilla : Pocket shuts down July 8, 2025, Fakespot shuts down on July 1, 2025
by
Alex5723
5 days, 1 hour ago -
No Screen TurnOff???
by
CWBillow
1 hour, 46 minutes ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.