P
Pietro
Hi,
I'm using the below code:
DoCmd.DeleteObject acForm, "cap"
DoCmd.DeleteObject acForm, "csq"
DoCmd.DeleteObject acForm, "admin"
sometimes this code stops in the second line if the form csq does not exist,
how can i make the whole command run even if one of these objects is open or
does not exist ?
How can i make the command go to the third line even if there's a problem
in the second.
I'm using the below code:
DoCmd.DeleteObject acForm, "cap"
DoCmd.DeleteObject acForm, "csq"
DoCmd.DeleteObject acForm, "admin"
sometimes this code stops in the second line if the form csq does not exist,
how can i make the whole command run even if one of these objects is open or
does not exist ?
How can i make the command go to the third line even if there's a problem
in the second.