Retrieving data from a cursor

chuck hinkle chuckbo at hinkles.us
Wed Nov 12 22:10:08 CST 2003


Same question -- but trying to retrieve a Boolean value.

 
> 
> 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").?????
> 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.
> 



More information about the Valentina mailing list