I am trying to compare a datetime in a table to a datetime on a form using a select query in a calculated field. I have the below but it is not working...
CASE
WHEN
(SELECT COUNT(*) FROM ns_tbl_interviews WHERE interviewer_fk = target.[@field:interviewer_fk] AND date >= target.[@field:date])> 0
THEN
'Time is blocked'
END
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
BrianI
Hi
I am trying to compare a datetime in a table to a datetime on a form using a select query in a calculated field. I have the below but it is not working...
CASE
WHEN
(SELECT COUNT(*) FROM ns_tbl_interviews WHERE interviewer_fk = target.[@field:interviewer_fk] AND date >= target.[@field:date])> 0
THEN
'Time is blocked'
END
Any ideas?
Thanks
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.