error when running code on form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Help! I'm having difficulties with a simple piece of code on a form. When the form loads, the value of a textbox should be set to the sum of two more textboxes. Insted I get an error message
"The expression OnLoad you entered as the event property setting produced the following error: A problem occured while Microsoft Access was communicating with the OLE server or ActiveX Control.
The same thing happens when I try to write any other code for the form
Thanks
Mathew Byrne
 
First try a Compair/Repair of the database project.

If this doesn't work, try to use a new set of controls.
If this doesn't help either, you may have to redesign a new form
and build up from scratch.

If the latter doesn't help either, you may have to create a new
database project and import all the objects from the corrupted database
(a whole new set of SysObjects will be made)

Krgrds,
Perry

Matthew Byrne said:
Help! I'm having difficulties with a simple piece of code on a form. When
the form loads, the value of a textbox should be set to the sum of two more
textboxes. Insted I get an error message:
"The expression OnLoad you entered as the event property setting produced
the following error: A problem occured while Microsoft Access was
communicating with the OLE server or ActiveX Control."
 
Thanks, the only prob was the form, the rest of the database wasn't corrupted thank god
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top