Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBA Trim Left$ Right dont work in Access 2000 obj 1

Status
Not open for further replies.

tamerlane

Technical User
May 21, 2001
2
US
Converted to Access 2000 from Access 97. VBA functions
such as Trim, Left$, Right$ ect dont work in Access but are OK in VB6. No error message given. What am I missing.

 
I sounds to me like you need to update your references. There are several posts in this and other access forums on how this is done as well as a FAQ. Do a keyword search.
 
Hi!
You may create reference to DAO library after converting DB before running it. Place reference to DAO library into position below reference to OLE Automation (pos. 4) or into pos. 3.

Aivars
 
Another little advise.

Some time when I have laziness I create new form with one textbox, write codes in the form load procedure such following:
me.textbox=trim(me.textbox)
Then I open this form and close it without saving. Now needed reference is created.

Aivars
 
MS Article reference and code so it's always fixed for users

Access General Discussion FAQ
faq181-936
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top