A
Amy Schmid
Good morning,
I have the following query:
SELECT dbo_Clients.Cltnum, dbo_Clients.Cltname, dbo_Clients.Cltsort,
dbo_MM_Fixed_Fee_Payment_Info.[FFRetainer$],
dbo_MM_Fixed_Fee_Payment_Info.FFPayCode, dbo_Clients.Engfye,
dbo_MM_Fixed_Fee_Payment_Info.FFAgreementYear,
dbo_MM_Fixed_Fee_Payment_Info.FFDraftDate,
dbo_MM_Fixed_Fee_Payment_Info.FFPropsalDate,
dbo_MM_Fixed_Fee_Payment_Info.FFProposalSigned,
dbo_MM_Fixed_Fee_Payment_Info.FFPlanStartDate,
dbo_MM_Fixed_Fee_Payment_Info.FFPlanComplDate,
dbo_MM_Fixed_Fee_Payment_Info.FFComment, dbo_Clients.Cltoff,
dbo_Clients.CPPFname, dbo_Clients.CBMFname, dbo_Clients.CTRFname
FROM (dbo_Clients LEFT JOIN dbo_MM_Fixed_Fee_Payment_Info ON dbo_Clients.ID
= dbo_MM_Fixed_Fee_Payment_Info.FFCltID) INNER JOIN dbo_Office ON
dbo_Clients.Cltoff = dbo_Office.OffID;
I would like to set a parameter that lets me choose one of three options:
Option 1:
FFDraftDate - where this field is filled in but the FFProposalDate and the
FFProposalSigned fields are blank.
Option 2:
FFDraftDate and FFProposalDate - where these fields are filled in but the
FFProposalSigned field is blank.
Option 3:
Where all three fields are filled in an no blanks.
I also need to specify the FFAgreementYear for each option.
We currently have a copy of this query set up to require the AgreementYear,
PayCode are required. But this parameter does not require looking at blank
fields.
Any way this is possible? My final goal is to have three separate reports
based on each of the three fields and a chosen agreement year, showing all
PayCode types .
I have the following query:
SELECT dbo_Clients.Cltnum, dbo_Clients.Cltname, dbo_Clients.Cltsort,
dbo_MM_Fixed_Fee_Payment_Info.[FFRetainer$],
dbo_MM_Fixed_Fee_Payment_Info.FFPayCode, dbo_Clients.Engfye,
dbo_MM_Fixed_Fee_Payment_Info.FFAgreementYear,
dbo_MM_Fixed_Fee_Payment_Info.FFDraftDate,
dbo_MM_Fixed_Fee_Payment_Info.FFPropsalDate,
dbo_MM_Fixed_Fee_Payment_Info.FFProposalSigned,
dbo_MM_Fixed_Fee_Payment_Info.FFPlanStartDate,
dbo_MM_Fixed_Fee_Payment_Info.FFPlanComplDate,
dbo_MM_Fixed_Fee_Payment_Info.FFComment, dbo_Clients.Cltoff,
dbo_Clients.CPPFname, dbo_Clients.CBMFname, dbo_Clients.CTRFname
FROM (dbo_Clients LEFT JOIN dbo_MM_Fixed_Fee_Payment_Info ON dbo_Clients.ID
= dbo_MM_Fixed_Fee_Payment_Info.FFCltID) INNER JOIN dbo_Office ON
dbo_Clients.Cltoff = dbo_Office.OffID;
I would like to set a parameter that lets me choose one of three options:
Option 1:
FFDraftDate - where this field is filled in but the FFProposalDate and the
FFProposalSigned fields are blank.
Option 2:
FFDraftDate and FFProposalDate - where these fields are filled in but the
FFProposalSigned field is blank.
Option 3:
Where all three fields are filled in an no blanks.
I also need to specify the FFAgreementYear for each option.
We currently have a copy of this query set up to require the AgreementYear,
PayCode are required. But this parameter does not require looking at blank
fields.
Any way this is possible? My final goal is to have three separate reports
based on each of the three fields and a chosen agreement year, showing all
PayCode types .