Hi,

IN2A is alphanumeric and it will create many problems if your
intention is to store amounts there. E.g. you will have to check all
input for being amount-compatible, you're losing T24 amount shortcuts
(like 10T = 10,000). If that's feasible - change field type to AMT. If
not - provide the mechanism described above for all the cases of input
and display. I afraid you're not able to do that if, for example, this
field is NOINPUT in some VERSION. I'd suggest to create an I-
descriptor that returns the formatted value and display it instead of
the field in question.

VK

On 28 јан, 17:32, Sai Prasanna <[email protected]> wrote:
> Hi,
>
> It is the  routine IN2AMT which gets triggered if the field is AMT field. So
> save the contents of COMI, V$DISPLAY and set COMI to the value in the
> CUSTOMER.AMOUNT field... and call IN2AMT with N1 and T1 appropriately
> set.... the outcoming COMI or V$DISPLAY would have the formatted value.
>
>
>
> On Fri, Jan 28, 2011 at 1:04 AM, Sridhar <[email protected]> wrote:
> > Hi Friends,
> >                 I have a field CUSTOMER.AMOUNT in a template. But, the
> > field is defined as just "A" and not "AMT". Now, what should I do
> > in order to format this field i.e 200,000.00 instead of 2000000 in the
> > version level.
>
> > Thanks in advance,
> > Sridhar
>
> > --
> > Please read the posting guidelines at:
> >http://groups.google.com/group/jBASE/web/Posting%20Guidelines
>
> > IMPORTANT: Type T24: at the start of the subject line for questions
> > specific to Globus/T24
>
> > To post, send email to [email protected]
> > To unsubscribe, send email to [email protected]
> > For more options, visit this group at
> >http://groups.google.com/group/jBASE?hl=en- Сакриј наведени текст -
>
> - Прикажи текст између наводника -

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply via email to