>I am creating a program for scheduling and there is a Yes/No box that they check when they call a person. Then there is a field in the table but does not show up on the form called Time called. How would I go about putting the current time in the time called field when the Yes/No is checked?
>
>Thanks
>
>
>Bill
Add a field to the form with time data source from the table, set the visible property to false. On the update event of the check box, use the code, if chkbox=-1 then time=now(). This should enter the current date/time on the form and also in the table.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement