Chez moi elle s'initialise au lancement
je recois now a chaque demarrage
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 Sub Form_Load() Dim db As DAO.Database 'Déclare une varaible objet DAO.Property Dim prp As DAO.Property On Error Resume Next Set db = CurrentDb Set prp = db.CreateProperty("DateOuverture", dbDate) prp.Value = Now db.Properties.Append prp db.Properties("DateOuverture") = Now MsgBox prp.Value Set prp = Nothing Set db = Nothing end sub








Répondre avec citation





Partager