Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / January 2006

Tip: Looking for answers? Try searching our database.

TRIM not working in Access2003

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
AlienXS - 05 Jan 2006 11:57 GMT
Hello Everyone, I am opening and modifying an MDB made with Access2000 in
Access2003.
I noticed that the TRIM function is giving trouble, because it seems to be
not accepted as it used to be in older versions of Access.
In detail: I have a query that extracts various anagraphic data from a
table, when preparing the report using the =Trim([whatever] & " " &
[whatever2]) line it  start asking me a variable for the TRIM command and
then fills the field with the Trim command with an "#error" message.
I am on WinXP sp2 and Office2003 Sp2
I can add screengrabs of the problem if requested.
Thanks a lot in advance

Pier
~~~~~~~~~~~~~~~~~~~~
"Credo Quia Absurdum"
Tom Lake - 05 Jan 2006 13:10 GMT
> Hello Everyone, I am opening and modifying an MDB made with Access2000 in
> Access2003.
[quoted text clipped - 7 lines]
> I can add screengrabs of the problem if requested.
> Thanks a lot in advance

What's the name of the field?  If it's whatever or whatever2, you'll get
that problem.
In any case, Trim works OK here.  Send me your screenshots if you'd like.
I'll see if
I can get anything from them.

Tom Lake
Jeff Boyce - 05 Jan 2006 14:02 GMT
?Any chance your .MDB has a MISSING reference?  Open a code module, click
Tools | Reference, and see if any of the checked references are prefixed
with "MISSING".

Signature

Regards

Jeff Boyce
<Office/Access MVP>

> Hello Everyone, I am opening and modifying an MDB made with Access2000 in
> Access2003.
[quoted text clipped - 11 lines]
> ~~~~~~~~~~~~~~~~~~~~
> "Credo Quia Absurdum"
AlienXS - 05 Jan 2006 18:48 GMT
Indeed, Thanks Jeff.
I still cannot understand why a barcode reference could interrupt what
should be a "native" command in Access... but I noticed that that was the
only reference missing and once installed the ocx (even if that report didnt
have any barcode at all) made the "Trim" work as expected... bah..
Thanks again :)
Pier

-------------------------------------------

> ?Any chance your .MDB has a MISSING reference?  Open a code module, click
> Tools | Reference, and see if any of the checked references are prefixed
> with "MISSING".
Rick Brandt - 05 Jan 2006 19:00 GMT
> Indeed, Thanks Jeff.
> I still cannot understand why a barcode reference could interrupt what
> should be a "native" command in Access... but I noticed that that was
> the only reference missing and once installed the ocx (even if that
> report didnt have any barcode at all) made the "Trim" work as
> expected... bah..

ANY broken reference causes the symptoms you describe.  The functions that
crap out need not have anything to do with the reference that is broken..

Signature

I don't check the Email account attached
to this message.     Send instead to...
RBrandt    at       Hunter      dot      com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.