S
Slez via AccessMonster.com
I have a form, "frmImportNewProject", with an unbound control named
"NewProject" where I enter the value of a field "JobNumber", then click a
command button "cmdImportProject", which runs SQL in the On Click event that
appends a recordset to some tables. After I click the command button, and
the process runs, I'd like the form to close.
I tried to add the code - DoCmd.Close acForm, frmImortNewProject - to
the end of the event, but I got an error message. What am I missing in that
code?
Thanks in advance!
"NewProject" where I enter the value of a field "JobNumber", then click a
command button "cmdImportProject", which runs SQL in the On Click event that
appends a recordset to some tables. After I click the command button, and
the process runs, I'd like the form to close.
I tried to add the code - DoCmd.Close acForm, frmImortNewProject - to
the end of the event, but I got an error message. What am I missing in that
code?
Thanks in advance!