Breakpoints in on-events of form

L

Leigh

I'm using Access 2002 .ADP connecting to SQL Server 2000.
I have created a number of forms which contains on-event
code. When I place a Breakpoint on the code and run from
the form, the code runs without stopping at the breakpoint.
 
C

chas

Hi Leigh,

Is the routine that has the breakpoint in it actually
running? (put a MsgBox in the event to see). Which event
(s) are you working with?

hth

chas
 
C

chas

Hi Leigh,

that particular error is associated with the following
text (as found in Jeterr40.chm jet error helpfile):
==============
You attempted to open a database that is already opened by
user <name> on machine <name>. Try again when the database
is available. (Error 3704)
This error occurs if the database is opened exclusively
and is not shared. This error occurs if a user creates a
new database in DAO, ADO, or Microsoft® Access and does
not close the database. Other users can open the database,
but they will get the above error message.

does that help?

Another possibility is that the breakpoint is set on a
line after where the error occurs. Try putting the
keyword 'Stop' (without quotes) at the beginning of the
routine.

hth

chas

============
 

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

DoCmd.OpenForm Suddenly Fails 0
code only works with a breakpoint 3
Break points HELP!! 5
Breakpoint not highlighted after file save 0
can't find error 2
CurrentUser and breakpoints 2
On Click Event 2
breakpoints 0

Top