what's your date declared as in the database?
date, varchar2?


what database are you using? access?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 22, 2004 2:29 PM
To: CF-Newbie
Subject: Help with MAX function

I'm trying to have a query find the most recent date on a specific record search.

Here's the coding:
<cfquery name="dog_search" dbtype="ODBC" datasource="XX">
select max(file_date) from items
where '#prod_group#' = 'AA'
</cfquery>

<cfoutput query="dog_search">
#file_date#
</cfoutput>

.. but to no avail.

Any ideas why ?
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to