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

dateSLE Question

147 views
Skip to first unread message

Siegfried Reichmann

unread,
May 23, 2013, 4:02:27 AM5/23/13
to
Hi all,

I am using VO 2.8 SP3 and I have a strange behaviour with rightSLE
(rightSLE version 2.8f).

I have some date fields where I enter data direct to the dbserver.
(inherited from dateSLE). This works well when entering the date by
keyboard or selecting a date using the calendarcontrol button. After
pressing the Save button, the date values are stored in the database as
entered.

But in the following circumstances, the date value changes are shown
correctly in the control but in the database they are not changed after
pressing the Save button:
- doubleclick the rightsle control shows the current date in the control
but after pressing the save button, the value remains unchanged.
- also when using the + or - to count up/down the date value. The new
value is shown in the control, but no changes in the database.

Has anyone used this funktions with dateSLE? What could be the reason
for this behaviour?

Thanks in advance

Siegfried

Farid

unread,
May 23, 2013, 2:43:34 PM5/23/13
to
Try a :commit() and see what's in the DBF.

D.J.W. van Kooten

unread,
May 23, 2013, 6:27:31 PM5/23/13
to
On Thu, 23 May 2013 11:43:34 -0700 (PDT), Farid
<farid...@gmail.com> wrote:


>Try a :commit() and see what's in the DBF.

Indeed. I always use Commit() + Unlock() as only one might still not
write the values.

Dick

Siegfried Reichmann

unread,
May 24, 2013, 2:14:08 AM5/24/13
to
Am 23.05.2013 20:43, schrieb Farid:
> Try a :commit() and see what's in the DBF.

I always use commit(). It works well, only the value of the dateSLE are
not written to the DB, and only if I change the value with the + / - key
or a double click.

Siegfried

Willie Moore

unread,
May 24, 2013, 11:35:29 AM5/24/13
to
Siegfried,

I will look into it.

Regards,
Willie
Vulcan VIP

"Siegfried Reichmann" wrote in message
news:519dcd11$0$15847$91ce...@newsreader04.highway.telekom.at...

Farid

unread,
May 24, 2013, 12:43:38 PM5/24/13
to
CurrentText and Value *can* be different (until Focus changes, I believe). Try massaging CurrentText to correct datatype and save that.
0 new messages