<CFQUERY NAME="GetSenderDetails" DATASOURCE="#datasource#">
SELECT UserName, FirstName, LastName, Email
FROM Users
WHERE UserNumber=#Session.UserNumber#
</CFQUERY>
<CFQUERY NAME="GetOrdererDetails" DATASOURCE="#datasource#">
SELECT UserName, FirstName, LastName, Email
FROM Users
WHERE UserNumber=#GetOrder.UserNumber#
</CFQUERY>
<CFQUERY NAME="GetApproverDetails" DATASOURCE="#datasource#">
SELECT UserName, FirstName, LastName, Email
FROM Users
WHERE UserNumber=#GetOrder.ApprovalBy#
</CFQUERY>
Any way to combine these three queries and still be able to reference the Sender,
Orderer and Approver in my output?
Gene Kraybill
---------------------------------
Gene Kraybill
LPW & Associates LLC
www.lpw.net
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.