Macro not working when form is embedded as a subform

G

Guest

I have a form "frmCurrentMonthChecksSubform" - it has a macro to update a
filed on the form called Current User (so when the record changes, it
captures the NT ID). Works fine. BUT when I put it in my other form as a
subform, it does not work. I get the following error:

Microsoft Access cannot find the form "frmCurrentMonthChecksSubform"
referred to in a Macro expression or Visual Basic Code
* the form you referenced may be closed or may not exist in this database
* Microsoft Access may have encountered a compile error in a Visual Basic
module in the form

Any thoughts?? Thanks!!!!

ddunks
 
G

Guest

Never mind - I fixed it. I was referencing the form, but not referencing the
form within the form.

ddunks
 

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