Automation Error???

G

Guest

Suddenly something has gone wrong with my database. I tried re-compacting it
and removing and re-adding the OLE Automation library to no avail. Each time
I try to run a DLookup it returns the following error: "runtime error
'-2146500594 (800f000e)': automation error

When it does not return the error it returns a Null value where I know there
is no null. For example: =DLookUp("[LastName]", "Employees", _
"[EmployeeID] = " & Forms![Orders]![EmployeeID])

returns the automation error or tells me that there is a null value in the
form control when I know damn well there is not.

Any ideas???
 
G

Guest

I'd like to not jump to decompile. Everything was working well. I have a form
by the name "FormJournalID". There is a control box on it named "cboSelInv".
If I type ?Forms!FormJournalID.cboSelInv at the immediate window in VBA while
the form is open and not in design view with some data item selected I figure
that I should get a returned result of the selected data item. Instead, I get
the automation error. I cannot get the result of any textbox input either.
Does this mean I'm at the point where I should try to decompile?

Alex Dybenko said:
Check project references (menu tools-references), all checked should be in
place
Try to decompile:
http://www.mvps.org/access/bugs/bugs0008.htm

--
Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com

Ray S. said:
Suddenly something has gone wrong with my database. I tried re-compacting
it
and removing and re-adding the OLE Automation library to no avail. Each
time
I try to run a DLookup it returns the following error: "runtime error
'-2146500594 (800f000e)': automation error

When it does not return the error it returns a Null value where I know
there
is no null. For example: =DLookUp("[LastName]", "Employees", _
"[EmployeeID] = " & Forms![Orders]![EmployeeID])

returns the automation error or tells me that there is a null value in the
form control when I know damn well there is not.

Any ideas???
 
B

Brian Wilson

Ray S. said:
I'd like to not jump to decompile. Everything was working well. I have a
form
by the name "FormJournalID". There is a control box on it named
"cboSelInv".
If I type ?Forms!FormJournalID.cboSelInv at the immediate window in VBA
while
the form is open and not in design view with some data item selected I
figure
that I should get a returned result of the selected data item. Instead, I
get
the automation error. I cannot get the result of any textbox input either.
Does this mean I'm at the point where I should try to decompile?


If you do the decompile on a copy, then you're only risking 30 seconds work!



Alex Dybenko said:
Check project references (menu tools-references), all checked should be
in
place
Try to decompile:
http://www.mvps.org/access/bugs/bugs0008.htm

--
Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com

Ray S. said:
Suddenly something has gone wrong with my database. I tried
re-compacting
it
and removing and re-adding the OLE Automation library to no avail. Each
time
I try to run a DLookup it returns the following error: "runtime error
'-2146500594 (800f000e)': automation error

When it does not return the error it returns a Null value where I know
there
is no null. For example: =DLookUp("[LastName]", "Employees", _
"[EmployeeID] = " & Forms![Orders]![EmployeeID])

returns the automation error or tells me that there is a null value in
the
form control when I know damn well there is not.

Any ideas???
 
A

Alex Dybenko

Try to run ?Forms!FormJournalID!cboSelInv instead

--
Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com

Ray S. said:
I'd like to not jump to decompile. Everything was working well. I have a
form
by the name "FormJournalID". There is a control box on it named
"cboSelInv".
If I type ?Forms!FormJournalID.cboSelInv at the immediate window in VBA
while
the form is open and not in design view with some data item selected I
figure
that I should get a returned result of the selected data item. Instead, I
get
the automation error. I cannot get the result of any textbox input either.
Does this mean I'm at the point where I should try to decompile?

Alex Dybenko said:
Check project references (menu tools-references), all checked should be
in
place
Try to decompile:
http://www.mvps.org/access/bugs/bugs0008.htm

--
Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com

Ray S. said:
Suddenly something has gone wrong with my database. I tried
re-compacting
it
and removing and re-adding the OLE Automation library to no avail. Each
time
I try to run a DLookup it returns the following error: "runtime error
'-2146500594 (800f000e)': automation error

When it does not return the error it returns a Null value where I know
there
is no null. For example: =DLookUp("[LastName]", "Employees", _
"[EmployeeID] = " & Forms![Orders]![EmployeeID])

returns the automation error or tells me that there is a null value in
the
form control when I know damn well there is not.

Any ideas???
 

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

Automation Error with IE 8 in Access 2007 2
Reference Issues 3
Automation Error 2
Runtime Error 3
Refedit-automation error 1
#Error from dlookup 2
Error 2471 10
Unspecified Automation Error 11

Top