1. I use SetItem() to assign now() value in a datetime field
in datawindow. It works fine in PB but it doesn't not work
in APB 6.2. APB doesn't receives the value.
2. I use Editmask for a datetime field. In APB 6.2, I cannot
key in value in the mask MMM DD YYYY. I can key in valuse in
the mask YYYY MM DD but I have to press twice in the
begining YYYY. User will get confused doing so.
Is this the bug? Or can I have a solution?
Many thanks,
Jason
We have reproduced the first issue.
And we can't reproduce the second issue, could you send me
the datawindows srd and the screenshot of the settings in
Control Panel | Regional and language options | Regional
Options | Customize | date and time so that we could
reproduce the error?
And what's your location?
Regards,
Steven
For your first issue, the reason is the type mismatch causes
this error(the column type is datetime and the setting value
type is time). You can use scripts below to work around this
issue.
dw_1.setitem( long row, integer column, DateTime(today(),
now()))
Regards,
Steven