Microsoft Access Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft Access Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 14th, 2004, 03:09 AM
cer00ma cer00ma is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 1 cer00ma User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Split and export table by cases

Hallo I have table tblFinalOut in MS Access. I would like split and export this table into several MS Excel files by cases (column with name MEM). MEM is number code with text format (some codes begins with zero). Example of table tblFinalOut:
----------
ID MEM MEM_Name ... ...
100 0100 Prague ... ...
200 0100 Prague ... ...
300 0200 London ... ...
400 0200 London ... ...
500 0300 Paris ... ...
600 0100 Prague ... ...

I would like split and export this table tblFinalOut into Excel files (by MEM cases) this way
file 1:
ID MEM MEM_Name ... ...
100 0100 Prague ... ...
200 0100 Prague ... ...
600 0100 Prague ... ...

file 2:
300 0200 London ... ...
400 0200 London ... ...

file 3:
500 0300 Paris ... ...

How can I do this? Table tblFinalOut is too large nad is not possible to do this manualy. Thanks

Matous
matous_cervenka@kb.cz

Reply With Quote
  #2  
Old July 15th, 2004, 09:19 AM
ineuw ineuw is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 82 ineuw User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 30 m 28 sec
Reputation Power: 5
The simplest way is to create a Parameter query which asks you for input. Next: separate queries based on each or a combination your criteria.

Depeding on the frequency of utilization, macros and from there it's VBA coding.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft Access Development > Split and export table by cases


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT