T
Tamara
I have a tick box field called 'oldcase' in a form - it is meant to show
cases >9 months old. LodgementDate is the date case was lodged. In the
properties of the whole form I have code under 'before update' which states
If Me.LodgementDate < (Now()-270) Then
Me.Old case = 1
Else
Me.Old case = 0
This works fine when I enter data in the form but if I am just looking
through the form another day without updating data - the field 'oldcase' does
not update - can you please advise how to update - I know it is something to
do with 'dirty' but don't know what to do with it.
cases >9 months old. LodgementDate is the date case was lodged. In the
properties of the whole form I have code under 'before update' which states
If Me.LodgementDate < (Now()-270) Then
Me.Old case = 1
Else
Me.Old case = 0
This works fine when I enter data in the form but if I am just looking
through the form another day without updating data - the field 'oldcase' does
not update - can you please advise how to update - I know it is something to
do with 'dirty' but don't know what to do with it.