Results 1 to 4 of 4
  1. #1
    swedni is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Dec 2014
    Posts
    9

    Tabel query. Table name include systemdate and time.

    Hello,

    I am running Access 2013.

    I want to run a table query and table name I want is "Tabell1_ + NOW ()"
    Examples :. Tabelle1_05/05/2015 00:05:03

    Is this possible?



    //Dennis

  2. #2
    CJ_London is online now VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,931
    only in vba to create a maketable query - something like

    currentdb.execute("select myquery.* INTO [Tabell1_" & now() & "] FROM myquery")

    you will need to use square brackets because of the spaces generated

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    Select "table1" & now() as Fld from table1

  4. #4
    swedni is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Dec 2014
    Posts
    9
    Hi, Thanks for the help.

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

Similar Threads

  1. Replies: 4
    Last Post: 03-19-2015, 08:43 AM
  2. Replies: 4
    Last Post: 12-30-2013, 01:49 PM
  3. Replies: 2
    Last Post: 10-30-2013, 07:52 AM
  4. Replies: 2
    Last Post: 10-29-2013, 02:39 AM
  5. Include expressions in table
    By siedne in forum Database Design
    Replies: 2
    Last Post: 10-11-2011, 04:34 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