Consultor Eletrônico



Kbase 16770: How To Remove Error 74 From Reports Where Values Do Not Fit
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
How To Remove Error 74 From Reports Where Values Do Not Fit

Error 74 will display on a report when the data being
displayed for a field will not fit the display format for
that field.

Consider the following code sample:

def var a as char init "test1".
def var b as int format "999".

define frame testfr
a b.
output to test.txt.
assign b = 1234.
display a b with frame testfr.

The report, test.txt contains the following:

** Value 1234 cannot be displayed using 999. (74)

a b
-------- ---
test1 ???

You may stop this error from displaying on your report
by adding a no-error to the display statement. Note that
this can only be done in Version 8 and higher.

So changing the display statement to:

display a b with frame testfr no-error.

will give the following results (without the error) in test.txt:

a b
-------- ---
test1 ???


Progress Software Technical Support Note # 16770