using data from repetitive area in header area
I have a problem with a user defind form.
This form get all datas from a sql-query (from @table) and show this data in the repetitive area after giving some variables (startdate [%0], enddate [%1], business number [%2]). I want use one of this fields (business number [%2]) in the repetitive area to identify the business partners and show the adresses in the header area from table OCRD. When i print this form, an error RPT -6718 occurs. My question is, can i get the information from fields in the repetitive area in the header area to identify e.g. business partners from OCRD? How can i realize it?
Thanks a lot