freeform not working as expected

Brett Greiner (Kinetix) Brett@Kinetix.co.nz
Mon, 20 Sep 2004 10:44:11 +1200


This is a multi-part message in MIME format.

------_=_NextPart_001_01C49E9A.2E4D506C
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

We are using Ph 8.13.D2 on an AIX.

I have a data file to read in which has amounts specified as <1 char
sign>00000031.17 ie. 00000031.17 for $31.17. When I setup the element as
FREEFORM its only displayed as 31. If I remove the decimal place from
the data, it comes out correctly as 31.17. =20

The manual for Freeform says its works with leadings/trailing spaces and
an imbedded decimal point.

Here is the PDL code of the element;

Element CALTEX-VOLUME                 NUMERIC   Size 12
&
    Decimal 2 &
    Leading Sign " " &
    picture " ^^^^^^^^.^^" &
    Default Item Datatype FREEFORM SIZE 12


Can anyone help?

Thanks in advance,

Brett.

Brett Greiner,=20
Kinetix Group Ltd.,
ph. +64 6 759 1929
fx.  +64 6 759 1928

------_=_NextPart_001_01C49E9A.2E4D506C
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><!-- Fireworks MX Dreamweaver MX target.  Created =
Thu Jun 12 13:20:07 GMT+1200 (New Zealand Standard Time) 2003-->
<META content=3D"MSHTML 6.00.2800.1458" name=3DGENERATOR>
<SCRIPT language=3DJavaScript type=3Dtext/JavaScript>
<!--

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init=3D=3Dtrue) with (navigator) {if =
((appName=3D=3D"Netscape")&&(parseInt(appVersion)=3D=3D4)) {
    document.MM_pgW=3DinnerWidth; document.MM_pgH=3DinnerHeight; =
onresize=3DMM_reloadPage; }}
  else if (innerWidth!=3Ddocument.MM_pgW || =
innerHeight!=3Ddocument.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</SCRIPT>

<STYLE type=3Dtext/css>
<!--
.style1 {color: #002558}
-->
</STYLE>
</HEAD>
<BODY=20
style=3D"FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: Arial; =
BACKGROUND-COLOR: #ffffff"=20
bgColor=3D#ffffff leftMargin=3D0=20
background=3D"C:\Program Files\Common Files\Microsoft =
Shared\Stationery\kinetix.gif"=20
topMargin=3D0>
<P><SPAN class=3D126282322-19092004>We are using Ph 8.13.D2 on an =
AIX.</SPAN></P>
<P><SPAN class=3D126282322-19092004>I have a data file to read in which =
has=20
amounts specified as &lt;1 char sign&gt;00000031.17 ie.  00000031.17 for =
$31.17.=20
When I setup the element as FREEFORM its only displayed as 31. =
If</SPAN><SPAN=20
class=3D126282322-19092004>&nbsp;I remove the decimal place from the =
data, it=20
comes out correctly as 31.17.&nbsp; </SPAN></P>
<P><SPAN class=3D126282322-19092004>The manual for Freeform says its =
works with=20
leadings/trailing spaces and an imbedded decimal point.</SPAN></P>
<P><SPAN class=3D126282322-19092004>Here is the PDL code of the=20
element;</SPAN></P>
<P><SPAN class=3D126282322-19092004>Element=20
CALTEX-VOLUME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
NUMERIC&nbsp;&nbsp; Size=20
12&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
&amp;<BR>&nbsp;&nbsp;&nbsp; Decimal 2 &amp;<BR>&nbsp;&nbsp;&nbsp; =
Leading Sign "=20
" &amp;<BR>&nbsp;&nbsp;&nbsp; picture " ^^^^^^^^.^^" =
&amp;<BR>&nbsp;&nbsp;&nbsp;=20
Default Item Datatype FREEFORM SIZE 12<BR></SPAN></P>
<P><SPAN class=3D126282322-19092004>Can anyone help?</SPAN></P>
<P><SPAN class=3D126282322-19092004>Thanks in advance,</SPAN></P>
<P><SPAN class=3D126282322-19092004>Brett.</P>
<DIV align=3Dleft><SPAN class=3D056582421-16032004><FONT face=3DArial =
color=3D#000080=20
size=3D2>Brett Greiner,</FONT>=20
<DIV><FONT face=3DArial color=3D#000080 size=3D2>Kinetix Group =
Ltd.,</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000080 size=3D2>ph. +64 6 759 =
1929</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000080 size=3D2>fx.&nbsp; +64 6 759=20
1928</FONT></DIV></SPAN></DIV></SPAN></BODY></HTML>
=00
------_=_NextPart_001_01C49E9A.2E4D506C--