Hi Everyone,
I need help for finding a way to fill the parameter with record in the table.

i have tried to make a button that get the data from the table, and pass that data to report run controller.
here's my code :
void clicked()
{
SrsReportRunController controller = new SrsReportRunController();
VDI_BankReceiptVoucherContract rdpContract = new VDI_BankReceiptVoucherContract();
SRSPrintDestinationSettings settings;
super();
rdpContract.parmLedgerJournalId(LedgerJournalTable.JournalNum); // the data that passed to the report run controller
controller.parmReportName(ssrsReportStr(VDI_BankReceiptVoucher, FixDesign));
controller.parmShowDialog(false);
controller.parmShowReportViewerParameters(false);
controller.parmReportContract().parmRdpContract(rdpContract);
controller.startOperation();
}
but, when i click the button, the parameter field in the print dialog is blank.
what can i do to make the data fill the parameter field in the print dialog?
thank's for helping me, i appreciate it.
*This post is locked for comments
I have the same question (0)