Results 1 to 2 of 2
  1. #1
    brunotamietto is offline Novice
    Windows 10 Access 2016
    Join Date
    Dec 2020
    Posts
    11

    Exclamation Change the table reference - Help


    Hello,

    Iīm using the Macro in Access [SELECT INTO X VALUES Y] ( Where X is a table and Y is the data).
    When I change the table X to X2 doesnīt works.

    The data in the Table X is in the row 1042.
    How can I change the table and keeping counting the data?

    When I Put the old table again works perfectly, but when I put other table , doesnīt show a error mensage, just donīt send the information to new table.

    Someone, know how change the table reference?

  2. #2
    JoeM is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Does table "X2" already exist?
    If so, what are the fields and how are they defined?
    And what does your actual query statement that is supposed to be inserting the data actually look like (can you post the real code)?

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

Similar Threads

  1. Replies: 14
    Last Post: 06-15-2020, 02:39 AM
  2. Replies: 3
    Last Post: 09-24-2019, 12:22 AM
  3. Change reports to reference a new table.
    By badmem in forum Access
    Replies: 4
    Last Post: 05-17-2016, 03:20 PM
  4. Replies: 3
    Last Post: 10-07-2013, 12:27 PM
  5. Change linked table reference automatically
    By kjuelfs in forum Access
    Replies: 1
    Last Post: 07-20-2010, 09:14 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