Newsgroup said:
I've the question, I haven't the solution for this problem, I have the mask
with some controls, one controls is the "True/False" control.
I wont when I check this, compare in automatic the date in another
control...
Please what is the solution?
You are going to have to provide clarification about what you have and what
you are asking -- the information here is so vague and generic that I don't
understand.
"Masks" in Access do not contain Controls. You cannot meaningfully compare a
True/False field against a date. My best guess is:
1. You have an Option Button or a CheckBox which
represents True / False.
2. On the same form you have two Text Box Controls
each showing a date.
3. If the user clicks the Option Button or Check Box to
turn it from False to True, you want to compare the
dates described in 2, above
If I am correct, up to this point, then the code
should be placed in the Click event of the Option
Button or Check Box. The actual code will depend
on your answer to the following questions. If I am
not correct in my guesses, then please clarify.
4. What comparison do you want to make: equal, not
equal, greater, lesser or something else?
5. What do you want to _do_ based on the result of
the comparison?
Larry Linson
Microsoft Access MVP