forms

hi one and all,

i am taking sales invoice header table as temperory record with name(salesinvheader),when clicking the print button it was moving to particular report

- OnPush()

CurrForm.SETSELECTIONFILTER(SalesInvHeader);

SalesInvHeader.PrintRecords(TRUE);

i am taking one report tax invoice with name(iinvoice) in the print button ,when clicking this print button it must go to the particular report,it was not possible in the report ,where it was possible in the temporary record,

where in records we have a print records function as a predefined ,where in the case of report there was no such a predefined function ,how can we get this sir,

can you suggest me please

- OnPush()

CurrForm.SETSELECTIONFILTER(tinvoice);

SalesInvHeader.PrintRecords(TRUE);

It should be

SalesInvHeader.RESET;
SalesInvHeader.SETRANGE(“No.”,“No.”);
REPORT.RUNMODAL(REPORT::“Tax Invoice”,TRUE,TRUE,SalesInvHeader);

ya mohana sir ,i got it

thanks a lot for your reply and for your valuable time

Please verify the posts