C
Clay Hilton
I am having difficulty with MS Access and I am not sure how to go about
getting assistance. At this point I have considered just hiring someone
locally to do this work but ultimately I just need the quickest solution so
I thought I would post to see if it was somehow easily explainable (and I
really don't know anyone who specializes in this anyway). I do not know VBA
but I think I can work with macros. Problem is - I am not very familiar
with access macros and I cannot figure a way to get this done.
I have one table (TABLE1)which has a customer list with a unique customer
number and complete address. I have another table (TABLE2) that list
territoires for the US by zip code (there is a field "territory" and each
territory contains certain zip codes). Here is what I need to do:
1. Write a query or macro that exports all of the data from TABLE1 sorted by
territory (the territory information only exists in TABLE2 currently but it
would reference the zip code field in each table to determine which
territory a customer would belong to).
2. Export the data generated for each territory to a separate excel file --
terr1.xls, terr2.xls, terr3.xls, etc. So each file would contain just the
customers for a particular territory.
If you have ideas on how to do this or a suggestion on how to get assistance
completing this taks it will be much appreciated.
thanks,
Clay
getting assistance. At this point I have considered just hiring someone
locally to do this work but ultimately I just need the quickest solution so
I thought I would post to see if it was somehow easily explainable (and I
really don't know anyone who specializes in this anyway). I do not know VBA
but I think I can work with macros. Problem is - I am not very familiar
with access macros and I cannot figure a way to get this done.
I have one table (TABLE1)which has a customer list with a unique customer
number and complete address. I have another table (TABLE2) that list
territoires for the US by zip code (there is a field "territory" and each
territory contains certain zip codes). Here is what I need to do:
1. Write a query or macro that exports all of the data from TABLE1 sorted by
territory (the territory information only exists in TABLE2 currently but it
would reference the zip code field in each table to determine which
territory a customer would belong to).
2. Export the data generated for each territory to a separate excel file --
terr1.xls, terr2.xls, terr3.xls, etc. So each file would contain just the
customers for a particular territory.
If you have ideas on how to do this or a suggestion on how to get assistance
completing this taks it will be much appreciated.
thanks,
Clay