on 2022 Jan 17 8:37 PM
I am trying to get sales totals available for this month and any previous late orders. I can manually enter the date, but is there a way to do <= current month?
You can create a formula that will give you the last day of the current month based on the current date. It would look something like this:
{@EOM}
DateAdd('m', 1, Date(Year(CurrentDate), Month(CurrentDate), 1)) - 1
Since this formula doesn't use any data, you can use it in the formula in the Select Expert without a performance hit. You would manually edit the formula to include this with any other selection criteria you've set up:
{MyTable.DateField} <= {@EOM}
-Dell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
67 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.