hi steeve ,
 
thanking you in first place and i will send a vote of thank to Varden Morris for his timely answer now i hope that both of us are enriched by some little but crucial aspects that do crop up. And a vote thanks to you also for taking so much pain.Now mine report is very near to completion except one thing that i am trying to resolve but not yet successful and that one thing i will also like to share with you though i have posted it on the Axapta village.
 
Nobody knows better than you that i am tryiong to perform a report which have got attached a checkbox on whose status the record will be either printed on the report or not. but now the problem is that as soon as i select any one control all the other checkboxes are also getting selected and vice-versa. though two separate functions which are made as menu items for selecting or deselcting are performing as expected i dont' know why this is happening and trying to solve it. if you have sloution or encountered the similar problem share your views.
 
And make some girl friends so on next Valentine Day you dont' have to play the game in Night.
 
just kidding .
 
Enjoy your life . Keep smiling.
 
Byeeeeeeeeeeeeeeeeeee.

Steeve Gilbert <[EMAIL PROTECTED]> wrote:

Thank Varden for the answer.

 

Ashi,  what seems to be the problem here?  It is working has expected.  I've tried that :

 

static void Job1(Args _args){

    TmpSum tmpSum, p1, p2;

 

    ;

    tmpSum.Key = "1";

    tmpSum.insert();

    tmpSum.Key = "2";

    tmpSum.insert();

    tmpSum.Key = "3";

    tmpSum.insert();

 

    p1.setTmpData(tmpSum);

    p2.setTmpData(tmpSum);

 

    while select p1 {

 

        //info(p1.Key);

       

        while select p2 {

            info(p1.Key + "-" + p2.Key);

            //next p2;

        }

 

        //next p1;

    }

}

 

Steeve...

 

-----Message d'origine-----
De : Ashi Singh [mailto:[EMAIL PROTECTED]
Envoyé : 19 février 2005 01:37
À : Axapta-Knowledge-Village@yahoogroups.com
Objet : Re: [Axapta-Knowledge-Village] Temporary table

 

Hi Steeve,

 

Once again i am troubling you. But as a Novice to be in Axapta it is a Normal scenarion.

to be alaways in Fix.

 

friend as i told you earlier mine problem with movement of Cursor of temporary table .

I got a idea from your mail which you have posted.

 

One of your mail response in which you have asked with help of a job that why it's not showing 123123 and showing instead just 123


Then i was thinking that why i should not use the same method in my case that is

 

 query_A=new Query();
 query_A=element.args().parmObject();
 //  objSOA_Ash = element.args().parmObject();
    objSOA_Ash=element.args().caller().getclassobj();


    tmpCustTrans=element.args().caller().gettabledata();
    tmpCustTrans1.setTmpData(tmpCustTrans);
    offCustTrans.setTmpData(tmpcustTrans);


   
//tmpCustTrans1=element.args().caller().gettabledata1();
//    offCustTrans=element.args().caller().gettabledata2();
//  tmpCustTrans=hello.args().record().dataSource();

 

Share your views but outrightly the one thing that i am seeing is that during scrolling like

 

    while select tmpcusttrans index hint AccountDateIdx
    where tmpCustTrans.tmpsreDRNo      == SalesTable.SalesId
    {
        while select tmpcusttrans1 index hint AccountDateIdx
        where tmpcusttrans1.tmpRecID==tmpcusttrans.tmpRecID
        {
            print tmpcusttrans.tmpRecID;
            print tmpcusttrans1.tmpRecID;
        }
    }

 

may have some problem, enrich me with your views .

 

Loooking ahead for your views.

 


Till then bye.


Steeve Gilbert <[EMAIL PROTECTED]> wrote:

(See job below)

 

I though I would see in the infolog "1,2,3,1,2,3" but that is not he case, I see "1,2,3".  It seems like p1 and p2 use the same cursor for temporary table.  Is it possible to browse the same temporary table with different cursor?

 

Steeve…

 

static void Job1(Args _args){

    TmpSum tmpSum, p1, p2;

    ;

    tmpSum.Key = "1";

    tmpSum.insert();

    tmpSum.Key = "2";

    tmpSum.insert();

    tmpSum.Key = "3";

    tmpSum.insert();

 

    p1 = tmpSum;

    p2 = tmpSum;

 

    select p1;

    select p2;

 

    while (p1) {

        info(p1.Key);

        next p1;

    }

 

    while (p2) {

        info(p2.Key);

        next p2;

    }

 

}

 

Steeve...

 



Sharing the knowledge on Axapta.


Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term'

Sharing the knowledge on Axapta.




Sharing the knowledge on Axapta.



Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term'

Sharing the knowledge on Axapta.


Yahoo! Groups Sponsor

Get unlimited calls to

U.S./Canada



Yahoo! Groups Links

Reply via email to