Forum Discussion
Open Form acDialog
- Mar 17, 2022
actually there are Errors in your code!
did you disable error checking?
see your sample:
DoCmd.OpenForm "frmNotifications", WindowMode:=acDialog
did you noticed what is wrong?
if not then, here you define WindowMode:=acDialog, but, did you define the FormName?
should be:
DoCmd.OpenForm FormName:="frmNotifications", WindowMode:=acDialogfor the acFormDS form:
DoCmd.OpenForm FormName:="frmNotificationsDateCheck", View:=acFormDS, WindowMode:=acDialog
do it with the rest of your code.
actually there are Errors in your code!
did you disable error checking?
see your sample:
DoCmd.OpenForm "frmNotifications", WindowMode:=acDialog
did you noticed what is wrong?
if not then, here you define WindowMode:=acDialog, but, did you define the FormName?
should be:
DoCmd.OpenForm FormName:="frmNotifications", WindowMode:=acDialog
for the acFormDS form:
DoCmd.OpenForm FormName:="frmNotificationsDateCheck", View:=acFormDS, WindowMode:=acDialog
do it with the rest of your code.
- Tony2021Mar 17, 2022Steel ContributorArnel, that did it. Perfect. thank you again for the help!