G
Guest
Hi
i made a command button which is open a form(no modal) linked with the main
form .How i can synchronize scrolling at the main form with the corresponding
records at the pop up form ?
----------------------------------------------------------------------
Private Sub Command44_Click()
On Error GoTo Err_Command44_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = ChrW(913) & ChrW(953) & ChrW(964) & ChrW(951) & ChrW(963) &
ChrW(951) & ChrW(95) & ChrW(70)
stLinkCriteria = "[EmployeeID]=" & Me![EmployeeID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_Command44_Click:
Exit Sub
Err_Command44_Click:
MsgBox Err.Description
Resume Exit_Command44_Click
End Sub
i made a command button which is open a form(no modal) linked with the main
form .How i can synchronize scrolling at the main form with the corresponding
records at the pop up form ?
----------------------------------------------------------------------
Private Sub Command44_Click()
On Error GoTo Err_Command44_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = ChrW(913) & ChrW(953) & ChrW(964) & ChrW(951) & ChrW(963) &
ChrW(951) & ChrW(95) & ChrW(70)
stLinkCriteria = "[EmployeeID]=" & Me![EmployeeID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_Command44_Click:
Exit Sub
Err_Command44_Click:
MsgBox Err.Description
Resume Exit_Command44_Click
End Sub