Hi all,
PB 11.5.1. build 5097
I am having troubles achieving what i want with my composite datawindow.
I have a master - detail relationship table where in table A multiple master multiple records are stored
Table B has the detail records for some of the master table records. So not every master record has detail records.
I have to print a form that prints out first an A4 page of the master record 1 , then another A4 page different layout of the detail records if present for master 1 , if no detail records for master 1 are available the next page should be the next master record, then another A4 page for master record 2 , then the detail records for master 2 (if available) , and so on ... .. You get the idea I want to retrieve this report in one datawindow ( so i can do a simple save as PDF later on).
I have created 2 datawindow's , one in which i retrieve the master record(s) , and one for the detail records belonging to its master.
How would my composite datawindow look like please ? Where in which section (header/detail/...) do i put each of the 2 datawindow's ? What for the autosize property and so on ?
I must be missing something or not seeing the obvious.
Sometimes i end up having a few dozen times datawindow 1 , but no datawindow 2.
Sometimes my datawindow 2 pops in at the bottom of the layout of the datawindow 1 ,
Sometimes i first have all the pages with the master records , then followed by the all the pages with the details ... and so on ...
Thanks in advance.
Kind regards
John