AlanJordan
Programmer
I have a database with the tables Companies and Contacts (1 to many relationship between these.)
I have a report that I built that provides all of the information needed, but ONLY for the first contact.
I've tried creating a subreport and linking the two by CompanyID. I still get only one contact.
I also tried this query.
Suggestions will be most appreciated.
Thanks,
Alan
I have a report that I built that provides all of the information needed, but ONLY for the first contact.
I've tried creating a subreport and linking the two by CompanyID. I still get only one contact.
I also tried this query.
Code:
SELECT Contacts.DateUpdated, [b]Contacts.DateUpdated[/b], Companies.CompanyID, Companies.Company, Companies.Category, Companies.Address, Companies.City, Companies.State, Companies.Zip, Companies.Phone, Companies.Fax, Companies.Website, Companies.Comments, Companies.PersonCalling
FROM Companies INNER JOIN Contacts ON Companies.CompanyID = Contacts.CompanyID
WHERE (((Contacts.DateUpdated)>=[EnterFirstDate] And (Contacts.DateUpdated)<=[EnterLastDate]));
Suggestions will be most appreciated.
Thanks,
Alan