FireDAC TFDConnection option StrsEmpty2Null in UniDAC is TCustomDataSet option.
Posted: Thu 29 Apr 2021 16:31
Hello!
I'm migrating from FireDAC to Devart UniDAC.
I found the next problem.
In FireDAC I have StrsEmpty2Null option in the FormatOptions of my TFDConnection object.
In UniDAC I have a similar option: SetEmptyStrToNull but in this case, is in TCustomUniDataSet.Options.
This means, that I need to activate it on all the DataSets of my program. Those that create at design time and those created at run time.
Do you know how to do this globally, like if FireDAC?
I'm migrating from FireDAC to Devart UniDAC.
I found the next problem.
In FireDAC I have StrsEmpty2Null option in the FormatOptions of my TFDConnection object.
In UniDAC I have a similar option: SetEmptyStrToNull but in this case, is in TCustomUniDataSet.Options.
This means, that I need to activate it on all the DataSets of my program. Those that create at design time and those created at run time.
Do you know how to do this globally, like if FireDAC?