Page 1 of 1

Print preview different table

Posted: 2018-12-09 23:46
by vladimir
Hi,

In print preview I want to display values from different table, let's nam it customers.
I get customer name through Lookupfield. For other data of customers table Lookupfield is not appropriate (customers address, contact, ...)

Can this be done through hooks and how.

Re: Print preview different table

Posted: 2018-12-19 20:48
by a.gneady
Hmm .. if the table you are print-previewing contains a lookup field to customer name, the customer name gets displayed in the print preview. Do you want to change that to something else?

Re: Print preview different table

Posted: 2018-12-19 22:09
by vladimir
Yes I want to display other customers info that is stored in table customers.

Re: Print preview different table

Posted: 2019-01-09 14:18
by a.gneady
No need to use hooks for that. You can add another lookup field for address to the table and check the option "auto fill". Do the same to obtain the contact, ... etc.

Re: Print preview different table

Posted: 2019-02-07 13:15
by vladimir
Thanks.