Hello all,
1) I ran into a problem today in an mdb that has been working fine for the last week or so.
2) I am trying to run a
![]() |
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 |
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Compile Error (Access XP)
If you copied the error message literally, there is a problem with the Round function indeed, because it hasn’t been changed to proper case.
The first thing that comes to mind is a references problem, but you state explicitly that you have already checked this.
Another possibility is a name conflict with something else in your database. Things to check:
I double-checked the Access 2000 help and Round( ) is a legitimate function. The only argument it requires is a numeric expression.
My guess is that somewhere in your data there is now some “funky” data in the field [tblHRTrend]![FTE] – like a NULL value. I have recently worked through some similar problems with a custom function I had written. It “stopped working” due to changes in the underlying data that were not there when I first created the function three years ago.
I am also curious about the format of your reference to the field within the Round function. I would have thought that Access would have inserted the square brackets around both the table name and the field name with a period as the delimiter. Since this already worked, I guess it’s not an issue. But I would double-check how you are referring to that field within the query and maybe consider changing to the other type of qualifying syntax.
Just some thoughts.
Peter
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.
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.
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.
Notifications