Results 1 to 7 of 7

Thread: [RESOLVED] Data Report Error

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2009
    Posts
    11

    Resolved [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
  •  



Click Here to Expand Forum to Full Width