Re: 4GL Forms: Format Attribute
Posted in 1997
Topics: Stored Procedures & SPL, Connectivity: ESQL/C, 4GL & Embedded SQL
Scott Nemec wrote: > > We're finally converting a 4gl app from ver 4.x to ver 6.02, and a Screen > Form doesn't format the decimal values the same way in 6.02. The Format > attribute is using commas for the thousands place marker and the decimal > point. In 6.02, the Form displays the comma's and decimal points as > spaces, and when a field is made current a question mark further messes up > the format. > > Any suggestions on what is wrong and/or how to fix it without rewriting > the screen? Have you set DBFORMAT? This has been around since 4.10, but maybe it's now compulsary. sh DBFORMAT='front:thousands:decimal:back' export DBFORMAT ksh export DBFORMAT='front:thousands:decimal:back' csh setenv DBFORMAT 'front:thousands:decimal:back' Example value: '$:,:.:' Hope that helps, (Please let us know if it does :) -- Mark. +------------------------------------------------------------------+ |Mark D. Stock - The West Solutions Group http://www.west.co.za | | The Informix FAQ is at http://www.iiug.org | |mailto:marks@west.co.za +-----------------------------------------+ |Tel: +27 11 803 2151 |If it doesn't work, force it! | |Fax: +27 11 803 2189 |If it breaks, it needed replacing anyway!| |Cell: +27 83 250 2325 |Well, that's how I code anyway! | +------------------------+-----------------------------------------+