Results 1 to 2 of 2
  1. #1
    meet_binay is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2011
    Posts
    5

    Iif inside an update satement.

    The following update query is giving error-- "The operation must use an updatable query" while running...
    PLZ help!!

    UPDATE MEASUREMENT SET STATUS = ( IIF(
    (SELECT SUM(QNTY) FROM Measurement_Individual_Delivery WHERE Measurement_Key_FK=[@KEYS] ) < (SELECT QUANTITY FROM MEASUREMENT WHERE KEYS=[@KEYS]) , 'Pending','Delivered'))


    WHERE KEYS=[@KEYS];

  2. #2
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722

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

Similar Threads

  1. SQL inside DLookup()
    By jgelpi16 in forum Programming
    Replies: 2
    Last Post: 03-02-2011, 07:41 PM
  2. Iif inside a update satement.
    By meet_binay in forum Queries
    Replies: 0
    Last Post: 02-18-2011, 04:18 AM
  3. select statement inside values?
    By hung_ko in forum Access
    Replies: 4
    Last Post: 01-01-2011, 10:06 PM
  4. Replies: 3
    Last Post: 12-20-2010, 09:22 AM
  5. How to put a prompt message inside a text box
    By usmcgrunt in forum Forms
    Replies: 3
    Last Post: 11-05-2010, 09:55 AM

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