
05-01-2004, 05:59 PM
|
 |
Senior Contributor
|
|
Join Date: Apr 2003
Location: Cartagena, Spain
Posts: 1,371
|
|
Error getting the defined size of a varchar field
|
Hi all
I am using AdoDB objects and MySQL. When I try to get the length of a field using the defined size property of the recordset object it works fine, but when the fields is a varchar, i only get the length of the largest field i have in the database
for example, i have a field that is a varchar(100), but the defined size returns me 5 if I the largest field that I have is "Hello"
Is this normal, and, there is a way to get the real defined size of the field?
Thanks
|
|