Hi everyone,
I need some help with this problem.
I've got two date fields - DateSent and DateTstReslt
I have a field on the form that stores the no of weeks between the two dates. If there is no entry for 'DateTstReslt' then today's date is used.
What I would like to do is to ensure is that whenever 'DateTstReslt' is empty, the system should use today's date to calculate the no of weeks.
If a value is entered for 'DateTstReslt' and then deleted, what value should I check for, in order for the system to revert back to today's date in order to calculate the no of weeks?
Am I making any sense??
I tried the following
If Len(Me.DateTstReslt & vbNullString) = 0 then
also
If DateTstReslt = null then
and
If DateTstReslt = "" then
None of the above seems to be matching the value in DateTstReslt when its entry has been deleted.
What should I check for???
thanks
Will
I need some help with this problem.
I've got two date fields - DateSent and DateTstReslt
I have a field on the form that stores the no of weeks between the two dates. If there is no entry for 'DateTstReslt' then today's date is used.
What I would like to do is to ensure is that whenever 'DateTstReslt' is empty, the system should use today's date to calculate the no of weeks.
If a value is entered for 'DateTstReslt' and then deleted, what value should I check for, in order for the system to revert back to today's date in order to calculate the no of weeks?
Am I making any sense??
I tried the following
If Len(Me.DateTstReslt & vbNullString) = 0 then
also
If DateTstReslt = null then
and
If DateTstReslt = "" then
None of the above seems to be matching the value in DateTstReslt when its entry has been deleted.
What should I check for???
thanks
Will