A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Importing of TABLES TO A BLANK DATABASE



 
 
Thread Tools Display Modes
  #1  
Old December 18th, 2009, 06:45 AM posted to microsoft.public.access.tablesdbdesign
Bobharis
external usenet poster
 
Posts: 3
Default 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.
Ads
  #2  
Old December 18th, 2009, 12:33 PM posted to microsoft.public.access.tablesdbdesign
bhicks11 via AccessMonster.com
external usenet poster
 
Posts: 529
Default 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  
Old December 18th, 2009, 03:59 PM posted to microsoft.public.access.tablesdbdesign
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default 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  
Old December 18th, 2009, 05:17 PM posted to microsoft.public.access.tablesdbdesign
bhicks11 via AccessMonster.com
external usenet poster
 
Posts: 529
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:19 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright 2004-2020 OfficeFrustration.
The comments are property of their posters.