Hi Larry,
Give this a shot and see if it works.
SELECT T0.[CardCode], T0.[CardName], T0.[DocDate], T0.[NumAtCard], T1.[TotalFrgn],T1.[ExpnsCode],T1.[Comments]
FROM OINV T0
INNER JOIN INV3 T1 ON T0.DocEntry = T1.DocEntry
WHERE T0.[DocDate] >= [%0]
AND T0.[DocDate] <= [%1]
Note that I ain't sure if your tracking number is a UDF, under the Freight Name, or under the Remarks section. But this is the rough direction you should be heading towards.
Regards,
Joseph