Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #5271 > unrolled thread

dateSLE Question

Started bySiegfried Reichmann <siegfried_removethis@reichmann.co.at>
First post2013-05-23 10:02 +0200
Last post2013-05-24 10:35 -0500
Articles 6 — 4 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  dateSLE Question Siegfried Reichmann <siegfried_removethis@reichmann.co.at> - 2013-05-23 10:02 +0200
    Re: dateSLE Question Farid <faridwatson@gmail.com> - 2013-05-23 11:43 -0700
      Re: dateSLE Question D.J.W. van Kooten <public@ic2remove.this.com> - 2013-05-24 00:27 +0200
      Re: dateSLE Question Siegfried Reichmann <siegfried_removethis@reichmann.co.at> - 2013-05-24 08:14 +0200
        Re: dateSLE Question Farid <faridwatson@gmail.com> - 2013-05-24 09:43 -0700
    Re: dateSLE Question "Willie Moore" <williem@wmconsulting.com> - 2013-05-24 10:35 -0500

#5271 — dateSLE Question

FromSiegfried Reichmann <siegfried_removethis@reichmann.co.at>
Date2013-05-23 10:02 +0200
SubjectdateSLE Question
Message-ID<519dcd11$0$15847$91cee783@newsreader04.highway.telekom.at>
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

[toc] | [next] | [standalone]


#5272

FromFarid <faridwatson@gmail.com>
Date2013-05-23 11:43 -0700
Message-ID<0315089b-9ab5-4dfe-9d59-331df80b9549@googlegroups.com>
In reply to#5271
On Thursday, May 23, 2013 1:02:27 AM UTC-7, Siegfried Reichmann wrote:
> 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

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

[toc] | [prev] | [next] | [standalone]


#5273

FromD.J.W. van Kooten <public@ic2remove.this.com>
Date2013-05-24 00:27 +0200
Message-ID<9t5tp85ddkeibll3q2856t8qa6cdefil5i@4ax.com>
In reply to#5272
On Thu, 23 May 2013 11:43:34 -0700 (PDT), Farid
<faridwatson@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

[toc] | [prev] | [next] | [standalone]


#5274

FromSiegfried Reichmann <siegfried_removethis@reichmann.co.at>
Date2013-05-24 08:14 +0200
Message-ID<519f0532$0$15853$91cee783@newsreader04.highway.telekom.at>
In reply to#5272
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

[toc] | [prev] | [next] | [standalone]


#5282

FromFarid <faridwatson@gmail.com>
Date2013-05-24 09:43 -0700
Message-ID<16b1d6c7-86a4-4bfe-b486-f36dc8789af2@googlegroups.com>
In reply to#5274
On Thursday, May 23, 2013 11:14:08 PM UTC-7, Siegfried Reichmann wrote:
> 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

CurrentText and Value *can* be different (until Focus changes, I believe).  Try massaging CurrentText to correct datatype and save that.

[toc] | [prev] | [next] | [standalone]


#5277

From"Willie Moore" <williem@wmconsulting.com>
Date2013-05-24 10:35 -0500
Message-ID<kno1bv$4mg$1@speranza.aioe.org>
In reply to#5271
Siegfried,

I will look into it.

Regards,
Willie
Vulcan VIP

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

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 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web