Setting empty string to null automatically
Posted: Tue 26 Jan 2010 10:51
Hi,
D2010 > UniDAC > SQL Server 2008
Is there any way I can globally (in TUniConnection or TUniQuery) set it to force empty TWideString fields to nulls for posting to SQL Server (or other DBs).
I know I can set these at the field level before posting but I wanted to do it generally across the application.
If it's not possible, where should I look to amend the UniDAC source to achieve this effect please?
Regards, Paul.
D2010 > UniDAC > SQL Server 2008
Is there any way I can globally (in TUniConnection or TUniQuery) set it to force empty TWideString fields to nulls for posting to SQL Server (or other DBs).
I know I can set these at the field level before posting but I wanted to do it generally across the application.
If it's not possible, where should I look to amend the UniDAC source to achieve this effect please?
Regards, Paul.