i'm using PB 6.0
i have two datawindow-master and detail in a window.
i also have a menu for creating a new record. can anybody tell me how to go about:
1. when the new menu item is clicked the datawindow should be cleared (both the datawindows for the new row to be inserted - master dw is freeform and detail dw is grid).
2. what to do when the user wants to just add one record in the detail datawindow. e.g. if 5 records are existing for a particular master parent record the user wants to add the sixth record. In such a case one row has to be appended to the grid style datawindow.
I tried a lot but couldn;t get to the solution. I would appreciate if anybody could help me since i'm a beginner in PB.
Thanks in advance.
i have two datawindow-master and detail in a window.
i also have a menu for creating a new record. can anybody tell me how to go about:
1. when the new menu item is clicked the datawindow should be cleared (both the datawindows for the new row to be inserted - master dw is freeform and detail dw is grid).
2. what to do when the user wants to just add one record in the detail datawindow. e.g. if 5 records are existing for a particular master parent record the user wants to add the sixth record. In such a case one row has to be appended to the grid style datawindow.
I tried a lot but couldn;t get to the solution. I would appreciate if anybody could help me since i'm a beginner in PB.
Thanks in advance.