Long story short, I have one form called PPADataOnly. It is related to frmClient. Out of no where, when I select the "close all" command button, I'm getting a popup saying that paramater value for Forms!frmClient!txtClientID is missing, asking me to fill it in.
Here's the code for the close all command button:
Private Sub cmCloseAll_Click()Dim db As Database
Dim frm As Form
Dim intX As Integer
Do While Forms.Count > 0
DoCmd.Close acForm, Forms(0).Name
Loop
DoCmd.OpenForm "frmMainSwitch"
End Sub
This is the popup box I'm getting.
![]()