Form/Subform Visual Basic Error?

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

Guest

Hi,

I have created a form/subform with the form wizard - the form being a date
and train, and the subform being a log of delay events for that train (a
one-many relationship). When I try to add an event in the subform, access
returns the following error:

An Error Occured while referencing the object
you tried to run a visual basic procedure that improperly references a
property or method of an object.

I click the OK button and continue to enter data, and the records are
entered and related properly...this doesn't happen when I go to the table and
enter the delays there - any thoughts?

Thanks in advance,

JDA
 
When I press Ctrl+G, my immediate window only shows a blank "immediate"
window...I cannot find any modules to open...do I need administrator rights
 
I can see the menus, and I can see my DB in the project window - the compile
(and most other) option is greyed out...there are no modules in the DB...?
 
Visual Basic for Applications
MS 9.0 Object Library
OLE Automation
MS Active X Data Objects 2.1 Lib
MS DAO 3.6 Object Lib

I have run the Compact & Repair, and I have turned off AutoCorrect....?
 
Okay: no code. Standard libraries. Compact/repair doesn't work.

Try creating a new (blank) database:
File | New
If the problem occurs there also, then you need to reinstall Office/Access.
 
Allen,

Thanks for the suggestions...I am going to try to start over, but I think
there's something cooking "uner the hood" - we run a custom build XP where I
work, and I have more trouble with permissions...IT paranoia I guess.

Thanks again,

JDA
 
Back
Top