S
SoggyCashew
Hello, I have a form frmCalendar with 2 check boxs chkEmployee and
chkDepartment and a OK button. You have to either check one of these boxes
before proceding and click the button that opens a form frmPasswordRequired
and sets the frmCalendar to visible = False. After entering a password and
clicking OK it would open one of two forms due to whatever box you checked on
the frmCalendar. I cant get it to open either of the two forms. Here is what
im using:
If Forms!frmCalendar!chkEmployee = True Then
DoCmd.OpenForm "frmEmployeeStatusChange"
DoCmd.Close acForm, "frmPasswordRequired"
If Forms!frmCalendar!chkDepartment = True Then
DoCmd.OpenForm "frmDepartment"
DoCmd.Close acForm, "frmPasswordRequired"
chkDepartment and a OK button. You have to either check one of these boxes
before proceding and click the button that opens a form frmPasswordRequired
and sets the frmCalendar to visible = False. After entering a password and
clicking OK it would open one of two forms due to whatever box you checked on
the frmCalendar. I cant get it to open either of the two forms. Here is what
im using:
If Forms!frmCalendar!chkEmployee = True Then
DoCmd.OpenForm "frmEmployeeStatusChange"
DoCmd.Close acForm, "frmPasswordRequired"
If Forms!frmCalendar!chkDepartment = True Then
DoCmd.OpenForm "frmDepartment"
DoCmd.Close acForm, "frmPasswordRequired"