|
-
Mar 9th, 2009, 02:54 AM
#1
Thread Starter
New Member
[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
Last edited by ishee17; Mar 11th, 2009 at 10:18 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|