My code seems to ignore the WHERE condition when it initially opens the form but if I run it a second time with the form already open the filter is applied. Just seeking advice on what property on the form could be blocking this from working properly because in a simplified database I tested this in it worked.
Example:
Thanks!
Example:
Code:
docmd.openform "formname", , , "[ID] = " & sID