Print preview different table

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
vladimir
Posts: 11
Joined: 2018-12-06 22:31

Print preview different table

Post by vladimir » 2018-12-09 23:46

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.

User avatar
a.gneady
Site Admin
Posts: 1354
Joined: 2012-09-27 14:46
Contact:

Re: Print preview different table

Post by a.gneady » 2018-12-19 20:48

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?
:idea: AppGini plugins to add more power to your apps:

vladimir
Posts: 11
Joined: 2018-12-06 22:31

Re: Print preview different table

Post by vladimir » 2018-12-19 22:09

Yes I want to display other customers info that is stored in table customers.

User avatar
a.gneady
Site Admin
Posts: 1354
Joined: 2012-09-27 14:46
Contact:

Re: Print preview different table

Post by a.gneady » 2019-01-09 14:18

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.
:idea: AppGini plugins to add more power to your apps:

vladimir
Posts: 11
Joined: 2018-12-06 22:31

Re: Print preview different table

Post by vladimir » 2019-02-07 13:15

Thanks.

Post Reply