Results 1 to 4 of 4
  1. #1
    Lpitt56 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Mar 2011
    Posts
    3

    Make Table Query

    I have a shared MS Access database that uses a "Make Table" query to create a temporary table so I can then run a cumulative total in another query. Everything works great with one exception, if the query that runs the cumulative total is left open by one user (in the process of viewing the data, printing, etc.) and another user tried to run this feature they get a Macro error (the queries are executed using a macro).



    I'm guessing it's because the "Make Table" query is trying to clear and remake a table that is bound to another open query, because it clears up as soon as the other user exits the query.

    My question is this.. is there a way to replace the Marco error call-back with a message stating something like "Table is currently open, try again later"? Something so the user does not think the program has a permanent glitch?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    I'd go a different direction. It sounds like the application is not split, and it almost certainly should be:

    http://www.granite.ab.ca/access/splitapp/index.htm

    In a split application, the make table would be happening in the front end, so each user would have his own.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Lpitt56 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Mar 2011
    Posts
    3

    Thanks!

    Thanks! Make sense and you are exactly right! I need to convert the program to a front-end / back-end approach.

    Lpp

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    Happy to help! I think you'll be happier in the long run.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 1
    Last Post: 07-30-2010, 10:28 AM
  2. make-table query
    By 3PS in forum Access
    Replies: 2
    Last Post: 06-28-2010, 12:54 PM
  3. Make table query
    By Zahed in forum Queries
    Replies: 1
    Last Post: 11-06-2009, 05:44 AM
  4. Replies: 2
    Last Post: 10-27-2009, 07:09 AM
  5. Make a table query
    By Fiona in forum Access
    Replies: 4
    Last Post: 06-25-2009, 11:24 AM

Tags for this Thread

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