on 07-23-2008 10:18 PM
Can someone tell why I'm getting records with no dates and data for the year 2007 when I enter a date range of 1/1/2008 to 5/31/2008 for the prompt (i.e. {?Closed Date}) ? The code used is below. Thanks ! ! !
{tracking_file_primary.F422#Closing_Date} in {?Closed Date} And IsNull({tracking_file_primary.FU035#Is_Portfolio_Loan}) Or
{tracking_file_primary.FU035#Is_Portfolio_Loan} = "No" Or
{tracking_file_primary.FU035#Is_Portfolio_Loan} = "N";
Can you try copying and pasting the logic I posted?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Brain/Pandabear,
I did use the code that Brian supplied (as shown below).
{tracking_file_primary.F422#Closing_Date} in {?Closed Date} And
(
IsNull({tracking_file_primary.FU035#Is_Portfolio_Loan}) Or
{tracking_file_primary.FU035#Is_Portfolio_Loan} = "No" Or
{tracking_file_primary.FU035#Is_Portfolio_Loan} = "N"
)
The below code (Brian's code) only gives all records with "No" in the "{tracking_file_primary.FU035#Is_Portfolio_Loan}" column.
{tracking_file_primary.F422#Closing_Date} in {?Closed Date} And
(
IsNull({tracking_file_primary.FU035#Is_Portfolio_Loan}) Or
{tracking_file_primary.FU035#Is_Portfolio_Loan} = "No" Or
{tracking_file_primary.FU035#Is_Portfolio_Loan} = "N"
)
Lenell,
Change the filter to Caps,
Uppercase the fields coming in
and check for " ".
{tracking_file_primary.F422#Closing_Date} in {?Closed Date} And
(
IsNull({tracking_file_primary.FU035#Is_Portfolio_Loan}) Or {tracking_file_primary.FU035#Is_Portfolio_Loan} = "" Or
UpperCase ({tracking_file_primary.FU035#Is_Portfolio_Loan}) = "NO" Or
UpperCase({tracking_file_primary.FU035#Is_Portfolio_Loan}) = "N"
)
It looks like you need some parenthesis:
{tracking_file_primary.F422#Closing_Date} in {?Closed Date} And
(
IsNull({tracking_file_primary.FU035#Is_Portfolio_Loan}) Or
{tracking_file_primary.FU035#Is_Portfolio_Loan} = "No" Or
{tracking_file_primary.FU035#Is_Portfolio_Loan} = "N"
)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Brian,
I tried your solution, but it decreased the number of records received. Statements with parenthesis are done first . . . right ? If so, I tried the below formula and it still does not work (i.e. blank column and 2007 records when the dates supplied is 1/1/2008 through 5/31/2008).
({tracking_file_primary.F422#Closing_Date} in {?Closed Date}) And IsNull({tracking_file_primary.FU035#Is_Portfolio_Loan}) Or
{tracking_file_primary.FU035#Is_Portfolio_Loan} = "No" Or
{tracking_file_primary.FU035#Is_Portfolio_Loan} = "N";
When I run just the first line, I receive the correct number of records (as shown in bold below).
({tracking_file_primary.F422#Closing_Date} in {?Closed Date})
but, when I add the rest of the code (as shown in bold below), I get records with nothing in {tracking_file_primary.F422#Closing_Date} and 2007 records
And IsNull({tracking_file_primary.FU035#Is_Portfolio_Loan}) Or
{tracking_file_primary.FU035#Is_Portfolio_Loan} = "No" Or
{tracking_file_primary.FU035#Is_Portfolio_Loan} = "N";
Anyone have any idea what's going on ?
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.