Create a tab in a beas form with a grid
RespondidaHello,
there the possibility, through beas-script, to add a tab to a beas form (i.e. Item Master data) that contains a grid, maybe created with a simple sql statement.
I'm able to add tab with textedit and combobox object, but I didn't find any suggestion on how to add a simple grid.
Thank you for any suggestion.
Kind regards.
Massimo
-
Comentario oficial
Hello Massimo,
I prepared a small example which will add an extra tab in Item Master Data and displays a grid based on a query.
In this case, we need to link the new tab to dw_3 because in other tabs dw_2 is already used:windowevent postopen
etab=add=tab01=Test
etab=refdw=tab01=dw_3
dw_3=createdataobject=grid=select * from OITM
dw_3=retrieve
dw_3=hscrollbar=true
dw_3=vscrollbar=true
end event
Create Tab and link it to a dw_x (refdw):
http://portal.beascloud.com/docs/help/beasscript2/index.html?ue_tab_properties.htm
Create Grid in dw_x (createdataobject):
http://portal.beascloud.com/docs/help/beasscript2/index.html?dw_1.htm
Regards,
Thorsten
Iniciar sesión para dejar un comentario.
Comentarios
1 comentario