Topic: Print report from 2 table
Please fix my Project (Shopping List) contain 2 table (Header & Footer), How to print 2 linked table ?
One can learn and graduate or stay behind.
My Visual Database → Reports → Print report from 2 table
Please fix my Project (Shopping List) contain 2 table (Header & Footer), How to print 2 linked table ?
There are two tables in your database. But there is no connection (relationship) between them.
That is why you do not see anything in the report.
This page ( https://myvisualdatabase.com/database_examples.html ) contains examples of projects.
The project "Equipment inventory database" will help you study it.
This will help you establish relationships between the two tables and see the full result in the report and form tables.
It is not enough to create fields in tables, they need to be filled with values.
Your id_Footer field contains NULL information.
Hi Fmr, Hi Sparrow,
Your relationship is the wrong way round; the relationship needs to be created on the ''footer'' table pointing back to the ''header'' table.
With very few exceptions, the relationship is always held on the table that contains one or more records that ''belong' to a single record in the other table
A simple example would be a database with two tables - ''customer'' and ''invoice''. A customer can have many invoices but an invoice can only ever belong to a single customer (so the relationship is created on the ''invoice'' table linking it back to the ''customer'' table.
And so in your example, a ''header'' record can have many items in the ''footer'' table so the relationship is created in the 'footer'' table to link back to the ''header'' table.
Derek.
My Visual Database → Reports → Print report from 2 table
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi