Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Feb 2004
    Location
    Burgas, Bulgaria
    Posts
    209
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Update query (Access 2000)

    i get the Error syntax error,missing operator with the followig update query:
    Dim strsql As String
    If Me!ChkSubOrder = True Then
    strsql = "UPDATE orders SET Suborder = True WHERE orderid = & Me!orderid "
    CurrentDb.Execute strsql
    End If
    I sending also the attachment.Could yo help me ?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Update query (Access 2000)

    strsql = "UPDATE orders SET Suborder = True WHERE orderid = " & Me!orderid

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •