Unable to open 15 error - ACC2K

T

Tony

Hi All,

I'm running into an error that I've never seen before and which is not very descriptive. The error message is:

'Unable to open 15. Cannot open the specified file'

I've searched the Internet and can't find any reference to this error. Hopefully someone can shed light on this. The particulars are as follows:
a.. Client machine is running Access 2K, SP3 & Windows XP, SP2
b.. The error occurs when one form is opened from another
c.. Checked references are, in order:
a.. Visual Basic For Applications
b.. Microsoft Access 9.0 Object Library
c.. OLE Automation
d.. Microsoft ActiveX Data Objects 2.1 Library
e.. Microsoft DAO 3.6 Object Library
The process is like this:
a.. Form1 displays records in a continuous form
b.. The user clicks on text box containing a record key
c.. Form2 is opened, for editing, with the record the user clicked from Form1
d.. The error message is displayed
e.. The user can close the error dialog and continue working
The Load event of Form2 does the following:
a.. Runs code to prevent scrolling
b.. Uses text from the record to build a script for the user
c.. Populates default values into some of the unbound controls
Any & all help is appreciated.

Ciao
 
R

ruralguy via AccessMonster.com

Hi Tony,
Select the debugger the next time and then post the code around the line
where the debugger highlights.
 
T

Tony

Hi ruralguy,

Thanks for the reply. The debug option is not available on the dialog. The
only button is OK which, when clicked, closes the dialog and allows the user
to proceed. Since I could not get any indication of the line of code that
may be an issue, I went back and stuck in a series of msgbox lines (msgbox
"test1", etc) to see if I could pinpoint where the error is coming from, but
no dice. It appears to happen on form open, but I just can't tell for sure.

Any other suggestions?

Thanks
 
R

ruralguy via AccessMonster.com

While looking at your code go to Tools>Options>General tab and on the right
set your Error Trapping to Break on All Errors. See if that will let you see
the error line causing the problem.
Hi ruralguy,

Thanks for the reply. The debug option is not available on the dialog. The
only button is OK which, when clicked, closes the dialog and allows the user
to proceed. Since I could not get any indication of the line of code that
may be an issue, I went back and stuck in a series of msgbox lines (msgbox
"test1", etc) to see if I could pinpoint where the error is coming from, but
no dice. It appears to happen on form open, but I just can't tell for sure.

Any other suggestions?

Thanks
Hi Tony,
Select the debugger the next time and then post the code around the line
[quoted text clipped - 31 lines]
 
T

Tony

Thanks again, but no luck... Any other suggestions?


ruralguy via AccessMonster.com said:
While looking at your code go to Tools>Options>General tab and on the
right
set your Error Trapping to Break on All Errors. See if that will let you
see
the error line causing the problem.
Hi ruralguy,

Thanks for the reply. The debug option is not available on the dialog.
The
only button is OK which, when clicked, closes the dialog and allows the
user
to proceed. Since I could not get any indication of the line of code that
may be an issue, I went back and stuck in a series of msgbox lines (msgbox
"test1", etc) to see if I could pinpoint where the error is coming from,
but
no dice. It appears to happen on form open, but I just can't tell for
sure.

Any other suggestions?

Thanks
Hi Tony,
Select the debugger the next time and then post the code around the line
[quoted text clipped - 31 lines]

--
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.

Message posted via AccessMonster.com
 
R

ruralguy via AccessMonster.com

Are you loading any kind of graphics or icons? Did it used to work? Have
you tried importing everything into a new fresh mdb? I'm about out of ideas,
sorry.
Thanks again, but no luck... Any other suggestions?
While looking at your code go to Tools>Options>General tab and on the
right
[quoted text clipped - 24 lines]
 
T

Tony

Hey,

No graphics, icons, etc. It used to work, and still does. User can click
OK and proceed as usual. I'll try importing and see if anything changes.

Thanks for all the feedback and ideas. I appreciate it.

Ciao


ruralguy via AccessMonster.com said:
Are you loading any kind of graphics or icons? Did it used to work? Have
you tried importing everything into a new fresh mdb? I'm about out of
ideas,
sorry.
Thanks again, but no luck... Any other suggestions?
While looking at your code go to Tools>Options>General tab and on the
right
[quoted text clipped - 24 lines]
 

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

Top