A
Anna
Hi all,
I would like to be able to control the Complition Date on the form according
to the Status field, that meens that: when the Status is "Completed",
Completed Date Field will uptade the corrent date Or else leave blank.
I have tried to put the calculation on the control source on the field
properties:
=iif([Status]="Completed",=Now(),"")
But it doesn't work.
I have tried also to put it as After Update Event Procedure:
Private Sub Completion_Date_AfterUpdate()
If Me.Status = "Comp-Completed" Then
Completion_Date = Now()
End If
End Sub
But this is not working as weel.
What am I missing?
Thanks very much for the help.
I would like to be able to control the Complition Date on the form according
to the Status field, that meens that: when the Status is "Completed",
Completed Date Field will uptade the corrent date Or else leave blank.
I have tried to put the calculation on the control source on the field
properties:
=iif([Status]="Completed",=Now(),"")
But it doesn't work.
I have tried also to put it as After Update Event Procedure:
Private Sub Completion_Date_AfterUpdate()
If Me.Status = "Comp-Completed" Then
Completion_Date = Now()
End If
End Sub
But this is not working as weel.
What am I missing?
Thanks very much for the help.