I have a query where i'm concatenating several fields into one and then combining them with another query for the end result...
Every thing works fine except when I place the DISTINCT in the SELECT Statement, I get however many times the second query records (i.e., qry1 has 1 concatenated record [created from 3 original fields in a related table] - when i bring it into qry 2 [from a related table] which has 17 records, I get 51 records for the same one employee)
If I use the DISTINCT statement in my SQL, it truncates the one memo field in the record. Is there a way to work-around this?
If I use DISTINCT, I get the appropriate 17 records - without it 51. Any help would be appreciated. I've researched the issue and the only answers I've seen are from 2001 - i was hoping there was something else out there to help me out...
![[noevil] [noevil] [noevil]](/data/assets/smilies/noevil.gif)
"Unless you try to do something beyond what you have already mastered, you will never grow." Ralph Waldo Emerson
Every thing works fine except when I place the DISTINCT in the SELECT Statement, I get however many times the second query records (i.e., qry1 has 1 concatenated record [created from 3 original fields in a related table] - when i bring it into qry 2 [from a related table] which has 17 records, I get 51 records for the same one employee)
If I use the DISTINCT statement in my SQL, it truncates the one memo field in the record. Is there a way to work-around this?
If I use DISTINCT, I get the appropriate 17 records - without it 51. Any help would be appreciated. I've researched the issue and the only answers I've seen are from 2001 - i was hoping there was something else out there to help me out...
![[noevil] [noevil] [noevil]](/data/assets/smilies/noevil.gif)
"Unless you try to do something beyond what you have already mastered, you will never grow." Ralph Waldo Emerson