Salut,
Au chargement d'un formulaire, je souhaite qu'apparaisse la fenetre de recherche qu'on obtient avec Ctrl+F, avec le code :
Mon code fonctionne très bien pour certains formulaires mais pas pour d'autres. Cela me donne ca :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12 Private Sub Form_Load() On Error GoTo Err_Form_Load DoCmd.RunCommand acCmdFind Exit_Form_Load: Exit Sub Err_Form_Load: MsgBox Err.Description Resume Exit_Form_Load End Sub
Qu'est ce qui peut bien clocher ?
Partager