If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
Importing of TABLES TO A BLANK DATABASE
I HAVE A DATABASE FOR 35 DISTRICTS. THERE ARE MASTERS WITH SPECIFIC NAMES
WITH THE NAMES OF THE DISTRICTS AS PART OF THE NAME OF THE MASTERS. I WANT TO IMPORT OR COPY THE TABLES TO RESPECTIVE DATABASES THROUGH EITHER MACROS OR CODE. CAN ANY BODY HELP ME OUT. |
#2
|
|||
|
|||
Importing of TABLES TO A BLANK DATABASE
I think you will need to create 35 append queries (or one within a loop in
VBA that uses a variable). Each query to have criteria that looks for the district within the master name field. Criteria example (replace District with actual name): Like(*District*) Bonnie http://ww.dataplus-svc.com Bobharis wrote: I HAVE A DATABASE FOR 35 DISTRICTS. THERE ARE MASTERS WITH SPECIFIC NAMES WITH THE NAMES OF THE DISTRICTS AS PART OF THE NAME OF THE MASTERS. I WANT TO IMPORT OR COPY THE TABLES TO RESPECTIVE DATABASES THROUGH EITHER MACROS OR CODE. CAN ANY BODY HELP ME OUT. -- Message posted via AccessMonster.com http://www.accessmonster.com/Uwe/For...esign/200912/1 |
#3
|
|||
|
|||
Importing of TABLES TO A BLANK DATABASE
I'm not clear on what you are trying to do ... (and please stop SHOUTING)
From your description, I can't tell if you are considering multiple databases ("import/copy the tables to respective databases")? If so, why? What business need are you trying to meet? If you'll tell us a bit more about the problem to be solved (rather than the solution you're considering), folks here may be able to offer alternate ideas. Good luck! Regards Jeff Boyce Microsoft Access MVP -- Disclaimer: This author may have received products and services mentioned in this post. Mention and/or description of a product or service herein does not constitute endorsement thereof. Any code or pseudocode included in this post is offered "as is", with no guarantee as to suitability. You can thank the FTC of the USA for making this disclaimer possible/necessary. "Bobharis" wrote in message ... I HAVE A DATABASE FOR 35 DISTRICTS. THERE ARE MASTERS WITH SPECIFIC NAMES WITH THE NAMES OF THE DISTRICTS AS PART OF THE NAME OF THE MASTERS. I WANT TO IMPORT OR COPY THE TABLES TO RESPECTIVE DATABASES THROUGH EITHER MACROS OR CODE. CAN ANY BODY HELP ME OUT. |
#4
|
|||
|
|||
Importing of TABLES TO A BLANK DATABASE
Ditto on that Jeff. I noticed he said "DATABASES" so I assumed he wanted to
add to tables. I'm an old DBase person myself and used to call tables databases. Bonnie Jeff Boyce wrote: I'm not clear on what you are trying to do ... (and please stop SHOUTING) From your description, I can't tell if you are considering multiple databases ("import/copy the tables to respective databases")? If so, why? What business need are you trying to meet? If you'll tell us a bit more about the problem to be solved (rather than the solution you're considering), folks here may be able to offer alternate ideas. Good luck! Regards Jeff Boyce Microsoft Access MVP I HAVE A DATABASE FOR 35 DISTRICTS. THERE ARE MASTERS WITH SPECIFIC NAMES WITH THE NAMES OF THE DISTRICTS AS PART OF THE NAME OF THE MASTERS. I WANT TO IMPORT OR COPY THE TABLES TO RESPECTIVE DATABASES THROUGH EITHER MACROS OR CODE. CAN ANY BODY HELP ME OUT. -- Message posted via AccessMonster.com http://www.accessmonster.com/Uwe/For...esign/200912/1 |
Thread Tools | |
Display Modes | |
|
|