1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
| Sub OpenToPMVL_AA_113()
DoCmd.OpenForm "Formulaire Mini PMV", acNormal, , , _
acReadOnly, , "PMVL_AA_113"
End Sub
Sub Form_Open(Cancel As Integer)
Dim strTatouage_PMV As String
' If OpenArgs property contains employee name, find
' corresponding employee record and display it on
' form. For example,if the OpenArgs property
' contains "Callahan", move to first "Callahan"
' record.
strTatouage_PMVL = Forms!Formulaire Mini PMV.OpenArgs
If Len(strTatouage_PMVL) > 0 Then
DoCmd.GoToControl "Tatouage PMVL"
DoCmd.FindRecord strTatouage_PMVL, , True, , _
True, , True
End If
End Sub |
Partager