Delete following objects
- Block BLOCKNAME
- Block DETAILBLOCK
- Canvas BLOCKNAME
- window BLOCKNAME
Make following changes:
- Create a new block for table such as AP_INVOICES_ALL Select few fields to display
- Create Layout on New canvas. Change canvas name to meaningful name such as CNVS_INVOICES
- Create a new window, Change window for new canvas to newly created window WIN_INVOICES
- Change form property first navigable block to BLK_AP_INVOICES_ALL
- Modify PRE_FORM trigger and replaced BLOCKNAME with WIN_INVOICES
- Modify procedure app_custom.close_window and replace '<your first window>' with first window name i.e.WIN_INVOICES. If you do not modify this procedure then when you close main window, form will not close and control may go to some app property window and it can not be closed.
No comments:
Post a Comment