FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for CA-Clipper ODBC Invalid Cursor State
Posts: 38
Joined: Tue Sep 30, 2008 11:16 AM

ODBC Invalid Cursor State

Posted: Tue Sep 30, 2008 12:25 PM

I use Fw 2.1c and Mysql with myODBC connector.
I've installed new version of MyOdbc : 3.51.20 and I got the error:
[Microsoft][ODBC Driver Manager] Invalid cursor state: GetValue on field: 1, nType: 12, Len: 21.

Can someone help me ?

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

ODBC Invalid Cursor State

Posted: Wed Oct 01, 2008 10:40 PM

You mak ask at mySQL tech support forums.

Anyhow, if you google for it, you will find that it is a common error that many people has experienced.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 38
Joined: Tue Sep 30, 2008 11:16 AM

ODBC Invalid Cursor State

Posted: Fri Oct 03, 2008 08:53 AM

Tank you,
I'm going to ask MySql forum,
anyway do you know if there is the same problem using FWH ?

Regards,
Walter Zafferami

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

ODBC Invalid Cursor State

Posted: Fri Oct 03, 2008 10:01 AM

Walter,

We have never used myODBC connector so we don't know it, sorry

But to access 32 bits code from a 16 bits application is not a good idea. You should consider to port your application to 32 bits using FWH and Harbour/xHarbour. Its easy and you can have it ready in a couple of weeks or before.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 38
Joined: Tue Sep 30, 2008 11:16 AM

ODBC Invalid Cursor State

Posted: Fri Oct 03, 2008 02:21 PM

I've considered many times porting my applications on FWH , but I have a lot of dialog forms made with Microsft Apstudio and stored in DLL . There is a simple way to port them under FWH ?

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

ODBC Invalid Cursor State

Posted: Fri Oct 03, 2008 02:30 PM

Walter,

yes, of course! You just need to open your DLL from a tool like Borland Resources Workshop and save your resources as a RC file (ascii).

Then call:

FWH\DLL\RC2DLL32.bat YourRCFile

and it will create a 32 bits DLL with your resources inside it :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion