ok... i tried both suggestions and am still getting the same error:

here is my new code:

<cfquery name="currentQuery" datasource="commodityHistory"> 
SELECT * FROM price WHERE ID = (SELECT MAX(ID) FROM price) 
</cfquery> 
<cfoutput query="currentQuery"> 

                                                <table width="562" border="0" 
cellpadding="0" cellspacing="0">
                                                        <tr>
                                                                <td width="562">
                                                                        <table 
border="0" cellpadding="3" cellspacing="0" width="562" align="center">                 
                                                          
                                                                                <tr>
                                                                                       
 <td class="tbl" colspan="3" align="center"><font class="pageheader">THE WEEKLY 
COMMODITY REPORT</font><br><font class="contentsmall">American Restaurant Association 
Inc.  Providing Food-Commodity Market Information to over 200,000 Food Service 
Professionals Nationwide.  <a href="http://www.AmericanRestaurantAssociation.com"; 
target="_blank"></a>www.AmericanRestaurantAssociation.com</a></font></td>
                                                                                </tr>
                                                                                <tr>

                                                                                       
 <td align="center" class="contentsmall"><b>#currentQuery.repVol#</b></td>
                                                                                       
 <td align="center" class="contentsmall"><b>#currentQuery.repIssue#</b></td>
                                                                                       
 <td align="center" class="contentsmall"><b>#DateFormat(reportDate,"mmmm d, 
yyyy")#</b></td>
</cfoutput>

----------------------------
and here is the error message:
Element REPVOL is undefined in CURRENT QUERY
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to