I don't see anything in the code that would be causing it ... or rather should be... 
have you tried <cfdump var="#currentQuery#"> prior to the cfoutput just to be sure 
it's got everything you need and there aren't any typos? ... If the dump doesn't show 
the correct list of columns, then you may have driver issues or the like. If it's an 
Access database it may just boil down to Access being somewhat unreliable (or so I've 
heard, I've never had the experience and most of my work has been with enterprise db's 
like sql server and oracle)...

> 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="_bla
>                                                                                      
>  nk"></a>www.AmericanRestaurantAssociation.com</
>                                                                                      
>  a></font></td>
>                                                                               </tr>
>                                                                               <tr>

>                                                                                      
>  <td align="center" class="contentsmall"><b>#cur
>                                                                                      
>  rentQuery.repVol#</b></td>
>                                                                                      
>  <td align="center" class="contentsmall"><b>#cur
>                                                                                      
>  rentQuery.repIssue#</b></td>
>                                                                                      
>  <td align="center" class="contentsmall"><b>#Dat
>                                                                                      
>  eFormat(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/uns
>                               ubscribe.cfm?user=633.558.4




s. isaac dealey                972-490-6624

new epoch                      http://www.turnkey.to

lead architect, tapestry cms   http://products.turnkey.to

tapestry api is opensource     http://www.turnkey.to/tapi

certified advanced coldfusion 5 developer
http://www.macromedia.com/v1/handlers/index.cfm?ID=21816


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

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

Reply via email to