Microsoft access table refresh

Microsoft access table refresh

am 06.10.2006 19:55:22 von DHuhncke

------_=_NextPart_001_01C6E970.980861FC
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Microsofts latest release of msjet40.dll (version 4.0.9025) which is
included in Windows server 2003 SP1 causes msaccess to crash when
performing a table refresh/relink to mysql tables using MyODBC 3.51.12.
This has been confirmed using a windows 2003 server without SP1
msjet40.dll (version 4.0.86180) msaccess relinks mysql tables
successfully. This is a big problem and causes us great concern,
since it appears Microsoft again is tweaking their software to force us
down the sql server path. I have put a call into Microsoft and asked
them for a work-around or fix since removing SP1 would only be a
temporary fix. I would also like to know if Mysql can tweak their ODBC
driver or find out what MS has done to cause this problem and fix it.

Here is VB that relinks Mysql tables and works using msjet40.dll
(version 4.0.86180) but fails with (version 4.0.9025)=20

Sub Link_Refresh()
Dim strUserID As String, strPassword As String, dbname As String
strUserID =3D "chronoCon"
strPassword =3D "chronoCon"
dbname =3D "CHRON20_D"
str1 =3D "DRIVER=3D{MySQL ODBC 3.51
Driver};SERVER=3Ddocr1929.doc.nd.gov;DATABASE=3D" & dbname & ";USER=3D" =
_
& strUserID & ";PASSWORD=3D" & strPassword & ";OPTION=3D35;"

=20
Dim curDb As Database
Dim tdfLinked As TableDef

' Create a reference to the linked table
Set curDb =3D CurrentDb
Set tdfLinked =3D curDb.TableDefs("Tbl_Contacts")
=20
' relink the table connection to Mysql
tdfLinked.Connect =3D str1
tdfLinked.RefreshLink

End Sub
Thank you.=20

David Huhncke
Director Information Systems
ND Dept. Of Corrections & Rehabilitation
701 328-6361
701 527-0234 (cell)=20


------_=_NextPart_001_01C6E970.980861FC--

Re: Microsoft access table refresh

am 09.10.2006 02:47:17 von Daniel Kasak

Huhncke, David M. wrote:

> Microsofts latest release of msjet40.dll (version 4.0.9025) which is
> included in Windows server 2003 SP1 causes msaccess to crash when
> performing a table refresh/relink to mysql tables using MyODBC 3.51.12.
>

That's right. See http://bugs.mysql.com/bug.php?id=9932

I can't comment on whether this is an intentional attempt by Microsoft
to break things. I certainly agree with your general sentiments, but
unfortunately this time I think the blame lies with MySQL. This bug is
over 18 months old. Whether it was originally Microsoft's fault or not,
I think 18 months is sufficient time for MySQL developers to find a way
around it. My assumption is that MS Access users are a very small
percentage of the MySQL user base, and an even smaller percentage of the
*paying* user base. Seen in this light, it's to be expected that this
problem gets little / no attention.

For the best solution, search on that bug page for 'msaccess.exe.local'.
This appears to be the cleanest 'solution' while we're waiting for
something better.

--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: dkasak@nusconsulting.com.au
website: http://www.nusconsulting.com.au

--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc@m.gmane.org