Ok,
in a query I have one field for account numbers, one field for sub account numbers, and one field for profile numbers. What I want is if the account number AND the sub account number are the same, then I want to only kick out the highest profile number. How would I go about typing this one out?
Lets say it's set up like this:
sub name acc num profile#
2 @@@@ 12481 2
2 @@@@ 12481 3
1 ****** 38921 1
3 ****** 38921 2
Then, I would want only the second entry of acc num 12481 to show because it's the most up to date profile on that sub, but I would want both entries for acc num 38921 because the profiles are for different subs. does that make sense?
in a query I have one field for account numbers, one field for sub account numbers, and one field for profile numbers. What I want is if the account number AND the sub account number are the same, then I want to only kick out the highest profile number. How would I go about typing this one out?
Lets say it's set up like this:
sub name acc num profile#
2 @@@@ 12481 2
2 @@@@ 12481 3
1 ****** 38921 1
3 ****** 38921 2
Then, I would want only the second entry of acc num 12481 to show because it's the most up to date profile on that sub, but I would want both entries for acc num 38921 because the profiles are for different subs. does that make sense?