K
keith.loney
Hi,
I need to copy the primary key of one table to be in
another table this i am attempting to do by clicking a
open form button to open the second form
so far the code i have been playing with is like this
Dim stDocName As String
Dim StLinkCriteria As String
stDocName = "Frm:Contacts"
StLinkCriteria = "[unit_no] = " & "'" & Me![c_unit]
& "'"
DoCmd.OpenForm stDocName, , , StLinkCriteria
Any help appreciated
I need to copy the primary key of one table to be in
another table this i am attempting to do by clicking a
open form button to open the second form
so far the code i have been playing with is like this
Dim stDocName As String
Dim StLinkCriteria As String
stDocName = "Frm:Contacts"
StLinkCriteria = "[unit_no] = " & "'" & Me![c_unit]
& "'"
DoCmd.OpenForm stDocName, , , StLinkCriteria
Any help appreciated