-
WSjhamilton
AskWoody LoungerSeptember 21, 2007 at 12:17 am in reply to: Sorting lost due to count function (Access 2003) #1076324Thanks for your reply. This confirms what another person told me. I guess I’ll have to rely more on the sorting and grouping capabilities in the report itself.
-
WSjhamilton
AskWoody LoungerSeptember 21, 2007 at 12:14 am in reply to: Sorting lost due to count function (Access 2003) #1076320I have a query with data sorted by address. When I create and run a report based on the query, the data sorts properly. However, if I add the Count() function or a Sum() function to the Report footer, the data no longer sorts. It prints in the table order. What gives?
A sample set of data is attached.
I’ve looked for a solution and can’t find it. Any help you can provide would be great.
-
WSjhamilton
AskWoody LoungerDecember 29, 2006 at 10:41 pm in reply to: Field validation to external table (Access 2003) #1045171Thanks very much for the explanation. I’ve really learned lots.
Jeff
-
WSjhamilton
AskWoody LoungerDecember 29, 2006 at 10:08 pm in reply to: Field validation to external table (Access 2003) #1045168I’ve been examining what you sent and have a few questions. 1) When I enter a new record using the data entry form you modifed (such as 1234 Broadway, dated 12/29/2006) it appears to work properly, but when I open the table DRB Exemptions, the street information is not stored in the table. Yet when re-open the form, the street name information displays as I entered it. How does that magic happen? 2) You stated that qryUpdate “fills in the new SitusID field in DRB Exemption Log where available”, but when I examine the query, it appears to only update the SitusID field in qryDRBExemptions. Am I missing something? 3) When I run qryMissing, I see a listing of several streets that presumably don’t appear in Street Names. Yet when I look at the Street Names table, those street names seem to be there correctly. Any idea what’s happening?
Thanks very much again.
Jeff
-
WSjhamilton
AskWoody LoungerThanks very much for taking the time to help a rookie.
Jeff
-
WSjhamilton
AskWoody LoungerThank you very much for taking the time to reply to my post. Unfortunately, I’m not experienced enough with Access to understand your proposed solution.
I linked to the Street Names table. I created a field in DRB Exemptions of the same type (Number, Float) as the IDNum field in Street Names, then I created a query linking the tables based on the common field, but the query produced no results when I tried to display all the DRB Exemptions records. Probably because the StrNum field in DRB Exemptions that I added to the table has no values in it. Do I need to populate that field in all the existing records so that there’s a valid relationship between the two tables?
I tried to create a combo box bound to the number field, but I can’t figure out how to bind it to the number field while simultaneously setting the Row Source to the Street Names table.
If this would all take too much time and trouble to explain, I understand. I’ll bug my IS staff. I was hoping this was easy enough for me to do.
Jeff
-
WSjhamilton
AskWoody LoungerYou’re revised code worked perfectly. I tested it on a larger batch of data, and everything worked. It handled nulls and data that lacked commas just fine.
Thanks again to you and to Mark for taking the time and having the patience to help me. I really appreciate it.
-
WSjhamilton
AskWoody LoungerYou’re revised code worked perfectly. I tested it on a larger batch of data, and everything worked. It handled nulls and data that lacked commas just fine.
Thanks again to you and to Mark for taking the time and having the patience to help me. I really appreciate it.
-
WSjhamilton
AskWoody LoungerUnfortunately, your code did not deal well with null values and names that had no commas. I know you advised me to use the Nz function in the query, but I don’t know what that is or how to use it.
-
WSjhamilton
AskWoody LoungerUnfortunately, your code did not deal well with null values and names that had no commas. I know you advised me to use the Nz function in the query, but I don’t know what that is or how to use it.
-
WSjhamilton
AskWoody LoungerThanks very much for your help. I’ll give your code a try.
-
WSjhamilton
AskWoody LoungerThanks very much for your help. I’ll give your code a try.
-
WSjhamilton
AskWoody LoungerThanks very much for your code example. Would all this be in one module? Is that module of VBA what is known as a user defined function?
-
WSjhamilton
AskWoody LoungerThanks very much for your code example. Would all this be in one module? Is that module of VBA what is known as a user defined function?
-
WSjhamilton
AskWoody LoungerIs such special handling something best left to an accomplished programmer (something I’m not) or are the solutions simple enough that I can understand and implement them? BTW, I have to deal with close to 40,000 records, of which a few hundred change each month. There’s no easy way to know each month which records may have these unique naming characteristics.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

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
-
Upgrade from Windows 10 to 11
by
Holdsworth8
43 minutes ago -
Microsoft : AI-powered deception: Emerging fraud threats and countermeasures
by
Alex5723
49 minutes ago -
0patch
by
WSjcgc50
9 minutes ago -
Devices might encounter blue screen exception with the recent Windows updates
by
Susan Bradley
3 hours, 7 minutes ago -
Windows 11 Insider Preview Build 22631.5261 (23H2) released to Release Preview
by
joep517
3 hours, 49 minutes ago -
Problem opening image attachments
by
RobertG
5 hours, 23 minutes ago -
advice for setting up a new windows computer
by
routtco1001
20 hours, 8 minutes ago -
It’s Identity Theft Day!
by
Susan Bradley
25 minutes ago -
Android 15 require minimum 32GB of storage
by
Alex5723
1 day ago -
Mac Mini 2018, iPhone 6s 2015 Are Now Vintage
by
Alex5723
1 day, 1 hour ago -
Hertz says hackers stole customer credit card and driver’s license data
by
Alex5723
1 day, 1 hour ago -
Firefox became sluggish
by
Rick Corbett
22 hours, 32 minutes ago -
Windows 10 Build 19045.5794 (22H2) to Release Preview Channel
by
joep517
1 day, 5 hours ago -
Windows 11 Insider Preview Build 22635.5235 (23H2) released to BETA
by
joep517
1 day, 6 hours ago -
A Funny Thing Happened on the Way to the Forum
by
bbearren
3 hours, 16 minutes ago -
Download speeds only 0.3Mbps after 24H2 upgrade on WiFi and Ethernet
by
John
15 minutes ago -
T-Mobile 5G Wireless Internet
by
WSmmi16
3 hours, 57 minutes ago -
Clock missing above calendar in Windows 10
by
WSCape Sand
5 hours, 8 minutes ago -
Formula to Calculate Q1, Q2, Q3, or Q4 of the Year?
by
WSJon5
1 day, 20 hours ago -
The time has come for AI-generated art
by
Catherine Barrett
1 day ago -
Hackers are using two-factor authentication to infect you
by
B. Livingston
1 day, 10 hours ago -
23 and you
by
Max Stul Oppenheimer
1 day, 17 hours ago -
April’s deluge of patches
by
Susan Bradley
3 hours, 4 minutes ago -
Windows 11 Windows Updater question
by
Tex265
1 hour, 13 minutes ago -
Key, Key, my kingdom for a Key!
by
RetiredGeek
3 days, 2 hours ago -
Registry Patches for Windows 10
by
Drcard:))
3 days, 7 hours ago -
Cannot get line length to NOT wrap in Outlining in Word 365
by
CWBillow
2 days, 13 hours ago -
DDU (Display Driver Uninstaller) updates
by
Alex5723
1 day, 23 hours ago -
Align objects on a OneNote page
by
CWBillow
3 days, 12 hours ago -
OneNote Send To button?
by
CWBillow
3 days, 13 hours 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.