I did have Option Compare Database, but not Option Explicit. It eventually decided to work after I tried to put in OpenArg variable as a last resort. I never used the OpenArg, the where condition just seemed to work when I added the extra parameter. Here is my current code: I added an extra...