1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| On Error GoTo GestErr
Set Money = OpenDatabase("C:\caisse\money")
MsgBox "Set Money Ok", vbInformation '----------------------------
Set sdecais = Money.OpenRecordset("sdecais")
MsgBox "Set sdecais Ok", vbInformation '----------------------------
Set brou = Money.OpenRecordset("brou")
MsgBox "Set brou Ok", vbInformation '----------------------------
If Text1.Text = "" Then
MsgBox "If Text1.Text Ok", vbInformation '----------------------------
If MsgBox(" SAISIE NUMERO DU FLUX OBLIGATOIRE !", vbInformation, "Attention !") = vbOK Then
MsgBox "If MsgBox(SAISIE ... Ok", vbInformation '----------------------------
Text1.SetFocus
MsgBox "Text1.SetFocus Ok", vbInformation '----------------------------
End If
Else
Label6.Caption = Format(dtchoix, "MM/YYYY")
MsgBox "Label6.Caption Ok", vbInformation '----------------------------
sdecais.AddNew
MsgBox "sdecais.AddNew Ok", vbInformation '---------------------------- |