Hi All,
I have mainpage (POselect.aspx) . language VB
In that page i have a textbox (txtPOId) and command button(Button1)
When i press then button its should send the textbox value to Crystal report and open parameter.
I have crystal report (CrystalReport1 ) that display the matched records what client entered in the textbox from main page.
Now my crystal report displaying all the records. but i want to display only specific records.
One more thought
Can i filter the records from store procedure. Supply the Main page textbox value and get the result in crystal report. can i do this way? Give me example how?
Here my SP
----------------------
I have mainpage (POselect.aspx) . language VB
In that page i have a textbox (txtPOId) and command button(Button1)
When i press then button its should send the textbox value to Crystal report and open parameter.
I have crystal report (CrystalReport1 ) that display the matched records what client entered in the textbox from main page.
Now my crystal report displaying all the records. but i want to display only specific records.
One more thought
Can i filter the records from store procedure. Supply the Main page textbox value and get the result in crystal report. can i do this way? Give me example how?
Here my SP
----------------------
Code:
( @poid nvarchar (25) ) as SELECT POD.POD_POLineNbr, POI.POI_StatusCode, POI.POI_LineNbrTypeCode, POI.POI_Reference,POI.POI_ItemName, POI.POI_UnitMeasure, POD.POD_RequiredDate, POD.POD_Promisedate, POR.POR_ReceiverDate, POD.POD_RequiredQty, POR.POR_ReceiptQty, POD.POD_POUnitPrice, ( POD.POD_POUnitPrice*POR.POR_ReceiptQty) As Amt FROM POD INNER JOIN POR ON POD.POD_RequiredDate = POR.POR_RequiredDate AND POD.POD_PurchOrderID = POR.POR_PurchOrderID INNER JOIN POI ON POD.POD_POLineNbr = POI.POI_POLineNbr AND POR.POR_POLineNbr = POI.POI_POLineNbr AND POD.POD_PurchOrderID = POI.POI_PurchOrderID WHERE (POD.POD_PurchOrderID like @POID)
Comment