Retrieving data from a cursor
Ruslan Zasukhin
sunshine at public.kherson.ua
Thu Nov 13 11:13:08 CST 2003
on 11/13/03 5:52 AM, chuck hinkle at chuckbo at hinkles.us wrote:
> I've been retrieving data from cursors with
> MyString = MyCursor.field("abc").getstring
> No problems.
>
> Now, I want to retrieve a numeric field.
> MyNumber = MyCursor.field("amount").?????
Assume you have ulong field, then
myNumber = MyCursor.ULongField("amount").value
Or for boolean field
myNumber = MyCursor.BooleanField("amount").value
> Do I have to use Getstring and the CDbl command to convert it, is is there a
> trick that I don't see. I've gone through the RB tutorial, and I've been
> looking at pp 30-39 about the Vfield class in the RB reference, but I don't
> see the way to do it.
--
Best regards,
Ruslan Zasukhin [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com
To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------
More information about the Valentina
mailing list