Results 1 to 4 of 4
  1. #1
    MDB is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2011
    Posts
    7

    Temporary tables

    Hi,



    Does Access VBA support temporary tables?

    So for example you can define a temporary table which is indexed and stored in memory and only accessible by the current user.

    Thanks.

    MDB

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    I set up 'temp' tables in the frontend of a split project. Temporary meaning data is input to table and retained only for the duration of a process, then purged.

    Can programmatically construct a table from scratch but why?
    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
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I do the same but create a new db for the temp tables to avoid the bloat it causes. When done I just delete the Temp db.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    In my case the tables are permanent, it is the data that is temporary. Design is not changed, just records saved and deleted. The tables are not many so don't make the file that much larger. As for the amount of code, the difference is mine doesn't have code to build db in addition to saving the manipulated data.
    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. Replies: 10
    Last Post: 07-12-2011, 11:09 PM
  2. Setting Temporary Variable
    By KEVWB in forum Access
    Replies: 1
    Last Post: 02-07-2011, 01:41 PM
  3. Replies: 1
    Last Post: 10-06-2010, 08:36 AM
  4. Replies: 3
    Last Post: 05-30-2009, 12:30 PM
  5. Joining tables two tables and another table that is not
    By DevintheDude in forum Database Design
    Replies: 0
    Last Post: 09-12-2007, 08:56 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