Results 1 to 10 of 10

Thread: SQL stmt produces Error 0

Threaded View

  1. #1

    Thread Starter
    Fanatic Member holly's Avatar
    Join Date
    Aug 2002
    Location
    Somewhere on earth
    Posts
    721

    SQL stmt produces Error 0

    Hi

    I have this SQl Stmt in one of my procedure but it produces an error 0 on execute...
    Can anyone spot the obvious?

    VB Code:
    1. _strSql = " update tbl_scale_event SET " & _
    2.                " EVENT_DATETIME = '" & finalDateTime & "', " & _
    3.                " SCALE_NUMBER = '" & CInt(StrScaleNumber) & "', " & _
    4.                " EVENT_STATUS = '" & CStr(Event_Status) & "', " & _
    5.                " Operator_badge = '" & Strshift & Replace(strBadge, " '", "''") & "', " & _
    6.                " Operator_Lastname = '" & Replace(strLast_Name, "'", "''") & "' " & _
    7.                " MANUGACTURE_DATETIME = '" & (finalDateTime) & "'," & _
    8.                " WHERE " & _
    9.                " Scale_Event_ID = '" & (ObjRSprodidvalues.Fields(0).Value) & "'"
    10.                
    11.      m_Intwndprogress = 30
    12.         'if accepted display users Input/executes and initiates a scale transaction
    13.             objOcn.Execute l_strSql 'execute SQL statement

    Thanks
    Last edited by holly; Nov 20th, 2003 at 04:45 AM.
    ** HOLLY **

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