I've been read about How to Create Dynamic Report (thanks to Creative1).
But now i have some other trouble (sorry about my English).
Here's the case:
1. I create a report for sales inventory, from two table Master_head an Mst_inv, heres the query
Expand|Select|Wrap|Line Numbers
- SELECT I.`TANGGAL`, I.`PLU`, I.`Q_FIRST_I`, I.`Q_REC_I`, I.`Q_RET_I`, (I.`Q_KRP_I` - I.`Q_KRM_I`) As Koreksi, I.`Q_TRS_I`, I.`Q_STK_I`, MH.`DESCP` FROM `M_MST_INV` I INNER JOIN `MASTER_HEAD` MH ON I.`KD_STORE` = MH.`KD_STORE` AND I.`PLU` = MH.`PLU` WHERE VAL(FORMAT(I.Tanggal,'YYYYMMDD')) >= & Val(Format(DTPicker1.Value, "yyyymmdd")) & AND VAL(FORMAT(I.Tanggal,'YYYYMMDD'))<= & Val(Format(DTPicker2.Value, "yyyymmdd")) Order By I.`TANGGAL`, I.`PLU`
Expand|Select|Wrap|Line Numbers
- If I.Q_FIRST_I <> I.Q_STK_I THEN
- Difference_Stock=I.Q_STK_I - I.Q_FIRST_I
- ELSE
- Difference_Stock=0
- Endif
Could Some one help me? I know it's possible if use Template table, but this two table Contains Huge records, and i think it took A long time to get the result.
I hope some one could help me ASAP, or can send me and email to dsugihatna@gmail.com