From: Bobharis on 18 Dec 2009 01:45 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.
From: bhicks11 via AccessMonster.com on 18 Dec 2009 07:33 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/Forums.aspx/access-tablesdbdesign/200912/1
From: Jeff Boyce on 18 Dec 2009 10:59 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" <Bobharis(a)discussions.microsoft.com> wrote in message news:F9515DC7-4A59-4BC0-8412-AB9D62220A5B(a)microsoft.com... >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.
From: bhicks11 via AccessMonster.com on 18 Dec 2009 12:17 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/Forums.aspx/access-tablesdbdesign/200912/1
|
Pages: 1 Prev: Looking for a template for all the websites I manage Next: a Challenge for me |