Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADO 2.7 truncation on fields greater than 255 in Sybase

Status
Not open for further replies.

braidj

Programmer
Joined
Oct 2, 2001
Messages
8
Location
GB
Hi,

using VB6, connecting to a 12.5.0.1 Sybase database and
Microsoft ActiveX Data Objects 2.7 Library.

When I query a sybase Text field through an ADODB.recordset
it returns empty values for that field, despite there being
data.

I am unable to insert text into that field greater than 255 char in length. If I query a varchar field greater than 255
the resultant data is truncated back to 255.

Any ideas gratefully received.

Kind Regards

Jason
 
It may be because it is scanning only the first few rows of the recordset and making a determination based on those rows. Here is more information about what I am talking about and solutions to the problem. This references Excel but this may be a similar problem.

Swi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top