Hi All,
Thanks in advance, I'm having some issues in generating sub report from 2 table. i have ask this question in earlier as well, but i didnt get proper answer. Please any one can explain clearly how to accomplish this task. thanks in advance again.
These are my 2 tables,-Cost, Item
COST ITEM
------------------------------- ---------------------------------------
Product_ID Name Weight Piece Product_ID Item Unite_Price Qty type
---------- ----- ------ ----- ---------- ----- ------------ --- ----
001 Chocolate 15g 120 001 choco $12 1.2 R
002 Bread 20g 80 001 milk $15 1.8 R
001 flour $10 2.5 P
002 flour $10 3.5 P
002 east $20 0.8 R
002 bag $10 2.0 R
with these table I need a report like below,
/////////////////////////////////////////////////////////////////////////////////
Product ID-001 Name - Chocolate Weight - 15g Piece - 120
----------------------------------------------------------
Product_ID Item Unite_Price Qty type
---------- ---- ----------- --- ----
001 choco $12 1.2 R -:here with like command I have take
001 milk $15 1.8 R Only "Type like 'R%' "
Product_ID Item Unite_Price Qty type
---------- ---- ----------- --- ----
001 flour $10 2.5 P -:here with like command I have take
Only "Type like 'P%' "
/////////////////////////////////////////////////////////////////////////////////
how can I accomplish this task please any one can help me in this task.
What i did is , I have taken all these as separate dataset with sub reports and try to insert into main report. but subreports are working and generating the values main report is not only generating the headings... please can any one tell me how to do this..