Results 1 to 2 of 2
  1. #1
    wmagargle is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2012
    Posts
    3

    Cant Update due to Locks but same SQL update works

    Hi All, I created a form for users to use to update a date on an order. Its a simple update, 1 field. Access complains about locks, but I can run the exact same update from SQL. Any ideas?



    UPDATE dbo_VI_PS_DOC_LIN_SHIP_DAT SET dbo_VI_PS_DOC_LIN_SHIP_DAT.TA_REQ_SHIP_DAT = [Forms]![frmMain]![NeWdAtE]
    WHERE (((dbo_VI_PS_DOC_LIN_SHIP_DAT.TKT_NO)=[Forms]![frmMain]![tktNo]) AND ((dbo_VI_PS_DOC_LIN_SHIP_DAT.LIN_TYP)<>"f"));

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Is the form RecordSource a query that joins tables? Show the sql statement.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 08-30-2012, 07:59 AM
  2. Replies: 3
    Last Post: 03-15-2012, 03:42 PM
  3. Update Query how it works
    By waqas in forum Queries
    Replies: 10
    Last Post: 09-10-2011, 11:04 AM
  4. Update Query Works Once
    By Lorlai in forum Access
    Replies: 2
    Last Post: 07-22-2011, 08:31 AM
  5. Replies: 1
    Last Post: 01-22-2011, 12:23 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
  •  
Other Forums: Microsoft Office Forums