[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.axapta.programming

Passing multiple records to form.

Adam Tarkowski

12/20/2005 2:59:00 PM

I have a problem like this.
In one form i select some records, then i run other form and i want to pass
this records to second form so it will view only records which semefield_id
is same as semefield_id of records passed to form.

Can someone help me with this.


1 Answer

Micha³ Kupczyk

12/20/2005 8:43:00 PM

0

"Adam Tarkowski"
> In one form i select some records, then i run other form and i want to
> pass
> this records to second form so it will view only records which
> semefield_id
> is same as semefield_id of records passed to form.
>

This should give you a good start:


void openSecondForm()
{
Common common;
RecordLinkList recordLinkList = new RecordLinkList();
Args args = new Args();
;
common = YOURDATASOURCE_DS.getFirst(1);
while(common)
{
recordLinkList.ins(common);
}
args.object(recordLinkList);

// here: call form with args
}

regards
--
Michal