So you want a SQL QUERY something like:
SELECT ORDERDETAIL.id as detailid, qty, unitcost, unitcost * qty as
extended from ORDERDETAIL
LEFT JOIN ORDERS ON orderid = ORDERS.id
WHERE ...
Right?
What's the problem you have with tax requests that you hinted at last time?
David McInnis wrote:
>>ORDERS
>>
>>+--------------+---------------------------
>>| Field | Type
>>+--------------+---------------------------
>>| id | int(10) unsigned zerofill
>>| subtotal | float(10,2)
>>| tax | float(10,2)
>>| rushfee | float(10,2)
>>| total | float(10,2)
>>
>>ORDERDETAIL
>>
>>+----------------+---------------------------
>>| Field | Type
>>+----------------+---------------------------
>>| id | int(10) unsigned zerofill
>>| orderid | int(11)
>>| qty | int(11)
>>| unitcost | float(10,2)
>>
>
--
Michael T. Babcock
C.T.O., FibreSpeed Ltd.
http://www.fibrespeed.net/~mbabcock
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php