D
Diane
I created a query to prompt beginning and end dates of the
follow-up field, but it returns all records or does not
work. Here is the SQL view of my query. Can someone
please help. Thanks.
SELECT tblProposals.[SAM Proposal No], tblProposals.
[Revision No], tblProposals.[RFQ No],
tblProposals.Customer, tblCustomerList.City,
tblIndustryClassification.ClassificationName, tblProposals.
[RFQ Date In], tblProposals.[Date Out], tblProposals.
[Follow-up], tblProposals.Principal, tblProposals.
[Principal's Division], tblProposals.Description,
tblProposals.[Proposal Type], tblProposals.Value,
tblProposals.Currency, tblProposals.[SAM Responsible],
tblProposals.Status, tblProposals.Comments,
tblCustomerList.[Customer Industry]
FROM tblOffice RIGHT JOIN (tblIndustryClassification RIGHT
JOIN (tblCustomerList RIGHT JOIN tblProposals ON
tblCustomerList.Customer = tblProposals.Customer) ON
tblIndustryClassification.ClassificationName =
tblCustomerList.[Customer Industry]) ON tblOffice.Office =
tblCustomerList.Office
WHERE (((tblProposals.Follow-up) Between [Enter the
beginning date] And [enter
the end date])) OR (((tblProposals.Follow-up) Like IIf
(IsNull([Enter the
beginning date]),"*")));
follow-up field, but it returns all records or does not
work. Here is the SQL view of my query. Can someone
please help. Thanks.
SELECT tblProposals.[SAM Proposal No], tblProposals.
[Revision No], tblProposals.[RFQ No],
tblProposals.Customer, tblCustomerList.City,
tblIndustryClassification.ClassificationName, tblProposals.
[RFQ Date In], tblProposals.[Date Out], tblProposals.
[Follow-up], tblProposals.Principal, tblProposals.
[Principal's Division], tblProposals.Description,
tblProposals.[Proposal Type], tblProposals.Value,
tblProposals.Currency, tblProposals.[SAM Responsible],
tblProposals.Status, tblProposals.Comments,
tblCustomerList.[Customer Industry]
FROM tblOffice RIGHT JOIN (tblIndustryClassification RIGHT
JOIN (tblCustomerList RIGHT JOIN tblProposals ON
tblCustomerList.Customer = tblProposals.Customer) ON
tblIndustryClassification.ClassificationName =
tblCustomerList.[Customer Industry]) ON tblOffice.Office =
tblCustomerList.Office
WHERE (((tblProposals.Follow-up) Between [Enter the
beginning date] And [enter
the end date])) OR (((tblProposals.Follow-up) Like IIf
(IsNull([Enter the
beginning date]),"*")));