Link to home
Start Free TrialLog in
Avatar of kuk010998
kuk010998

asked on

DAO dbUseODBC w/ SQL Server text fields?

I try to convert a VB program to use dbUseODBC workspaces. I get the following error when reading a field which is defined as text on MS SQL Server (which would be called memo in VB terms):

Run-time error '0':

S1109: [MS][SQL Server Driver]Invalid cursor position

The type of the field in question is given correctly as dbMemo by DAO. Querying some other field properties, eg Size, produces the same error. While doing some trial and error debugging, I somehow managed to get a message like 'the requested action is not supported with the current version of the cursor library' - so I tried all combinations of OpenRecordset parameters that made sense to me, namely the locking options - to no avail.

Anybody know what´s going on ? Tips?
ASKER CERTIFIED SOLUTION
Avatar of cymbolic
cymbolic

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kuk010998
kuk010998

ASKER

You mean I have to replace code like X$=myRecordSet("MyMemoField") with getchunk calls? Care to elaborate (too lazy to go into that code today)?