Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / September 2005

Tip: Looking for answers? Try searching our database.

error message

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
xlcharlie - 08 Sep 2005 20:30 GMT
I'm trying to create a form that will open another, filtered form when you
trigger an event (double click a record).  Something has happened so that I
can't close the form once it is open or switch to form view if I have it in
design view (and vice versa).  I get the following error message.

"This action will reset the current code in break mode.
Do you want to stop the running code?
* To halt the execution. . .
* To leave the code . . ."

I've tried "commenting" out all the code I've written thus far, thinking
that would solve any problems arising from my poor programing.  Nonetheless,
I'm still geting the error message.  When I click to halt the execution, the
same error just pops back up, again and again.  Any clue what could be
causing this/how to fix it?  The code I was using is below.

'Option Compare Database

'Private Sub cmdSearch_Click()
   'open_Browser
'End Sub

'Option Compare Database

'Private Sub Company_DblClick(Cancel As Integer)
'Dim mode As String
'open_Entry (mode = "acFormReadOnly")
'End Sub

'Private Sub GroupTitle_DblClick(Cancel As Integer)
'Dim mode As String
'open_Entry (mode = "acFormReadOnly")
'End Sub

'Private Sub ID_DblClick(Cancel As Integer)
'Dim mode As String
'open_Entry (mode = "acFormReadOnly")
'End Sub

'Private Sub txtFullName_DblClick(Cancel As Integer)
'Dim mode As String
'open_Entry (mode = "acFormReadOnly")
'End Sub

'Option Compare Database

'Sub open_Browser()

'End Sub

'Sub open_Entry(mode)

'DoCmd.OpenForm "frm_Entry", acNormal, , "ID=" & Me.ID, mode

'End Sub
Klatuu - 08 Sep 2005 20:56 GMT
It is possible you saved the code while you had a breakpoint set.  This will
cause the breakpoint to occur whenever you run the code after that.  Open the
module, select clear all breakpoints, recompile and try again.
If that doesn't work, try 2 shots of Scotch and a Cuban cigar.

> I'm trying to create a form that will open another, filtered form when you
> trigger an event (double click a record).  Something has happened so that I
[quoted text clipped - 51 lines]
>
> 'End Sub
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.