I think you're right about the #signs. I've tried a couple of different things, but haven't found the right thing yet. I think it should look something like this:
<cfquery name="CFReportDataQuery" datasource="databasename">
SELECT FY, EP, EN, LS, LC, FJON, TJON, HOURS, AMOUNT
FROM table
ORDER BY FY, LS, EP, #calc.sortempID#, #calc.sortName#, LC, FJON
</cfquery>
The latest error I've been getting is "Element SORTEMPID is undefined in CALC." That's a strange error, since the query builder actually showed it in a dropdown once I entered calc.
Thanks.
Main Topics
Browse All Topics





by: bwasyliukPosted on 2007-04-03 at 09:05:15ID: 18844461
Can you show the query format - it might have to do with the appropriate use of ## signs...
Ben
www.ScheduleForce.net