Forum Discussion
MHaddon
Mar 09, 2026Occasional Reader
Should be easy...... Open a form to a specific record
I have a form with rows showing individual audit for staff members. Each audit would be individualized by an Autonumber ID field. I want the user to be able to click on the ID field, have it close t...
HeinziAT
Mar 09, 2026Iron Contributor
WhereCondition is the fourth parameter of `DoCmd.OpenForm`, not the third.
See https://learn.microsoft.com/en-us/office/vba/api/access.docmd.openform for a documentation of `DoCmd.OpenForm`. The examples there match quite closely what you are trying to do.