Consultor Eletrônico



Kbase 12600: Display stream stream-name file skip(1). error 201
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
Display stream stream-name file skip(1). error 201

If you run the following code you will receive
error (201) ** Unknown Field or Variable name - <field-name>.

def stream rpt.
output stream rpt to jean.out.
for each customer:
display stream rpt customer skip(1).

The problem is the skip(1). If you remove the skip(1) the code runs
correctly.

Workaround is to put the skip(1) on a separate line.
def stream rpt.
output stream rpt to jean.out.
for each customer:
display stream rpt customer.
display stream rpt skip(1).

This is not a bug. Ther error is caused by the fact taht when a skip
is added to a form statement, the members of the display list are
treadted as fields and not an aggregrate record.

Progress Software Technical Support Note # 12600