[RESOLVED] Data Report Error
hi everyone! im a vb beginner and im encountering error like this: "incorrect syntax near '10001'" on my data report everytime i execute it.
Problem: whats the correct query of my code below,'coz im trying to set my report or group it by ProdType
Set rs = con.Execute("Select ProdNo, ProdDesc, Qty, UnitPrice, TotalAmt,Prodtype, Count(') as ProdType from tbl3DRitems where DRno = '" & Combo2.Text & "' group by ProdType")
Can anyone give me some insight into what might be causing this problem?
Thanks,
ishee