Hi. I'm trying a formula to select data parting from several conditions. Explanation:
Notes:
{@100} is a simple forumla that says: CURRENTDATE - 10.
1. OPENDATE: is a Date where a record is entered. This is a datetime field and the condition on this field is that it has to be smaller than {@100}.
2. CLOSEDATE: Is a datetime field also. This field has to be BIGGER than {@100} but can also be NULL.
By doing this I should get around 90 Records and I'm only getting 7. I do not know if there's anything wrong with my record formula so here it is.
{LOAN_TRACKING.OPEN_DATE} < {@100} and
{LOAN_TRACKING.CLOSED} > {@100} or isnull({LOAN_TRACKING.CLOSED})
Any ideas?
Thanks in advance!
Notes:
{@100} is a simple forumla that says: CURRENTDATE - 10.
1. OPENDATE: is a Date where a record is entered. This is a datetime field and the condition on this field is that it has to be smaller than {@100}.
2. CLOSEDATE: Is a datetime field also. This field has to be BIGGER than {@100} but can also be NULL.
By doing this I should get around 90 Records and I'm only getting 7. I do not know if there's anything wrong with my record formula so here it is.
{LOAN_TRACKING.OPEN_DATE} < {@100} and
{LOAN_TRACKING.CLOSED} > {@100} or isnull({LOAN_TRACKING.CLOSED})
Any ideas?
Thanks in advance!