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: 1281
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:
  • DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
  • Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
  • Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.

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: 1281
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:
  • DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
  • Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
  • Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.

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