Hello,
I've found a bug in the 4.2 release.
In a EhDbgrid, if a column has a picklist and a keylist, both lists
can't have a blank value anymore.
The compilation is fine, but at run-time, when the form containing
the grid is shown, there is an internal error and the form is messed
up.
This only happens with 4.2 release, as I've reinstalled previous
Ehlib releases just to be sure of this.
As an exemple, here is the DFM code of my form, before 4.2 :
FieldName = 'motif'
KeyList.Strings = (
''
'P'
'T')
PickList.Strings = (
''
'P'
'T')
and now, here is the new DFM code compliant with 4.2 :
FieldName = 'motif'
KeyList.Strings = (
' '
'P'
'T')
PickList.Strings = (
' '
'P'
'T')
So I had to add code in the BeforePost sections of all my tables
just to be sure that no spaces will be stored in the database.
I hope you'll manage to fix that bug, cause I can't imagine
reopening all of my projects just to change the picklist/keylist
values.
thanks for you help.
Fred.