I have designed several systems now, using a lot of VBA. When I find that I can't do something, the wonderful VIPs on this site either give me direct help or point me at a site that solves the problem. Several of the procedures that I have gotten in the past are preceded by "Set" statements like:.
4 Set db = CurrentDb
5 Set rst = db.OpenRecordset("tblDanceClass", _
dbOpenDynaset)
I have such statements all over my code, but don't know what they mean. A very uncomfortable feeling. I have googled , but haven't found anything that explains exactly what this means or why it is needed. I am already in my current data base, so why "set" it?. The set rst open statement doesn't seem to open the query or table in the parenthesis, so what does it do.? I know that it isn't practical to give me the lesson on this site, but can someone point me at a book or site that would explain it in simple terms?