Can you do the following :

Move queryRun1 up to 8 sending 5,6,7 on the way. (Now I must go to 5)
Move queryRun2 up to 5. (You are now at 5 like you wanted to.)

Or maybe use queryRun1.reset() to put queryRun1 at the beginning and reposition your self on 5.

BTW I use this to have 2 positions in the same query();
queryRun2 = queryRun1.newObject(queryRun1.query());

Steeve...

-----Message d'origine-----
De�: Cenk Ince [mailto:[EMAIL PROTECTED]
Envoy�: 31 mai 2004 11:29
��: [EMAIL PROTECTED]
Objet�: RE: [development-axapta] Re: Query (Move back)

Let me explain my problem like this.

For ex : I have 20 records on Query. I will decide to send (on report) lines (5,6,7) after moving on all of them.(in 8. record). So After moving on 8. record i must go back to 5. record. That's the problem.

When i use :
queryRun2 = new QueryRun(queryRun1.pack());

i move on 1. record. But i want to move on 5. record.

Difficult even to tell.

Thanks in advance..



-----Original Message-----
From: bmp_thydatacenter_dk [mailto:[EMAIL PROTECTED]
Sent: Monday, May 31, 2004 6:01 PM
To: [EMAIL PROTECTED]
Subject: [development-axapta] Re: Query (Move back)

If you want to close the query object inside queryRun1 to queryRun2
simply do the following:

queryRun2 = new QueryRun(queryRun1.pack());

Best regards,
Bj�rn M�ller Pedersen
Thy Data Center Development A/S







Yahoo! Groups Links










Yahoo! Groups Links







Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to