Sorry, I always tought "while select" was faster but just did a test and it doesn't seem so.

Steeve...


-----Message d'origine-----
De : [email protected] [mailto:[EMAIL PROTECTED] De la part de densop1
Envoyé : 21 décembre 2005 04:01
À : [email protected]
Objet : Re: RE : [development-axapta] Reset position in a tablebuffer

Yes "select ct" initialises the buffer again. But it doesn't matter
if you uses "while select" or "next".

Simon 

--- In [email protected], "Steeve Gilbert"
<[EMAIL PROTECTED]> wrote:
>
> I would redo the "select ct;".  But you should be doing that
instead :
>
> While select ct {
>     info(ct.AccountNum);
> }
>
> Steeve...
>
>
> -----Message d'origine-----
> De : [email protected] [mailto:development-
[EMAIL PROTECTED] De la part de cdlmalherbe01
> Envoyé : 20 décembre 2005 06:02
> À : [email protected]
> Objet : [development-axapta] Reset position in a tablebuffer
>
> Hi all,
>
> An obvious question to the more experienced, but how does one
reset
> the cursor's position to the first record in a tablebuffer?
>
> Example
> ========
>
> CustTable ct;
>
> ;
>
> select ct;
>
> while (ct)
> {
>     info(ct.AccountNum);
>
>     next ct;
> }
>
> /*what call goes here to reset position of the cursor to the first
> record in the table buffer?*/
>
> while (ct)
> {
>     info(ct.Name);
>    
>     next ct;
> }
>
> Kind regards,
>
> Christoph
>
>
>
>
>
>
>
>

> Yahoo! Groups Links
>











Yahoo! Groups Links









SPONSORED LINKS
Computer part Programming languages Microsoft axapta
Support exchange


YAHOO! GROUPS LINKS




Reply via email to