Date question validation

I have a month question and a year question that should not be later than the date time question on the visit…need some advice as to how to validate this…


one possibility is to obtain the century month codes for both dates, then compare the two codes as numbers.

Best, Sergiy

@opeart has contacted me privately reiterating the same question. The advice remains the same, unless there is anything that you find not acceptable with it, in which case please indicate the expression that you’ve written and any error message you are receiving.

The function CenturyMonthCode(month, year) is described in this support article.

That you…tried it and it worked…
Appreciate the help.