1
How I create a field in the ClientDataSet
that is not in the database and I leave it with a default value?
I need a field like FLAG_EXEMPLO
standard’S' only that I cannot create the same in the bank. It needs to be only in the DataSet
.
I’ve tried to use Calculate
and InternalCalc
with AutoGenerateValue
and Default Expression
, but nothing seems to work. I don’t know if maybe I didn’t do it the right way.
You can post your code to get an idea?
– Edward Ramos
Creates the field in Clientdataset as ftString, size 1, just after giving a Createdataset, assigns the default value to the field as’S' and no longer needs to change.
– Jefferson Rudolf