Results 1 to 2 of 2
  1. #1
    autiger58 is offline Novice
    Windows 8 Access 2013
    Join Date
    Feb 2015
    Posts
    22

    Update query needs to update several blank fields


    Hi:
    Is it possible to have an update query that updates multiple fields using SQL? Here's an example: In a 30 field DB, I would like to run an update query that updates field 1 with 'A', field 4 with 'M', field 12 with '8' and field 21 with 'Z' I can do separate updates on each field using SQL but I haven't been able to string multiple updates to different fields into the same SQL update query. Does anyone have an idea?

    Thanks,

    Michael

    FYI: I do use field numbers and not field names in my database as indicated above.

  2. #2
    Micron is offline Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,369
    Are the fields in the same table? Post what you've tried to give a better idea of what you're dealing with.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Replies: 3
    Last Post: 05-27-2014, 09:31 AM
  2. Update query to change field data to blank
    By xtrareal22 in forum Queries
    Replies: 3
    Last Post: 12-11-2013, 05:17 PM
  3. Calculated fields going blank after update
    By Monterey_Manzer in forum Forms
    Replies: 3
    Last Post: 10-08-2012, 03:21 PM
  4. Replies: 2
    Last Post: 08-30-2012, 07:59 AM
  5. Cant update fields when using a query
    By JohnBoy in forum Queries
    Replies: 4
    Last Post: 06-12-2010, 01:13 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