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: 5
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: 1021
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: Learn all the tips and tricks of customizing AppGini apps through our online course.

:arrow: Mass Update plugin: Update multiple records at once and improve your workflow efficiency.

:arrow: Summary Reports plugin: Build powerful reports and charts for your AppGini apps.

:arrow: Search Page Maker: Compose user-friendly yet powerful search pages for your AppGini apps.

vladimir
Posts: 5
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: 1021
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: Learn all the tips and tricks of customizing AppGini apps through our online course.

:arrow: Mass Update plugin: Update multiple records at once and improve your workflow efficiency.

:arrow: Summary Reports plugin: Build powerful reports and charts for your AppGini apps.

:arrow: Search Page Maker: Compose user-friendly yet powerful search pages for your AppGini apps.

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

Re: Print preview different table

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

Thanks.

Post Reply