This topic is locked

how do I show detail in master table detail from 2 tables?

10/14/2008 10:09:57 AM
PHPRunner General questions
T
thesofa author

Hi, playing with an ordering system atm, its all working fine except the final printed out order, I cannot sort it

tables are

supplier

Department (in School)

Order

Order lines

I want to print the order out, showing the lines to order, the order detail like order number, the supplier detail like name and address and fax no. and the department details like name and person placing the order.

how can I get all the details I want from Orders, Suppliers and Departments into one nicely formatted block of info for printing.

I do not want to export to word, just a text print will do.

J
Jane 10/15/2008

Hi,
I recommend you to create custom view on the Datasource tables tab, join all tables in this view on the Edit SQL query tab and format print page as you want on the Visual Editor tab.

T
thesofa author 10/15/2008

Cheers, that is how i did it, but having to arrange the fields in the master table header bit into a table sems hazardous, several times I have lost all the work.

If I can reproduce it as a constant fault, i shall flag it up for you.