Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MsAccess 2000 crashing

Status
Not open for further replies.

andzejek

MIS
Sep 1, 2007
154
US
I did setup a module with public variables(12) declaration like:
Option Compare Database

Public glb_Job_descr As String
Public glb_zip_code As String
Public glb_sched_day As String
.
.
.

These variables have values assigned on a forms (with text and combo boxes) like:
Private Sub JOB_DESCRI_LostFocus()
glb_Job_descr = IIf(IsNull(Me.JOB_DESCRI.Value), "", Me.JOB_DESCRI.Value)
End Sub
It was working fine for a while but now access is crashing every time I click on combobox(try to open) any of them on one form. The only message popping up during a crash is the message which is asking to send report to Microsoft.
Can someone tell me what is wrong?
 
well, it is working again, but I don't have idea why.
Thanks
 
Back up and decompile. With complicated projects, that is projects with a number of forms and a lot of code, I find that creating a new database from time to time and importing everything from the old database keeps everything ticking away nicely.

You may find this useful:
 
Google for "Decompile"

I like to do this reqularly when messing around in the design stages.

Garry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top