Hello Rick Following your guidance, I also use the capitalisation method for variable names, but in addition I always compile after entering code to help catch errors. I don't remember seeing youcompile during lessons. Regards Chris.
That's because I never have errors. LOL. Ha ha. No... I'll compile when I'm DONE with a database, before I release a version to a client, or if I've got unexplained errors that I can't figure out. It is a good idea to compile often. Having "option explicit" pretty much makes sure that you declare all of your variables, and will catch misspellings of field names.
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Access Developer 19.