Answered
help with query
This has got to be easy but I'm just not getting there.
Simply put I want to query a db with the field name "completed". Completed is a date field (mm/dd/yyyy/). I want the query to return results where the instructed year matches the yyyy part of the completed field.
For simplicity sake, lets set the instructed year to be the current year ( <cfset nowYear=#year(now())#> )
Simply put I want to query a db with the field name "completed". Completed is a date field (mm/dd/yyyy/). I want the query to return results where the instructed year matches the yyyy part of the completed field.
For simplicity sake, lets set the instructed year to be the current year ( <cfset nowYear=#year(now())#> )
