Divide by Zero Error

J

Joe Cooper

Receive the folowing error when attempting to add a
new "label" to an Access 2000 form (note: form has other
controls and labels working correctly also only one form
affected):

1 - Popup error Message - Program Error
MSACCESS.EXE has generated errors and will be closed by
Windows. You will need to restart the program.
An error log is being created.

2 - Dr. Watson log has the folloging header information:

Application exception occired:
App: (pid =1628)
When: 7/15/2003 'etceteras............
Exception number: c0000094 (divide by zero)

I re-registered then replaced DAO360.dll but this did not
fix the problem.

regards,

Joe
 
A

Allen Browne

Joe, it sounds like the database is partially corrupt.

Create a new (blank) database.
Import all the other objects: File | Get External | Import.
Rebuild this one form, or import from an older backup.

If you want to try to rescue the form, you could make a backup of the
database, compact, decompile, compact again, and even set the form's
HasModule property to No. Or you could SaveAsText to create a copy of the
form in an external file, and then LoadFromText in the new database.
 
Top