C
Carl Mankat
I am using Access 2000 on W2K OS.
I want to close two forms and open a third form. The following code does
not close the FrmCombo0 form. The second DoCmd.Close works as does the
DoCmd.Openform. The current form is "Frm_Elementary_Phones"
Dim stDocName As String
Dim stLinkCriteria As String
DoCmd.Close acForm, "FrmCombo0"
DoCmd.Close acForm, "Frm_Elementary_Phones", acSaveNo
stDocName = "Elementary_Main"
DoCmd.OpenForm stDocName, , , stLinkCriteria
What am I doign incoorrectly that doesn't close two forms.
TIA,
Carl
I want to close two forms and open a third form. The following code does
not close the FrmCombo0 form. The second DoCmd.Close works as does the
DoCmd.Openform. The current form is "Frm_Elementary_Phones"
Dim stDocName As String
Dim stLinkCriteria As String
DoCmd.Close acForm, "FrmCombo0"
DoCmd.Close acForm, "Frm_Elementary_Phones", acSaveNo
stDocName = "Elementary_Main"
DoCmd.OpenForm stDocName, , , stLinkCriteria
What am I doign incoorrectly that doesn't close two forms.
TIA,
Carl