Ive tried Cursor Adapters and SQL Pass-Throughs but whenever I access an empty MySQL table my cursors field size becomes 0 not allowing me to pass any data in the standard fasion. Is this a limitaion between VFP and MySQL?
Check the ODBC driver options for the connection.
Options you can change and see if works are :
1.Don't optimize column width
2.Pad CHAR to full length
If you use string connections, there is OPTION keyword but I don't know how to send option values.
Thanks.
I wasn't aware of those driver options. Im thinking it must be the 'Don't Optimize Column Width' option as that is checked in the DSN config. The DSN connection doesnt have the same problem so I'll see if I can send those options in the string connect.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.