Kobojunkie
Programmer
- May 28, 2008
- 16
Hi,
I am working on a report that allows users to enter values that I can filter my data with. I would like a function that handles the above situation. How do I write such a report please? Thanks in advance.
A) If the User does not select a year Or a CaseType , Run the GET ALL @Year and ALL @CaseTypeDescription -? DEFAULT CASE
B) If The User Selected a Year, Run the FilterBy year StoredProc
C) If User Selected a Year and a CaseType, Run the Filter By @Year and @CaseTypeDescription
D) If the User Selects a CaseType but Not a year, Run the Get All @Year Where CaseType = @CaseTypeDescription Option
I am working on a report that allows users to enter values that I can filter my data with. I would like a function that handles the above situation. How do I write such a report please? Thanks in advance.
A) If the User does not select a year Or a CaseType , Run the GET ALL @Year and ALL @CaseTypeDescription -? DEFAULT CASE
B) If The User Selected a Year, Run the FilterBy year StoredProc
C) If User Selected a Year and a CaseType, Run the Filter By @Year and @CaseTypeDescription
D) If the User Selects a CaseType but Not a year, Run the Get All @Year Where CaseType = @CaseTypeDescription Option