I have done a bit with VBA now, but just recently started trying to clean up my code and making functions rather than duplicating the code. I have naturally run into a few synax problems on the way.
The main problem that I keep having problems with is the requery.
One of the chunks of code had Subform.requery
Now when I try to do that, it says "object required".
I have tried passing "subform" as a variable to the function, with the same result.
Any idea how I can do this?
Thanks