Recent

Author Topic: secondary table  (Read 3350 times)

Root2

  • New Member
  • *
  • Posts: 23
secondary table
« on: July 22, 2021, 03:00:07 pm »
Dear community, I appeal to your knowledge to ask you to please help me to learn how to make a form with two tables, in the first table should show the invoices and in the second table should show the detail of those invoices, as shown in the attached gif, the example was taken from a Java system, but maybe in lazarus there is a better way to do it.

[expired link - spam?]

Thank you very much for your time.
« Last Edit: August 11, 2021, 01:01:25 pm by trev »

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11452
  • FPC developer.
Re: secondary table
« Reply #1 on: July 22, 2021, 10:21:15 pm »
The term used in Pascal for such constructs are master-detail relation.

See e.g. https://wiki.freepascal.org/MasterDetail

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: secondary table
« Reply #2 on: July 22, 2021, 10:31:28 pm »
Hi!

" Master" is now forbidden by the speech police.

Further infos in "Brave New World" (Aldous Huxley)  or "1984" (George Orwell).

Winni

 

TinyPortal © 2005-2018