G
Guest
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
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