<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 08/09/2009, at 1:07 AM, Ruslan Zasukhin wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">dim res as Boolean<br><br> res = VCursor.NextRecord()<br><br>If you do not need result of func RB allows you write<br><br> call VCursor.NextRecord()</span></blockquote><br></div><div>If I understand properly, I replace:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>RS.NextRecord</div><div><br></div><div>With</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        Call vCurs.NextRecord</span>()</div><div><br></div><div>Is that correct? I don't need the result - well, I don't think I do.</div><div><br></div><div>----------------------------</div><div><br></div><div>You also said that:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>While Not vCurs.LastRecord</div><div><br></div><div>Is not correct, you are saying that:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>While vCurs.NextRecord()</div><div><br></div><div>Will return TRUE until there is no NextRecord then it will return false - is that correct? So I would redisign the loop to contain:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-style-span" style="font-family: Arial; font-size: 11px; ">Loop Until vCurs.NextRecord() = FALSE</span></div><div><br></div><div>Do I have it correct?</div><br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Cheers</div><div><br></div><div>Greg Olson-Hyde</div><div>Sydney Australia</div><div><br class="khtml-block-placeholder"></div><div><div><div>2.8 GHz Quad-Core Mac Pro</div><div>Mac OS X 10.5.8</div><div>RB 2009 r2.1 Pro</div><div>Valentina Studio Pro 4.2 trial</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></span></div></span></div></span> </div><br></body></html>