I'm trying to open a form whose ID needs to be based on another forms ID number. I thought something like
Dim strWhere As String
strWhere = "[FORM1ID]=" & me!FORM2ID
DoCmd.OpenForm frmNamesEntry, acNormal, , strWhere
But this doesn't work...I just need Form2 to go to whatever record I'm currently on in Form1 any help would be greatly appreciated.
Bill
Dim strWhere As String
strWhere = "[FORM1ID]=" & me!FORM2ID
DoCmd.OpenForm frmNamesEntry, acNormal, , strWhere
But this doesn't work...I just need Form2 to go to whatever record I'm currently on in Form1 any help would be greatly appreciated.
Bill