The function works well, I can obtain the right result, but if I call this function in query with:
Where(Case.Time)>=[Forms]![frmWitness]![txtStartDate] And (Case.Time)<=[Forms]![frmWitness]![txtEndDate]
It doesnot work.
If withou "Where..." ,it works.
I have a table as the follwoing:
RI Region Time
6.6 2 2006-01-23
8.1 1 2006-01-03
5.1 2 2006-01-03
3.4 2 2006-01-07
7.2 2 2006-01-07
3.5 2 2006-01-09
6.2 3 2006-01-10
6.1 2 2006-01-09
11.0 2 2006-01-18
4.3 6 2006-01-18
5.4 1 2006-01-05
11.3 2 2006-01-19
I have a function to calculate the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.