A
Anna
Access 97
In the 'Before Update' event of my form I have some code
that creates a number based on a date inputted previously
in the form:
If Me.NewRecord Then
Me!DateB = DateDiff("d",#01/01/00#,[DateA])
End If
For the majority of cases, this works fine, but I have
noticed some strange results creeping in - when checked,
some DateBs were 1 day out, some 3 days and one was a year
out!
Any ideas as to why this may be?
Many thanks,
Anna
In the 'Before Update' event of my form I have some code
that creates a number based on a date inputted previously
in the form:
If Me.NewRecord Then
Me!DateB = DateDiff("d",#01/01/00#,[DateA])
End If
For the majority of cases, this works fine, but I have
noticed some strange results creeping in - when checked,
some DateBs were 1 day out, some 3 days and one was a year
out!
Any ideas as to why this may be?
Many thanks,
Anna