K
kev100 via AccessMonster.com
I've set up a Macro to Import a non-Access table into an Access table.
In the TransferDatabase macro...there is a field for the source table name.
I currently have the exact name of the source table..and it works fine.
However, I'm needing to prompt the User for the name of the Source table that
is being imported.
There are several tables....any one of which the user may need to import
depending on the task at hand...and the SUFFIX of the tables' names change
often.
Table_101
Table_423
Table_Fri
Table_Tue
Table_57A
Table_NY
....etc
The SECOND part of the table name changes...the "Table_" prefix is the Same
on A ll tables...only the suffix (anything after the _ ) sets it apart.
Is it possible to use some sort of paramater input variable in the source
table field?
Something like Source: Table_[Enter Table Name Suffix:] (?)
I have tried the above syntax....but it does not work...I only used it to try
to illustrate what is needed.
Thanks very much.
In the TransferDatabase macro...there is a field for the source table name.
I currently have the exact name of the source table..and it works fine.
However, I'm needing to prompt the User for the name of the Source table that
is being imported.
There are several tables....any one of which the user may need to import
depending on the task at hand...and the SUFFIX of the tables' names change
often.
Table_101
Table_423
Table_Fri
Table_Tue
Table_57A
Table_NY
....etc
The SECOND part of the table name changes...the "Table_" prefix is the Same
on A ll tables...only the suffix (anything after the _ ) sets it apart.
Is it possible to use some sort of paramater input variable in the source
table field?
Something like Source: Table_[Enter Table Name Suffix:] (?)
I have tried the above syntax....but it does not work...I only used it to try
to illustrate what is needed.
Thanks very much.