Results 1 to 3 of 3
  1. #1
    libraccess's Avatar
    libraccess is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2012
    Location
    Napier New Zealand
    Posts
    129

    Create Table SQL

    Problem :
    I have two charts that I can only get to work by running an append query to a Temporary table
    (of course this is a bad move as I delete the records each time and Compact on close)
    so it worked but is not good practice.
    So I thought I'll run the two charts in a separate database link to the tables i need and open up the DB from a button in my reports menu
    This works, (this is a distributed application) of course I have to set the path for each users machine (painful) and then until someone decides to move a folder and the path specified is then incorrect. Then it does not.

    Now I've never used a CreateTable in SQL but I'm thinking maybe this is a safe way to run the query to populate the table and not worry about the delete compact/repair problems.



    Does this sound like it is worth persuing?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,945
    Is the temporary table in the frontend?

    That is the solution I use for several processes.

    Consider UNC pathing for links to backend. Then user drive mapping is irrelevant.
    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
    libraccess's Avatar
    libraccess is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2012
    Location
    Napier New Zealand
    Posts
    129
    Yes temp table and delete, append queries are in the front end.
    UNC pathing mmmm I'll have to look into that.
    Although now after a chat here we think that only one front end (mine ) will run these charts once a month and filed as PDFs (with a few other reports) for the hoi polloi

    So sort of solved for now Thanks again

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

Similar Threads

  1. Replies: 3
    Last Post: 10-02-2012, 12:25 PM
  2. Replies: 5
    Last Post: 05-02-2012, 07:56 AM
  3. Replies: 2
    Last Post: 12-20-2011, 07:33 AM
  4. Replies: 1
    Last Post: 12-16-2011, 08:16 AM
  5. Using VBA create a new table from an existing table
    By KramerJ in forum Programming
    Replies: 0
    Last Post: 03-25-2009, 04:07 PM

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