VCursor - help please!

Greg Olson-Hyde greg at hawkmount.com
Mon Sep 7 10:55:08 CDT 2009


On 08/09/2009, at 1:07 AM, Ruslan Zasukhin wrote:

> dim res as Boolean
>
>    res = VCursor.NextRecord()
>
> If you do not need result of func RB allows you write
>
>    call VCursor.NextRecord()

If I understand properly, I replace:

	RS.NextRecord

With

	Call vCurs.NextRecord()

Is that correct? I don't need the result - well, I don't think I do.

----------------------------

You also said that:

	While Not vCurs.LastRecord

Is not correct, you are saying that:

	While vCurs.NextRecord()

Will return TRUE until there is no NextRecord then it will return  
false - is that correct? So I would redisign the loop to contain:

	Loop Until vCurs.NextRecord() = FALSE

Do I have it correct?

Cheers

Greg Olson-Hyde
Sydney Australia

2.8 GHz Quad-Core Mac Pro
Mac OS X 10.5.8
RB 2009 r2.1 Pro
Valentina Studio Pro 4.2 trial

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macserve.net/pipermail/valentina/attachments/20090908/cb41f503/attachment.html 


More information about the Valentina mailing list