Results 1 to 2 of 2
  1. #1
    Akshay22 is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2011
    Posts
    1

    Update query size problem?

    Hi I've been tasked to run update queries in Access to populate fields for grid references. I have 3 tables of records that contain postodes and 2 empty fields called "easting" and "northing" (grid references) which are going to be populated using the update query which links to a separate database table that contains all UK postodes and their corresponding grid references. I have used the design query grid to do this but get the following error come up.

    "The query cannot be completed. Either the size of the query result is larger than the maximum size of a database (2GB), or there is not enough temporary storage space on the disk to store the query result"

    I have 8GB of RAM and 200GB free on my harddrive.

    The SQL behind the query is below.



    UPDATE [Copy Of Care_Trust_Sites] LEFT JOIN NSPDF_AUG_2010_UK_1M_FP ON [Copy Of Care_Trust_Sites].Postcode = NSPDF_AUG_2010_UK_1M_FP.PCDS, [Copy Of NHS_Trust_Sites] LEFT JOIN NSPDF_AUG_2010_UK_1M_FP AS NSPDF_AUG_2010_UK_1M_FP_1 ON [Copy Of NHS_Trust_Sites].Postcode = NSPDF_AUG_2010_UK_1M_FP_1.PCDS, [Copy Of PCT_Trust_Sites] LEFT JOIN NSPDF_AUG_2010_UK_1M_FP AS NSPDF_AUG_2010_UK_1M_FP_2 ON [Copy Of PCT_Trust_Sites].Postcode = NSPDF_AUG_2010_UK_1M_FP_2.PCDS SET [Copy Of Care_Trust_Sites].Easting = [NSPDF_AUG_2010_UK_1M_FP].[OSEAST1M], [Copy Of Care_Trust_Sites].Northing = [NSPDF_AUG_2010_UK_1M_FP].[OSNRTH1M], [Copy Of NHS_Trust_Sites].Easting = [NSPDF_AUG_2010_UK_1M_FP_1].[OSEAST1M], [Copy Of NHS_Trust_Sites].Northing = [NSPDF_AUG_2010_UK_1M_FP_1].[OSNRTH1M], [Copy Of PCT_Trust_Sites].Easting = [NSPDF_AUG_2010_UK_1M_FP_2].[OSEAST1M], [Copy Of PCT_Trust_Sites].Northing = [NSPDF_AUG_2010_UK_1M_FP_2].[OSNRTH1M];


    Can I modify this to work without falling over? I could just do it in 3 separate update queries but wanted a simply tidy solution. I'm not an advanced Access user so I'm not very good at SQL scripting.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,618
    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. Paper size problem
    By Jack Sheet in forum Reports
    Replies: 4
    Last Post: 07-15-2011, 12:12 PM
  2. Update query problem
    By pratim09 in forum Queries
    Replies: 5
    Last Post: 05-05-2011, 06:05 AM
  3. Problem with Update Query?
    By emarchant in forum Access
    Replies: 7
    Last Post: 10-08-2010, 12:51 PM
  4. Update Query problem
    By sollem1 in forum Queries
    Replies: 0
    Last Post: 11-08-2007, 10:16 AM
  5. problem with query size
    By acheo in forum Queries
    Replies: 0
    Last Post: 04-11-2007, 10:46 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