I insert a new row into a DataWindow with InsertRow(). Some of the
colunms
are NULL. For some of these columns 'Required' is active in the
DWPainter
Properties->Edit tab. Furthermore in the Validation Tab there is the
validation expression "Len(GetText()) > 0 AND NOT IsNull(GetText())".
But when I call AcceptText() these NULL columns are not recognized. When
I pass
the columns with keyboard tab or click them the validation test is
executed.
I tried to change the row-columns status to DataModified!.
SetItemStatus()
returns 1 which means successful completion. But when I call
GetItemStatus()
immediately after that I get the status NotModified!.
What is wrong?
Im using PB 5.0.03.
TIA
Ingo
AcceptText() will not force validation for all columns, just the current
column.
You may want to consider the FindRequired() function.
--
John Strano
[TeamPS]
Have a heart,
http://home.sprynet.com/sprynet/JCredit/eds_stry.htm