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 MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Undefined Function Mid in expression after I installed MySQL

Status
Not open for further replies.

malibu65k

Programmer
Sep 27, 2004
131
US
Hi all,

I installed MySQL yesterday on my laptop (Windows XP) because I had to have it for a project for my class I'm taking, and when I try to run a query in my MS Access database(2003) that uses the mid function I get an error message, "Undefined function 'Mid' in expression'. This query has always run before until yesterday after I installed MySQL.

Can anyone tell me if they have seen this before and how I can fix it?

Thanks in advance!
 
Never mind! I found the problem

In the references...

I removed...

Microsoft Visual Basic Application Extensibility 5.3

and added...

Microsoft Visual Basic 6.0 Extensibility

This worked. If I have other problems that develop from this I will post just in case anyone else has a problem with it.

 
Thanks Skip, I was just about to do that when I thought about trying the above. :)

 


Oh, yes, and check the wall plug! ;-)

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
I see this question asked all the time on this site. "My mid,left, right, instr... stopped working." It always has to do with the reference to vba. Often you will see this where it works on one machine and not another depending on the updates on the machine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top