Avatar of conardb
conardb
Flag 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?
Microsoft Access

Avatar of undefined
Last Comment
conardb

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
pteranodon72

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
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.
Your help has saved me hundreds of hours of internet surfing.
fblack61