View Single Post
 
Old June 11th, 2003, 11:10 AM
Hal Levy Hal Levy is offline
Friend of Wrox
Points: 3,489, Level: 24
Points: 3,489, Level: 24 Points: 3,489, Level: 24 Points: 3,489, Level: 24
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Central, NJ, USA.
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

ADODB.RECORDSET.Field returns an object as the result of the property. VB is smart when you say .VALUE and says "hey, lets get the object and then take that and do a .value to it)

it's like doing this:
Code:
myField = ADODB.Recordset.Field("FieldName")
myValue = myField.Value
Now, I am not sure why you would want a size property- as Name is likely to be of type String. String in itself is an object and you can use the name object and use .length on the string to find out it's length.

Hal Levy
Daddyshome, LLC