Syntax error

  • Thread starter Gopb via AccessMonster.com
  • Start date
G

Gopb via AccessMonster.com

I have a report that opens a form. When the form is filled the report pops up.


When the report is closed I have it to close the form with it. It appears to
work BUT
in the compiling it gives me a syntx error. Any ideas. Below is the code to
close the form


Private Sub Report_Close()
DoCmd.closeform "date_hired" ,,,,,
End Sub


Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top