I will try to be as descriptive as possible, but this error has me stumped and I am not sure what relevant info to include....
I am running Access XP on a Windows XP machine. I initially began developing an app in Access 2000 but converted it several months ago to XP. So the app is now Access XP format also.
My app is crashing on a regular basis, with the totally non-descript Microsoft error (Microsoft Access has encountered a problem and needs to close. Do you want to send an error report to Microsoft?). Every time, I send the error report to MS. One time I actually received a response from them, telling me that they were aware of a bug in Access XP that might be causing my error, and that the bug would be fixed in Office XP Service Pack 3 (which still has not been released).
Anyway, I'm not entirely convinced that it's a MS error because it does not happen with regularity on the same event(s). The error nearly always occurs on one particular form, when I click a button that performs a series of queries based upon some "If Then" conditions. After performing the queries, the main form (on which the button is located) also performs a requery of two subforms (which are continuous forms). All of this works fine (the queries, the If conditions, and the two Requery events), so I do not believe I have a code issue. However, about one time in every 10 or so, I click the button, the queries will run, and then (I think as it is attempting the requery), I get the error and Access shuts down. What I have noticed is that if I temporarily move the back-end off our server and onto a local PC (where the front-end is housed), the error occurs much less frequently (maybe once in every 50 tries instead of once in every 10), which makes me think it may have something to do with the BE sitting on a network drive. Otherwise, though, the FE-BE setup seems to work fine (no real speed issues or anything). Also, I am the only one using the app right now, so it's not an issue of multiple users trying to access it at the same time or anything like that.
Anyhow, I know there may be no one that can help based upon this amount of information. I guess I am just wondering if anyone has had a similar error and if anyone knows if there may be some network/refreshing type settings I should check on, or anything like that. If it crashed every time, I would obviously assume a problem with my code, but the fact that it runs fine more times than not has me stumped.
Sorry for the long-winded description. If anyone has any ideas (or even stabs in the dark), I'd certainly appreciate hearing them. I am trying to roll this app out for other users in the near future, and obviously I can't have it crashing all the time.
Thanks.
I am running Access XP on a Windows XP machine. I initially began developing an app in Access 2000 but converted it several months ago to XP. So the app is now Access XP format also.
My app is crashing on a regular basis, with the totally non-descript Microsoft error (Microsoft Access has encountered a problem and needs to close. Do you want to send an error report to Microsoft?). Every time, I send the error report to MS. One time I actually received a response from them, telling me that they were aware of a bug in Access XP that might be causing my error, and that the bug would be fixed in Office XP Service Pack 3 (which still has not been released).
Anyway, I'm not entirely convinced that it's a MS error because it does not happen with regularity on the same event(s). The error nearly always occurs on one particular form, when I click a button that performs a series of queries based upon some "If Then" conditions. After performing the queries, the main form (on which the button is located) also performs a requery of two subforms (which are continuous forms). All of this works fine (the queries, the If conditions, and the two Requery events), so I do not believe I have a code issue. However, about one time in every 10 or so, I click the button, the queries will run, and then (I think as it is attempting the requery), I get the error and Access shuts down. What I have noticed is that if I temporarily move the back-end off our server and onto a local PC (where the front-end is housed), the error occurs much less frequently (maybe once in every 50 tries instead of once in every 10), which makes me think it may have something to do with the BE sitting on a network drive. Otherwise, though, the FE-BE setup seems to work fine (no real speed issues or anything). Also, I am the only one using the app right now, so it's not an issue of multiple users trying to access it at the same time or anything like that.
Anyhow, I know there may be no one that can help based upon this amount of information. I guess I am just wondering if anyone has had a similar error and if anyone knows if there may be some network/refreshing type settings I should check on, or anything like that. If it crashed every time, I would obviously assume a problem with my code, but the fact that it runs fine more times than not has me stumped.
Sorry for the long-winded description. If anyone has any ideas (or even stabs in the dark), I'd certainly appreciate hearing them. I am trying to roll this app out for other users in the near future, and obviously I can't have it crashing all the time.
Thanks.