>
> <cffunction name="SetDefaultValues" returntype="query" access="private"
> output="false">
> <cfargument name="UseDate" required="yes">
> <cfset var DateStart = CreateDate(Year(UseDate), Month(UseDate), 1)>
> <cfset var NumDays = DaysInMonth(DateStart)>
> <cfset var qDefaultPlan = QueryNew("id,dEntry,Hours,Downtime,Rate")>
>
> Note the use of "var" in the cfset statement.
But it comes down to code typing then
I use CFSCRIPT if I'm doing a load of variable sets in a row, as it's
less to type and easier to read (for me)
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

