You know, I have this bad feeling I'm wasting space by asking this, but I'm having a peculiar problem. Most of my VBA experience has been Excel, and giving Access for a go for the first time has proven to be a much different experience.
It started when I was attempting to create a simple temporary query. Every time I tried, rather than getting an error, the code would just stop execution. I thought there was just an issue with CreateQueryDef, but then I tried something silly. I started off an if statement, getting "If a = 1 Then", and not finishing the statement. Again, rather than throwing me a compile error, the code just quits. I've looked all over for some bizarre setting in Access or VBA that would quit code before throwing an error, but I can't find anything for the life of me. Would someone humor me and point this out to me? Or am I not nuts and this is truly bizarre?
It started when I was attempting to create a simple temporary query. Every time I tried, rather than getting an error, the code would just stop execution. I thought there was just an issue with CreateQueryDef, but then I tried something silly. I started off an if statement, getting "If a = 1 Then", and not finishing the statement. Again, rather than throwing me a compile error, the code just quits. I've looked all over for some bizarre setting in Access or VBA that would quit code before throwing an error, but I can't find anything for the life of me. Would someone humor me and point this out to me? Or am I not nuts and this is truly bizarre?
Comment