Thanks Chip
I will try it out.
----------------------------------------------------------------------

Message: 1
Date: Mon, 16 Mar 2020 17:17:04 -0400
From: Chip Scheide <[email protected]>
To: [email protected]
Subject: Re: AW: Programmatically change the number format? 
Message-ID: <[email protected]>
Content-Type: text/plain; charset=iso-8859-1

it is simplest to define the format in the structure under formats and filters 
giving the format a name like "MyNumericFormat"

then in code you can simply refer to the format as "|MyNumericalFormat"
NOTE: the pipe (vertical bar) in front of the name.

this way you can use the same format throughout the system, and if your needs 
change you can change it in one place and not have to search all over the 
system for, and change every occurrence of the format, where you to simply type 
the format inline (in your code directly).


Chip
********

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to