hello, i need help here.
I have 2 Reports: Report1, Report2
in Button Click of Open Report, i want to Open the Report depending on the SalesTable Qty.
If (SalesTable.Qty = 0)
{
Show Report 1
}
elseif (SalesTableQty > 0)
{
Show Report 2
}
i need code for the controller code for this. can someone help me? thanks.
NOTE:
I already have a Controller class that gets SalesTable.SalesId to be the Parameter in my Report.
I only need the code on where to put the Condition in Opening the 2 Reports.
please help, thanks.