J
Jack Peyton
I am using Access 2000. I have 15 forms that have the Tag property set to 1.
I currently use a command button on a Form to change all of the Form
properties for Popup and Modal from No to Yes, and Allow Design Changes from
All Views to Design View Only. The following is a sample of the code that is
used for each of the forms.
DoCmd.OpenForm "FParkLot", acDesign, , , , acHidden
If Forms!FParkLot.Tag = 1 Then
Forms!FParkLot.PopUp = -1
Forms!FParkLot.Modal = -1
Forms!FParkLot.AllowDesignChanges = 0
DoCmd.Close acForm, "FParkLot"
End If
Is there a way to change this to loop through each of the 15 forms in the
Database without having to list each form?
Any advice will be appreciated.
Jack Peyton
I currently use a command button on a Form to change all of the Form
properties for Popup and Modal from No to Yes, and Allow Design Changes from
All Views to Design View Only. The following is a sample of the code that is
used for each of the forms.
DoCmd.OpenForm "FParkLot", acDesign, , , , acHidden
If Forms!FParkLot.Tag = 1 Then
Forms!FParkLot.PopUp = -1
Forms!FParkLot.Modal = -1
Forms!FParkLot.AllowDesignChanges = 0
DoCmd.Close acForm, "FParkLot"
End If
Is there a way to change this to loop through each of the 15 forms in the
Database without having to list each form?
Any advice will be appreciated.
Jack Peyton