yes they are in 2 seperate tables, and and this is the sql statement:
SELECT qPrintHeader.OrderNumber, qPrintHeader.status, qPrintHeader.bt_name, qPrintHeader.bt_id, qPrintHeader.bt_address, qPrintHeader.bt_city, qPrintHeader.bt_postal, qPrintHeader.st_name, qPrintHeader.st_id, qPrintHeader.st_address, qPrintHeader.st_city, qPrintHeader.st_postal, qPrintHeader.pstnum, qPrintHeader.DateIN, qPrintHeader.Comments, qPrintHeader.Performed, qPrintHeader.Model, qPrintHeader.Serial, qPrintHeader.System, qPrintHeader.HComments, qPrintHeader.Labor, qPrintHeader.[15discount], qPrintHeader.PO, qPrintLines.OrderNumber, qPrintLines.Name, qPrintLines.Quant, qPrintLines.Price, qPrintLines.Total, qPrintLines.GSTamount, qPrintLines.PSTamount, qPrintLines.sorthing
FROM qPrintHeader INNER JOIN qPrintLines ON qPrintHeader.OrderNumber = qPrintLines.OrderNumber;
Im assuming this is an inner join? im not aware of the difference between an inner or outer join, and i dont know how to make it an outer join. could you tell me how? thanks for all your help