L
lallen
I have a form with a button that opens a report. After opening the report, I
hide the two forms that are open. After closing the report, I want to make
the two forms visible again, but only the first one becomes visible.
I'm using the following code. The report can be opened from two places, so I
ensure that the form is open first.
If CurrentProject.AllForms("Appointments").IsLoaded Then
Forms![Appointments].Visible = True
Forms![Patients].Visible = True
End If
The first form becomes visible, but not the second. There are no error
messages, and it doesn't matter the order of the two statements?
Anyone have any ideas?
hide the two forms that are open. After closing the report, I want to make
the two forms visible again, but only the first one becomes visible.
I'm using the following code. The report can be opened from two places, so I
ensure that the form is open first.
If CurrentProject.AllForms("Appointments").IsLoaded Then
Forms![Appointments].Visible = True
Forms![Patients].Visible = True
End If
The first form becomes visible, but not the second. There are no error
messages, and it doesn't matter the order of the two statements?
Anyone have any ideas?