Missing Long Bind before write Long

General discussion forum about all databases other than SqlBase.
sliddle

Missing Long Bind before write Long

Post by sliddle » 15 Jun 2008, 16:19

We are getting the following error (ERR00001.QRP ) when inserting into a table ( Sql Server 2000 ) using Centura application. The insert statement is shown below and contains 2 long string variables :mlSECURITY_PREFTEXT, :mlSECURITY_PREFSQL
The insert problem occurs intermittently as described in the user fault log.

ErrorReport.txt
You do not have the required permissions to view the files attached to this post.

Jean-Marc Gemperle

Re: Missing Long Bind before write Long

Post by Jean-Marc Gemperle » 16 Jun 2008, 16:40

Hi,

You are using TD 5.1 SP3 right ? What is the database attribute for the column, is it TEXT?

Can you please make sure before the insert you are using a LONG STRING ( this is required for any attribute > 255) and you are calling SqlSetLongBindDatatype() to 22 Text for the bind variable used (the default long string bind is TEXT but you might have changed it).
There is an issue though with TD 5.1

Cheers
Jean-Marc

Return to “General Discussion”

Who is online

Users browsing this forum: [Ccbot] and 1 guest