I am writing a report in Crystal 8.5 developer that is suppose to display the company/contact based off of lastest activity entered and the user that did it.
an example of what I need:
area: Need To assign
SalesRep: Joe
ABC company Fred Jone 10/1/2003
an example of what I am getting instead
area: Need to assign
SalesRep: Joe
ABC company Fred Jone 10/1/2003
ABC company Fred Jone 9/3/2002
SalesRep: Gina
ABC Company Fred Jone 9/15/2002
so.. this is what I did. - it's a goldmine SQL backend btw....
the report links contact1 (where company name/contact name is stored) and conthist (where the history lives as well as username). I linked it by accountno - conthist.accountno to contact1.accountno
I then created 2 groups:
group #1 - is off of a geographical sorting field
group #2 - is off of the userid
in the details section I have contact1.company, contact1.contact and conthist.ondate
in the select expert, i have it selecting records that say "need to assign" and "NC" on the field that is group #1
I then sorted my report by contact1.key5 A (that is the group #1 field), contact1.userid A, conthist.ondate D
The report does display the latest record first, but it also displays the second newest record and so on. then if different users entered things on these accounts, the report then displays the latest entry for that user. I know that I totally screwed up the sorting or record selection, but am cluefree as to what I did
any ideas? TIA for any help
an example of what I need:
area: Need To assign
SalesRep: Joe
ABC company Fred Jone 10/1/2003
an example of what I am getting instead
area: Need to assign
SalesRep: Joe
ABC company Fred Jone 10/1/2003
ABC company Fred Jone 9/3/2002
SalesRep: Gina
ABC Company Fred Jone 9/15/2002
so.. this is what I did. - it's a goldmine SQL backend btw....
the report links contact1 (where company name/contact name is stored) and conthist (where the history lives as well as username). I linked it by accountno - conthist.accountno to contact1.accountno
I then created 2 groups:
group #1 - is off of a geographical sorting field
group #2 - is off of the userid
in the details section I have contact1.company, contact1.contact and conthist.ondate
in the select expert, i have it selecting records that say "need to assign" and "NC" on the field that is group #1
I then sorted my report by contact1.key5 A (that is the group #1 field), contact1.userid A, conthist.ondate D
The report does display the latest record first, but it also displays the second newest record and so on. then if different users entered things on these accounts, the report then displays the latest entry for that user. I know that I totally screwed up the sorting or record selection, but am cluefree as to what I did
any ideas? TIA for any help