darkwraith
Programmer
Hi, I have to insert/update a record in my table.
Sometimes it happens that the value of some fields are null.
I use iif(isnull(myfield), "", myfield.value) in my sql instruction when the field type is string.
It doesn't work with dates (an error occurs: type conversion error).
Which is the correct statement?
Thanx,
Elena
Sometimes it happens that the value of some fields are null.
I use iif(isnull(myfield), "", myfield.value) in my sql instruction when the field type is string.
It doesn't work with dates (an error occurs: type conversion error).
Which is the correct statement?
Thanx,
Elena