beas script - error trapping

Phil Sparkes

Hi,

In some languages it's possible to trap errors and continue - is it possible in beasscript? I'm trying to reuse some beas code to collect scrap information. I'm using this command:

openchild=fert_arbzeit_erfassen_scrap.psr=s_parm1:<var:e_scrapsdisplay>

It works well, but in this code file there is a command to set a column in the  'original' parent screen dw_1 datagrid that I don't have in the screen I'm calling this from (pool report).  So - I was thinking - could I trap errors before I make this call, then 'turn it off' when it returns?

Is there any other feature available in beasscript to display a window and capture scrap? Is it possible to add a column to the pool report screen programmatically? I've used a template and it's 'full up' - I can't add another column.

Thanks,

Phil

 

Comentarios

1 comentario

  • Comment author
    Martin Heigl

    Hi Phil,

    insert missing field in pool report

    create=column=name=scrap,id=templatefield1,visible=0

    this produce a new field "scrap" and save information in templatefield1

    regards

    Martin

     

    0

Iniciar sesión para dejar un comentario.