A
Amin
I have two time fields called [TimeField] and [Create Time Field]. I
calcualte the difference between the two times in minutes with:
DATEDIFF("n",[Create Time Field],[TimeField]))
Now, what I want to do is have a paramteric search, where the user inputs a
time frame, and it returns the records which meet that criteria. For example
DATEDIFF("n",[Create Time Field],[TimeField]))<[TimeFrame]
So the user would enter 75 (for 75 minutes) and it would return the records
that meet that criteria. However, this is not working. When I run the above
as a parametric search, it returns 196 records. When I input the value
directly into the code, like this
DATEDIFF("n",[Create Time Field],[TimeField]))<75
it returns 86 records. I don't know why it does this. Can anyone help?
Thanks in advance,
Amin
calcualte the difference between the two times in minutes with:
DATEDIFF("n",[Create Time Field],[TimeField]))
Now, what I want to do is have a paramteric search, where the user inputs a
time frame, and it returns the records which meet that criteria. For example
DATEDIFF("n",[Create Time Field],[TimeField]))<[TimeFrame]
So the user would enter 75 (for 75 minutes) and it would return the records
that meet that criteria. However, this is not working. When I run the above
as a parametric search, it returns 196 records. When I input the value
directly into the code, like this
DATEDIFF("n",[Create Time Field],[TimeField]))<75
it returns 86 records. I don't know why it does this. Can anyone help?
Thanks in advance,
Amin