Hi folks;
I've only really started to use VB for important stuff quite recently, and SQL is still quite alien to me. I'm finding the syntax a real pain to get the hang of, at the moment it's just a case of shifting the inverted commas around and hoping for the best!
I have an OpenForm operation attached to the On Click property of a button. The WHERE clause generated by Access when you place a command button works fine. Here it is, I'm sure you're all familiar...
stLinkCriteria = "[CustIds]=" & Me![CustomerID]
Now, I want to add something to that clause along the lines of:
stLinkCriteria = "[CustIds]=" & Me![CustomerID] AND [CustomerName] Is Not Null
Its function is pretty straightforward, I don't feel I need to explain it to you lot but I'm having a very difficult time explaining it to Access! I keep getting Type Mismatch and "Access cannot find the field " | "..." errors, as well as plain old Syntax Errors. Can anyone help, or point me in the direction of a good resource?
Thanks!