mloucel
Member
- Local time
- Today, 06:05
- Joined
- Aug 5, 2020
- Messages
- 360
Hello Gurus.
I have a very interesting problem on a query I can't solve.
For time purposes, and to make it easy, I'll use 4 fields as Example:
InitialDate
FN
LN
ApprovedD
Now this query already displays the first 90 days of InitialDate.
The Issue:
I need: based on those 90 days, limit more my query with the following:
1) Display the very first 15 days (Date() -15) from InitialDate, regardless if ApprovedD has any date or not.
--- I need to check from today's date, regardless if InitialDate will display only 10 days or 2 days out of those 15.
2) Then once I have those 15 days (or 2 or 3 or 10 saved whatever the result from #1), I need to display the rest of the 90 days (Day 16 to 90) from InitialDate " BUT ONLY if ApprovedD has a value (Is Not Null) "
In Excel I was able to do it, during Sorting I can manually sort by date, then pick only the first 90 days, then on ApprovedD manually click the check mark that will give me the results I wanted, but it was all manual, some I did every 3 months, so I was already prepared before time.
I don't really know if that is even possible in access, but any help will be appreciated.
I have a very interesting problem on a query I can't solve.
For time purposes, and to make it easy, I'll use 4 fields as Example:
InitialDate
FN
LN
ApprovedD
Now this query already displays the first 90 days of InitialDate.
The Issue:
I need: based on those 90 days, limit more my query with the following:
1) Display the very first 15 days (Date() -15) from InitialDate, regardless if ApprovedD has any date or not.
--- I need to check from today's date, regardless if InitialDate will display only 10 days or 2 days out of those 15.
2) Then once I have those 15 days (or 2 or 3 or 10 saved whatever the result from #1), I need to display the rest of the 90 days (Day 16 to 90) from InitialDate " BUT ONLY if ApprovedD has a value (Is Not Null) "
In Excel I was able to do it, during Sorting I can manually sort by date, then pick only the first 90 days, then on ApprovedD manually click the check mark that will give me the results I wanted, but it was all manual, some I did every 3 months, so I was already prepared before time.
I don't really know if that is even possible in access, but any help will be appreciated.