![]() |
|
|
|
|
|
|
2
11th February 18:48
External User
Posts: 1
|
<snip>
There are some other causes of this problem as well. Involving form check boxes. See Access minimizes to Windows 95/NT toolbar instead of closing http://www.mvps.org/access/bugs/bugs0005.htm Tony -- Tony Toews, Microsoft Access MVP Please respond only in the newsgroups so that others can read the entire thread of messages. Microsoft Access Links, Hints, Tips & Accounting Systems at http://www.granite.ab.ca/accsmstr.htm |
|
|
3
11th February 18:48
External User
Posts: 1
|
Actually, you got the above backwards. The suggestion to fix this problem is
to CLOSE all reocredsets, and then set all reocrdssets = nothing. Usually this fixes the problem. In reading the above, you did not close your reocrdsets when done. You some how got this mixed up..and are closing the db refs..but not the reocrdsets! In fact, the use of db.close, and setting db = nothing will not generally fix this type of problem. In fact, I would NOT execute the db.close all over the place...as it is not needed, and could actually be source of problems! (why try and close the current db ref?..it don't make sense to do that!). So, for any reocrdset that you open, you want: rstMyRecordSet.Close set rstMyrecordSet = nothing You likely don't have to worry about, or bother with the database ref "db". -- Albert D. Kallal (MVP) Edmonton, Alberta Canada pleasenonoSpamKallal@msn.com http://www.attcanada.net/~kallal.msn |
|
|
4
16th February 18:33
External User
Posts: 1
|
Hum, no. As mentioned, I have *usually* seen this problem when you declare
global reocrdsets in a standard module...and don't close them. If you have any other kind of objects that are GLOBAL, then I would also check that code. So, does that form use, or deal with any kind of global vars? (we talking about any kind of object here...and not just recordsets). Further, does the form use any special controls beyond a standard text box? -- Albert D. Kallal (MVP) Edmonton, Alberta Canada pleasenonoSpamKallal@msn.com http://www.attcanada.net/~kallal.msn |
|
|
|