Results 1 to 3 of 3

Thread: ADO question

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    617

    Exclamation

    if I execute this within vb

    ls_SqlString = "Update tblName & _
    "Set Active = 'N' " & _
    "Where FirstName = 'test'"

    with ADO's .Execute

    How can one check if the update statement was actually succesful or not...?

    beside using the on error goto

    thanks

  2. #2
    Guest
    Just to be sure:

    Code:
    ls_SqlString = "Update " & tblName & _
    "Set Active = 'N' " & _
    "Where FirstName = 'test'"
    Isn't that what raises an error?

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    617

    hm

    ?
    Sure, it should...

    We have a weird case that we're dealing with here
    where statement fails and with appearance of success
    (no error)

    Thanks

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