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


Groups > comp.lang.clipper.visual-objects > #12549

Re: Quickest way to show decimal seperator in SLE

From Johan Nel <johan.nel@xsinet.co.za>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Quickest way to show decimal seperator in SLE
Date 2019-06-26 08:37 +0200
Organization A noiseless patient Spider
Message-ID <qev3s8$hta$1@dont-email.me> (permalink)
References <r1r3hepj1a7bbklfdeu8iquj4rvmu1ji58@4ax.com> <qetmdk$1af9$1@gioia.aioe.org> <3n35he1e44a4ugupnpe6rjmh94t3400vtn@4ax.com>

Show all headers | View raw


Hi Dick,

Glad you got it sorted.  I think it actually use your Regional Settings 
somewhere in the Transform, but I might be wrong.

Johan

On 2019/06/25 23:24, D.J.W. van Kooten wrote:
> Replying on message of Tue, 25 Jun 2019 13:42:13 -0400 from Jamal:
>
>
> Hello Jamal, Johan,
>
> Thanks for your help. The @R applied in the picture actually did not
> work; the Transform didn't work either (I tried to apply it in our
> SayIt routine which fills controls from the dbf).
>
> I did some more searching and guess what: this remark from Geoff of
> 30-4-2000 in this NG did do the trick:
>
> "Do those SLE's also have FieldSpecs? They override picture clauses."
>
> I removed the fieldspec and then the picture worked. I actually also
> had to remove the @R because with a @R I can not edit an existing
> value by adding a number in front of it; it will simply ignore it on
> save.
>
> But this seems to work fine:
>
> 	cPic:="999,999.99"
> 	SELF:oDCmCREDITLIM:Picture:=cPic
>
> This will shows as 123.456,78 (and it does no longer remove figures).
> So it does NOT make 123,456.78 from it as you might expect from the
> picture - so I expect it to follow the Europe settings.
>
> I'll have to check on my USA customer's system if there the same
> picture does show there as 123,456.78. I'll let you know for future
> reference.
>
> Dick
-- 
*Johan Nel*
FOX member : Friend(s) of XSharp
X# Website : https://xsharp.info
X# Forums : https://xsharp.info
George, South Africa

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Quickest way to show decimal seperator in SLE D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2019-06-25 11:44 +0200
  Re: Quickest way to show decimal seperator in SLE Johan Nel <johan.nel@xsinet.co.za> - 2019-06-25 13:18 +0200
    Re: Quickest way to show decimal seperator in SLE D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2019-06-25 17:01 +0200
  Re: Quickest way to show decimal seperator in SLE "Jamal" <nospam@example.com> - 2019-06-25 13:42 -0400
    Re: Quickest way to show decimal seperator in SLE D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2019-06-25 23:24 +0200
      Re: Quickest way to show decimal seperator in SLE Johan Nel <johan.nel@xsinet.co.za> - 2019-06-26 08:37 +0200
        Re: Quickest way to show decimal seperator in SLE D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2019-06-26 12:40 +0200

csiph-web