A.
This:
. . . looks like it might be an issue because the Nz() function has TWO parameters;
1. The field/value you are testing for Null [which you have in there]
2. The value to substitute the Null WITH [which you do not have].
If you do not provide the second parameter [value_if_null] - Access will provide a zero-length-string.
If you are trying to put that zero-length-string into your date field you could get that error.
I'm thinking you should try something like this:
Code:
STR_TSS_D = Nz(Forms!Frm_Update!TXT_TSS_COMP_D.Value, Value_To_Use_If_TXT_TSS_COMP_D_Is_Null)
B.
In your table design - is the Date field 'Required'?
If it is, you not only MUST provide a value, but since the field is formatted as 'Date' - you have to provide a valid Date.
In some test environments that I have worked in, the development team has decided on a date to use for test records. It has always been a date that any User would know was not a possible valid date - for instance 11/11/1111.
Idon't know what dates your table contains, but see if this gives you something to start with.
Let us know if you still have problems.
