The OpenForm action was cancelled

S

Shannon

I have a mdb with the following line of code in the on open event of a form
and it works perfectly

Forms.MakeListmain.MakeListSub.Form.RecordSource =
Forms![MakeListmain]![DataFile]

When I convert this to a mde and run it in a runtime enviroment I get the
following problem "The OpenForm action was cancelled."

Any ideas on what I am missing would be greatly appreciated.
 
B

Bill Mosca

MDEs are impossible to debug since the code is stripped out. You should have
error traps in every procedure to prevent that kind of error.

Could it be that happens if Forms![MakeListmain]![DataFile] is null? And are
you sure MakeListMain is open at the time?
 

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