I have one form, which is called Calendar
there is calendar, and close button

I have another form, which is called Input
inside, there is subform Calendar

Firstly, I open Input form, the subform Calendar is invisible, when I click one Date button, then the subform Calendar is visible, it is OK, I did that.
But, I do NOT want to input date value, so, I click Close button to invisible the subform Calendar. There is problem when I click close button.

In the subform Calendar, on the close button
I used that
Forms!Input!SubForm!Calendar.Visible = False


Forms!Input!Calendar.Visible = False

I searched it, but I still do NOT get it.

What's wrong with it?

I ever thought that I can create the close button on the Input form, but I prefer to create the close button on the Calendar form.