I have a very large table in ACCESS. One field is Claim number, another field is revenue code. Each revenue code has it's own line (or record) so the Claim number is repeated as many times as there are revenue codes for that claim. The revenue codes can be repeated as many times as needed, but only once per claim. For example:
Claim # Rev Code
11111 21
11111 32
11111 55
22222 21
33333 32
33333 55
I want to find all claim #s that have one specific revenue code and remove all records for that claim number. So, in the example above, if I want to find all claims with revenue code 21 and remove that claim completely the following would be left:
Claim # Rev Code
33333 32
33333 55
I can do a query finding the specific revenue code, but then I don't know the next step (how to remove any record with a claim number that matches any claim number found in the first query).
As I'm sure you can tell, I have a pretty limited knowledge of ACCESS, so any help you can give would be appreciated.
Thx,
Jeanie
Claim # Rev Code
11111 21
11111 32
11111 55
22222 21
33333 32
33333 55
I want to find all claim #s that have one specific revenue code and remove all records for that claim number. So, in the example above, if I want to find all claims with revenue code 21 and remove that claim completely the following would be left:
Claim # Rev Code
33333 32
33333 55
I can do a query finding the specific revenue code, but then I don't know the next step (how to remove any record with a claim number that matches any claim number found in the first query).
As I'm sure you can tell, I have a pretty limited knowledge of ACCESS, so any help you can give would be appreciated.
Thx,
Jeanie