IT SOLUTIONS
Your full service technology partner! 
+Expand
   ► KBDesktop Data...Access & VBA   Print This     
 
Access & VBA:
MySQL Connectors and MSAccess Office 2007 Errors
 
Posted 11 years ago on 11/1/2014
Take Away:

Queries on a Microsoft Access database linked to MySQL tables failed with errors like ODBC--data out of range and the VBA code not recognizing fields from a sub-form query definition, insisting that it could not find the fields that I was referencing (Microsoft Access cannot find the field "fieldname" referred to in your expression).

KB102704

Recently I purchased a new Windows 8.1 machine and installed most of the relevant software that I had on my Windows Vista machine that I eventually plan to retire. I was pulling my hair out trying to figure out why some of the forms and queries on a Microsoft Access database linked to MySQL tables were failing with errors like ODBC--data out of range and the VBA code not recognizing fields from a sub-form query definition, insisting that it could not find the fields that I was referencing.

I searched the internet on the following phrases:

1. Microsoft Access cannot find the field "|" referred to in your expression

2. ODBC--data out of range

I had installed the latest MySQL version and ODBC connector version (mysql-connector-odbc-5.3.4-win32.msi). I could not find adequate help on this problem on the internet. Then I tried installing previous versions of the ODBC connectors. Finally after trying mysql-connector-odbc-3.51.12-win32.msi, the linked database worked properly.

mysql-connector-odbc-5.1.13-win32.msi, which is just one version up from the one that worked, also failed. The key here is that it was not the newer version of MySQL that was the problem, or even the new windows 8.1 operating system, instead it was the connector.

I hope that this helps someone else.

Also, if anyone wants to know, Paradox 9 installs without problems on Windows 8.1 (and so do newer versions of Paradox) but the problem with the Paradox Distribution Expert still exists as it did with windows 7, so it does not install properly. Why the distribution expert installed without problems on VISTA is a mystery to me, considering that VISTA and Windows 7 are very similar. If anyone has a solution to this problem I would appreciate hearing about it (lageenterprises@rogers.com)


Comments

0 Comments.
Share a thought or comment...
 
Write a Comment...
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1223A1
Enter key:
KB Post Contributed By Laura Lage:
Visit Profile

 KB Article #102704 Counter
3523
Since 11/1/2014
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site: 
www.prestwood.com


©1995-2025 Prestwood IT Solutions.   [Security & Privacy]