S
shep
MS Office 2003 Pro
I have a table that stores phone calls with contacts:
Table: Calls
Columns
Name Type Size
CallID Long Integer 4
ContactID Long Integer 4
CallDate Date/Time 8
CallTime Date/Time 8
Subject Text 255
Notes Memo
I have a query to call a Date Range Form, which includes a Popup calendar to
set date range for a report of calls:
Query: qryCallsV1
SQL
SELECT qryContactNameV1.ContactName, Calls.CallDate, Calls.CallTime,
Calls.Subject, Calls.Notes
FROM Calls INNER JOIN qryContactNameV1 ON
Calls.ContactID=qryContactNameV1.ContactID
WHERE (((Calls.CallDate)>=forms!frmReportDateRangeV1![Start Date] And
(Calls.CallDate)<=forms!frmReportDateRangeV1![End Date]))
ORDER BY qryContactNameV1.ContactName;
Columns
Name Type Size
ContactName Text 0
CallDate Date/Time 8
CallTime Date/Time 8
Subject Text 255
Notes Memo N/
I would like to also be able to select a Contact for the report rather than
getting all contacts. How can I do that?
Thanks
I have a table that stores phone calls with contacts:
Table: Calls
Columns
Name Type Size
CallID Long Integer 4
ContactID Long Integer 4
CallDate Date/Time 8
CallTime Date/Time 8
Subject Text 255
Notes Memo
I have a query to call a Date Range Form, which includes a Popup calendar to
set date range for a report of calls:
Query: qryCallsV1
SQL
SELECT qryContactNameV1.ContactName, Calls.CallDate, Calls.CallTime,
Calls.Subject, Calls.Notes
FROM Calls INNER JOIN qryContactNameV1 ON
Calls.ContactID=qryContactNameV1.ContactID
WHERE (((Calls.CallDate)>=forms!frmReportDateRangeV1![Start Date] And
(Calls.CallDate)<=forms!frmReportDateRangeV1![End Date]))
ORDER BY qryContactNameV1.ContactName;
Columns
Name Type Size
ContactName Text 0
CallDate Date/Time 8
CallTime Date/Time 8
Subject Text 255
Notes Memo N/
I would like to also be able to select a Contact for the report rather than
getting all contacts. How can I do that?
Thanks