Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL export multiple instances of History recrod

Status
Not open for further replies.

cactus1000

Programmer
Aug 31, 2001
149
US
Is it possible to write an SQL statement to export mutliple instances of History rocords with a single Contact record?

I want to select and export some fields of a contact1 record along with 4 columns from the conthist records containing the conthist.date of the most recent conthist.activity = Call Out, conthist.date of the most recent conthist.activity = Appoint., and both conthist.date and conthist.reference for the most recent conthist.activity = Action
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top