Results 1 to 9 of 9
  1. #1
    Abacus1234 is offline Competent Performer
    Windows Vista Access 2010 32bit
    Join Date
    Nov 2011
    Posts
    212

    Lightbulb How can I hide some append queries while they are running.


    I am running 45 append queries, one after the other, in a macro. I don't want the user to see them running but I cannot find a way of hiding them. All ideas would be welcome. Thanks.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,913
    How does user see them? Do the query objects actually open? Why are they opening? An action query can be run without first opening.
    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.

  3. #3
    Abacus1234 is offline Competent Performer
    Windows Vista Access 2010 32bit
    Join Date
    Nov 2011
    Posts
    212
    I'm using OpenQuery as a macro action.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,913
    I did a test. I do not see the query when it runs.
    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.

  5. #5
    Abacus1234 is offline Competent Performer
    Windows Vista Access 2010 32bit
    Join Date
    Nov 2011
    Posts
    212
    Thanks for your response, before running the query, I am opening a table and deleting a record. That is the action I am seeing on the screen, not the Query running.

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,913
    Then why does your original post ask about hiding 45 append actions?
    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.

  7. #7
    Abacus1234 is offline Competent Performer
    Windows Vista Access 2010 32bit
    Join Date
    Nov 2011
    Posts
    212
    My mistake, I assumed it was the queries, but when you said you did not see the query you tested, I looked again and realized it was the table I was seeing. any ideas for suppressing the table?

  8. #8
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,913
    Not if you have to manually select and delete a record.

    Otherwise, run an SQL DELETE action, same as the INSERT actions and will not be visible.

    Why not selecting and deleting from a form?
    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.

  9. #9
    Abacus1234 is offline Competent Performer
    Windows Vista Access 2010 32bit
    Join Date
    Nov 2011
    Posts
    212
    With your help, thanks, I found this way round it. I run a delete query to remove anything from the table, then an append query to append 1 record. Do this for 45 possible records. Print report documents showing this information. Delete and Append again ready for the next event.

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

Similar Threads

  1. Hide all tables and queries from everyone but me
    By nancypez in forum Security
    Replies: 1
    Last Post: 04-30-2015, 11:41 PM
  2. Replies: 4
    Last Post: 02-11-2014, 05:37 PM
  3. How to turn off prompt when running append query from code
    By GraeagleBill in forum Programming
    Replies: 5
    Last Post: 07-22-2013, 03:35 PM
  4. Running queries, VIA VB, but not running in Order
    By mike02 in forum Programming
    Replies: 6
    Last Post: 06-01-2013, 07:07 AM
  5. running append query without showing some alertes
    By afshin in forum Programming
    Replies: 2
    Last Post: 11-10-2012, 10:49 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