What, what should be.?
I would walk through the code line by line with F8 and look and see what it does. Inspect the variables by either hovering over them or ? variablename in the Immediate window.
You can set breakpoints in the left column (red dot) and the code will stop there.
Do yourself a favour and get a book on Access. It will save you a load of time and effort.
Not being rude, so ignore the titles. There is even a pdf to start with.?
https://www.google.com/search?q=dummies+guide+to+access+2010&oq=dummies+guide+to+access&aqs=chrome.2.69i57j0l5.12501j0j7&sourceid=chrome&ie=UTF-8
I've tried Access, could not get on with it and that was when I may have needed it for a job I was applying for. Now I dont need it, there is no way I could learn it I'm not that clever
macafee2