Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

APB6.2 datetime field bug?

6 views
Skip to first unread message

Jason

unread,
Nov 23, 2009, 4:13:44 PM11/23/09
to
I am using Appeon 6.2 and found there is a bug in datetime
field in datawindow. It has two issues:

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

Steven

unread,
Nov 24, 2009, 4:34:30 AM11/24/09
to
Hi 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

Steven

unread,
Nov 29, 2009, 9:45:37 PM11/29/09
to
Hi Jason,

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

0 new messages