Results 1 to 5 of 5
  1. #1
    ilham is offline Novice
    Windows 8 Access 2013 32bit
    Join Date
    Sep 2016
    Posts
    2

    open table

    Hi,
    I am in access,please anybody help me,i want to ask,
    How to simplify coding for opening to many tables in one time?


    I want to reduce waiting run time for user ..

    Please Help me
    ...Thank You

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    your question makes no sense.
    open a table with the command....
    docmd.opentable "tablename"

  3. #3
    ilham is offline Novice
    Windows 8 Access 2013 32bit
    Join Date
    Sep 2016
    Posts
    2
    sorry maybe i make it clear here,

    let says i have many table...table 1,table 2,........table20.

    how if i want to do openrecordset with this all table in same time.

    i means if i open one by one and get the data from this table one by one..and close it one by one.

    the runtime will be longer.

    Please help me..Thank You

  4. #4
    JoeM is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    You could create a Macro using the ranman256's OpenTable action to open up all the tables you want with a single click.
    Though, it seems like a rather odd request.
    What is the purpose of doing so? Is the data related?
    If so, and you want to view all the data for one person/entity, consider using a query, where you link the tables you want and return the data you want in a single object, or perhaps use Subforms to return records related to another single record.

  5. #5
    orange's Avatar
    orange is online now Moderator
    Windows 10 Access 2010 32bit
    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. Replies: 5
    Last Post: 08-29-2016, 07:16 PM
  2. Index table on Open
    By doncarp in forum Access
    Replies: 1
    Last Post: 04-15-2016, 01:51 PM
  3. Replies: 7
    Last Post: 09-15-2014, 11:55 AM
  4. Open a table in subform?
    By ZLHysong in forum Access
    Replies: 3
    Last Post: 01-09-2013, 02:42 PM
  5. open a table from msg box
    By mike02 in forum Access
    Replies: 4
    Last Post: 08-10-2012, 08:06 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