+ Reply to Thread
Results 1 to 2 of 2

How can i Append to Table using table Variable name

  1. #1
    Registered User
    Join Date
    02-26-2009
    Location
    India
    MS-Off Ver
    Access
    Posts
    46

    How can i Append to Table using table Variable name

    Hello everyone,

    I want to import data on a monthly basis into tables, but I want to be able to use the same import buttons each month and pass the data into the relevant monthly table.

    My Steps - Set Reporting Month variable (which sets the Table name Variable), choose the file to import, import this data to a holding table, append the data to the relevant monthly table.

    I have this working up to the APPEND part. I have variables set up for the Table Objects, but I am having a problem using this variable in the APPEND SQL. I don't know how to do this!!!

    Any help appreciated

  2. #2
    Forum Administrator ExlGuru's Avatar
    Join Date
    03-17-2009
    Location
    India
    MS-Off Ver
    2003,2007
    Posts
    222

    Re: How can i Append to Table using table Variable name

    Champs,

    Yes we can use a variable for a table name in an append query

    Try this code

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1