I’m trying to format numbers in the data table of a chart on a report.
The query that the report query is based on points to a table with a units field.
That fields data type is number and the field size is set to Long Integer.
When I use this …Format([tblMAIN_DATA].[UNITS],”#,###”) in a query it says that the query contains a field that has an invalid data type.
I’m using a totals query and trying to sum on that field.
I want to be able to use the thousands separator on the results.
Any ideas?
Thanks,
Scott
![]() |
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 |
-
Format numbers (Access97)
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Format numbers (Access97)
- This topic has 7 replies, 3 voices, and was last updated 23 years, 1 month ago.
AuthorTopicWSready4data
AskWoody LoungerApril 10, 2002 at 6:08 pm #369430Viewing 0 reply threadsAuthorReplies-
WSThomasW
AskWoody Lounger -
WSready4data
AskWoody Lounger -
WSThomasW
AskWoody Lounger -
WSready4data
AskWoody LoungerApril 10, 2002 at 7:50 pm #581678 -
WSThomasW
AskWoody LoungerApril 10, 2002 at 8:55 pm #581692Well, I tried this by making a totals query summing on a Long Integer Number field which was formatted as #,###. I didn’t use your format statement, I merely used the Field Property box to format the number as I explained in my previous response.
Then I made a Crosstab query, based on that Totals query and formatted the summed number, again using the Field Property box. It runs without error and with the thousands seperator formatting.Have you tried not using your format expression “UNITS: Format(Sum([tblMAIN_DATA].[UNITS]),”#,###”)” at all, but just the Field Property boxes? Since it works for me, it seems worth a try … am I missing something here?
-
-
-
WScharlotte
AskWoody LoungerApril 11, 2002 at 4:20 am #581756 -
WSready4data
AskWoody LoungerApril 11, 2002 at 10:31 am #581786Charlotte,
I couldn’t find a way to format the cells in the data table of the chart. I guess since it is not an actual control
I did finally get it to work by using Format(Sum([UNITS]),”#,###”) in the crosstab query for the chart. I thought I had tried that before with no luck, but it is working now on 7 different reports.
Thanks for the help Thomas & Charlotte
Scott
-
-
-
Viewing 0 reply threads -

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
-
Where’s the cache today?
by
Up2you2
9 hours, 21 minutes ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
2 hours, 7 minutes ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
3 hours, 53 minutes ago -
Blocking Search (on task bar) from going to web
by
HenryW
10 hours, 3 minutes ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
1 day, 2 hours ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
1 day, 2 hours ago -
regarding april update and may update
by
heybengbeng
1 day, 4 hours ago -
MS Passkey
by
pmruzicka
6 hours, 8 minutes ago -
Can’t make Opera my default browser
by
bmeacham
1 day, 11 hours ago -
*Some settings are managed by your organization
by
rlowe44
22 hours, 35 minutes ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
1 day, 10 hours ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
2 days, 6 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
2 days, 15 hours ago -
AI slop
by
Susan Bradley
9 hours, 23 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
2 days, 16 hours ago -
Two blank icons
by
CR2
56 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
2 hours, 54 minutes ago -
End of 10
by
Alex5723
3 days, 4 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
2 days, 2 hours ago -
test post
by
gtd12345
3 days, 10 hours ago -
Privacy and the Real ID
by
Susan Bradley
3 days ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
1 day, 2 hours ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
3 days, 14 hours ago -
Upgrading from Win 10
by
WSjcgc50
2 days, 2 hours ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
2 days, 5 hours ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
4 days, 6 hours ago -
The story of Windows Longhorn
by
Cybertooth
3 days, 18 hours ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
4 days, 8 hours ago -
Are manuals extinct?
by
Susan Bradley
1 day, 8 hours ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
4 days, 17 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.