Results 1 to 2 of 2
Thread: Mismatched columns (2003)
2007-01-05, 11:39 #1
- Join Date
- Mar 2001
- Thanked 0 Times in 0 Posts
Mismatched columns (2003)
I'm sure that should be a simple question, but.. I have a table with two main columns that I'm interested in. A column of item numbers 4454334 and a column of coded numbers AA, BO, CD, etc. I want to find (select) those rows where the item numbers occur in, for example, AA but not any of the other two letter combinations. Any idea what simple idea I'm missing? Thanks, Andy.
2007-01-05, 12:02 #2
- Join Date
- Mar 2002
- Thanked 28 Times in 28 Posts
Re: Mismatched columns (2003)
I'm not sure I understand what you want, but try the following:
- Create a query based on the table.
- Add the two fields you're interested in to the query grid.
- Select View | Totals or click the Totals button on the toolbar.
- Set the Total option for the code field to Count (and leave it as the default Group By for the item number field).
- Set the Criteria for the code field to 1.
- Clear the Show check box for the code field.
- Switch to datasheet view.
- You will only see the item numbers for which there is only one code.