LittleJess
MIS
Hi,
I have the following piece of code in my database, It doesn't seem to be doing anything though. Any ideas why ?
Option Compare Database
Private Sub Combo0_AfterUpdate()
Dim strSQL As String
strSQL = "INSERT INTO tblLocation_People(LocationID)VALUES tblLocation(LocationID);"
End Sub
I am trying to get the auto number Identifier from the subform of Location into my linking table Location_People.
Anything would be greatly appreciated.
I have the following piece of code in my database, It doesn't seem to be doing anything though. Any ideas why ?
Option Compare Database
Private Sub Combo0_AfterUpdate()
Dim strSQL As String
strSQL = "INSERT INTO tblLocation_People(LocationID)VALUES tblLocation(LocationID);"
End Sub
I am trying to get the auto number Identifier from the subform of Location into my linking table Location_People.
Anything would be greatly appreciated.