Page 2 of 2 FirstFirst 12
Results 41 to 42 of 42

Thread: [RESOLVED] syntax error missing in query expression

  1. #41
    PowerPoster
    Join Date
    Jul 2006
    Location
    Maldon, Essex. UK
    Posts
    6,334

    Re: syntax error missing in query expression

    In your picture in Post #38 where did you get the & ")" from at the end of the Where clause?
    try this:
    Code:
    CN.Execute ("UPDATE Expenses SET " & _
                    "ExpDate= #" & MyDate(PickDate.Value) & "#, " & _
                    "ExpType= '" & RplS(txt(1).Text) & "', " & _
                    "ExpQuantity= " & Replace$(txt(2).Text, ",", ".") & ", " & _
                    "ExpCost= " & CCur(Mid$(txt(3).Text, 2)) & _
                    " WHERE ExpID= " & .Tag)
    there was an '&' missing in my earlier post.

  2. #42

    Thread Starter
    Enjoy the moment
    Join Date
    Feb 2011
    Location
    Barrio Del pilar madrid spain
    Posts
    5,204

    Re: syntax error missing in query expression

    finnaly !!!!
    thnk god for Doogle!!
    life saver

Page 2 of 2 FirstFirst 12

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