Access Help Please - re: query results

mcmba

Board Regular
Joined
Feb 17, 2002
Messages
59
Hi! I am hoping to get some guidance from the access experts.

I have a monthly data load spreadsheet that I receive and it has 6 columns.
Cat Code 1
Cat Code 2
Cat Code 3
Cat Code 4
Cat Code 5
Cat Code 6

Before I can load the data into my system, I have to see if there is any new information within the each of the 6 columns. So I have to compare each of the 6 columns (which are category codes) from the current month to the previous month, to look for anything that is new within the columns.

Currently have 6 different Access queries set up to run to compare, query one for Cat code 1, query 2 for cat code 3....etc. I cannot combine them into one query because if there is new data in cat code 6, in the combo query it shows me the data in Cat Codes 1-5 also and I can't tell which is new.

Is there an easier way to do this? If so, please let me know. It's easier than excel to do this work because each monthly file is tens of thousands of lines long. But, it's cumbersome having to run 6 queries also.

Thanks in advance for your advice!!!
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
What you have here is a design issue, specifically your table structure is not normalized (see here for rules on normalization: http://www.deeptraining.com/litwin/dbdesign/FundamentalsOfRelationalDatabaseDesign.aspx).

The six different columns you mentioned should be replaced with these two:

Cat Code Number
Cat Code Value

Structuring your table like this will make queries much easier to accomplish and remove the redundancies you are experiencing.
 
Upvote 0

Forum statistics

Threads
1,224,585
Messages
6,179,696
Members
452,938
Latest member
babeneker

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top