Link to home
Start Free TrialLog in
Avatar of conardb
conardbFlag for United States of America

asked on

On_Click open form stops working in split form

DoCmd.OpenForm on the on_click property of the id field of a split form stopped opening the record detail form.  Adding a command button to the form to open the detail form linked by the id form does open the detail form for the record.  What can stop the command from working on the on_click method of the id field while using the button wizard to create the same action works?
ASKER CERTIFIED SOLUTION
Avatar of pteranodon72
pteranodon72
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of conardb

ASKER

Yes, user clicks button but form doesn't open and no error messages.  Alternatively, I removed and re-inserted the Id field and re-entered the code to open the form and it worked.  I did try to use a macro to troubleshoot.  The debug -> compile suggestion is helpful.