I have arrived at a partial solution based on your (very
appreciated) advice that I use a query of query. The following is
the last of 4 recordsets that I used to get my data. However,
because in the WHERE clause I ask for matching B/L (order) numbers,
I do not get a full data listing. (Yet I need the mutual primary
key for each file). What I need are all of the records from
Recordset2 and only those from Recordset3 that have a matching
B/L#. I do not want to lose records just because the order has not
yet been billed. What else do I need to implement? Thanks!
<cfquery name="Recordset4" dbtype="query">
SELECT Recordset3.RBLNO as BL, ((Recordset3.RCUTR - 100) /
100) as CUT,(Recordset2.DTAMTsum * -1) as LH, (Recordset2.DTAMTsum
* ((Recordset3.RCUTR - 100) / 100)) as NET
FROM Recordset3, Recordset2
WHERE Recordset3.RBLNO = Recordset2.DTBLNO
</cfquery>