Hi, I want to add a row at a specific location. I have a table with following data
| InvID | CatID | ItemCode | BatchNo | Price | Qty | Total |
| 2 | 122 | 43 | DFR-43 | 33$ | 3 | 99$ |
| 2 | 643 | 76 | SGR-3 | 25$ | 2 | 50$ |
| 2 | 643 | 12 | KLS-E3 | 45$ | 2 | 90$ |
| 2 | 177 | 65 | EWQ-22 | 8$ | 1 | 8$ |
| 2 | 177 | 988 | FDS-32 | 11$ | 7 | 77$ |
| 2 | 177 | 45 | VFE-44 | 22$ | 4 | 88$ |
| 2 | 355 | 19 | DRG-28 | 15$ | 3 | 45$ |
| 2 | 355 | 39 | CSX-099 | 6$ | 2 | 12$ |
| 2 | 355 | 26 | XDE-134 | 13$ | 8 | 104$ |
| 2 | 355 | 87 | VVF-2002 | 56$ | 5 | 280$ |
| 2 | 355 | 59 | BNM-344 | 34$ | 2 | 68$ |
| 2 | 165 | 374 | SDE-3 | 20$ | 2 | 40$ |
I want to add a row after ending each catID for showing the sum of that Category.
likewise i want to add a row at second last postion as
Total : 509$
Total : 509$
need urgent help...
Thanks


Rameez JavedRank #3,873 · 383 reputationPosted Nov 22, 2018, 1:27 AM EST
Rameez JavedRank #3,873 · 383 reputationPosted Nov 22, 2018, 2:13 AM EST
Laxmidhar SahooRank #383 · 6.6K reputationPosted Nov 22, 2018, 2:38 AM EST
Sagar MaldeRank #2,097 · 684 reputationPosted Nov 27, 2018, 6:58 PM EST
Sanwar RanwaRank #23 · 44.7K reputationPosted Nov 22, 2018, 1:09 AM EST
Thiyagarajan ERank #2,329 · 607 reputationPosted Nov 22, 2018, 1:10 AM EST
Thiyagarajan ERank #2,329 · 607 reputationPosted Nov 22, 2018, 1:36 AM EST
Thiyagarajan ERank #2,329 · 607 reputationPosted Nov 22, 2018, 1:47 AM EST
Rameez JavedRank #3,873 · 383 reputationPosted Nov 22, 2018, 1:48 AM EST
Thiyagarajan ERank #2,329 · 607 reputationPosted Nov 22, 2018, 1:53 AM EST
Rameez JavedRank #3,873 · 383 reputationPosted Nov 22, 2018, 1:57 AM EST
Laxmidhar SahooRank #383 · 6.6K reputationPosted Nov 22, 2018, 2:06 AM EST
Laxmidhar SahooRank #383 · 6.6K reputationPosted Nov 22, 2018, 2:10 AM EST
Thiyagarajan ERank #2,329 · 607 reputationPosted Nov 22, 2018, 2:23 AM EST
Laxmidhar SahooRank #383 · 6.6K reputationPosted Nov 22, 2018, 2:27 AM EST
Laxmidhar SahooRank #383 · 6.6K reputationPosted Nov 27, 2018, 7:10 PM EST