To All
How do I write NULL to a numeric or a nvarchar field on a Sql Server table .. when I do this :
oRsFac:Fields("permnum"):Value := if(i->permnum = 0, '', i->permnum )
"permnum" is a nvarchar(255) and i->permnum is numeric 10,0 .. The if() statement writes a zero to the SQL table and not the '' or NULL value ..
Same problem when I test for a char field and want to write NULL to the SQL table ..
Any Ideas ??
Thanks
Rick Lipkin