Hello, Francois
>What is the diference between VVarcharField.GetString and >VVarcharField.Value ? > >In fact, in order to call the field value, I perfer to use the same >property everywhere. >But I wonder if is the first one faster than the second. >
To get the value you MUST have a cast of proper fieldtype while GetString works with any kind of vField
e.g. dim f as vField dim vf as VVarChar dim vl as VULong dim s as string dim i as integer
f = mCursor.Field(myVarChar) s = f.getString
vf = VVarChar(f) s = f.Value
f = mCursor.Field(myVUlong) s = f.getString i = Val(s)
vl = VUlong(f) i = vl.Value s = Str(i)
Cool Runnings, Erne.
| e r | Ernesto Giannotta | n e | Musical Box - a media store
------------------------------------------------------------- The Valentina mailing list is brought to you by MacServe.net For info on lists services, see http://www.macserve.net/lists.html ©2001 Erne |