D
Dan
I need to convert a database to ACCDE and need to compile my VBA, however
when I select Compile under the Debug menu I get the following error, "Method
or data member not found".
The problem is that the Sub it is identifing is a part of my database and
works well when I use the database.
The code that failed was the following with ".Combo2" highlighted in the
second line.
Private Sub Combo2_AfterUpdate()
TransferSection = Me.Combo2
MsgBox "Transfer Section is " & TransferSection
RunCommand acCmdRecordsGoToNew
RunCommand acCmdSelectRecord
RunCommand acCmdPaste
RunCommand acCmdSelectRecord
Me.[Inspection Section] = TransferSection
Me.Combo2.Visible = False
Me.Refresh
End Sub
Thanks for the help
Dan
when I select Compile under the Debug menu I get the following error, "Method
or data member not found".
The problem is that the Sub it is identifing is a part of my database and
works well when I use the database.
The code that failed was the following with ".Combo2" highlighted in the
second line.
Private Sub Combo2_AfterUpdate()
TransferSection = Me.Combo2
MsgBox "Transfer Section is " & TransferSection
RunCommand acCmdRecordsGoToNew
RunCommand acCmdSelectRecord
RunCommand acCmdPaste
RunCommand acCmdSelectRecord
Me.[Inspection Section] = TransferSection
Me.Combo2.Visible = False
Me.Refresh
End Sub
Thanks for the help
Dan