Hi,
Let me explain (I have been trying to figure this out for days):
1) I have a wide range of time, lets say one year. During this year many orders have been taken.
2) I would like to find all the orders which have been taken from monday 15:00 untill tuesday 17:00 (for instance).
3) What I have done is to calculate the start minute number of the starting time and the end minute number of the ending time (the calculation is from the start of the week).
4) Now I am looking for all orders which have been taken in that range.
5) To do this I call a function from the query on the orders date which will convert it to number and I am trying to use the criteria "between startMinute and endMinute".
The problem is that I keep on getting the warning that the
"expression is too complicated...", when i remove the criteria I am getting the minute number from the function I used.
How can this issue be resolved?
Thank you
Let me explain (I have been trying to figure this out for days):
1) I have a wide range of time, lets say one year. During this year many orders have been taken.
2) I would like to find all the orders which have been taken from monday 15:00 untill tuesday 17:00 (for instance).
3) What I have done is to calculate the start minute number of the starting time and the end minute number of the ending time (the calculation is from the start of the week).
4) Now I am looking for all orders which have been taken in that range.
5) To do this I call a function from the query on the orders date which will convert it to number and I am trying to use the criteria "between startMinute and endMinute".
The problem is that I keep on getting the warning that the
"expression is too complicated...", when i remove the criteria I am getting the minute number from the function I used.
How can this issue be resolved?
Thank you