Agreed. You could also simply use IsDate function to determine if the data
is a capable of being a derived Date Time type.

On Thu, Jul 3, 2008 at 12:54 PM, Bruce Trevarthen (B2 Limited) <
[EMAIL PROTECTED]> wrote:

>
> You can warp a <cftry> around a query within your CFC but you can't wrap a
> <cftry> around the CFC itself, so validating within the query will give you
> more control than just relying on the CFC to do it.
>
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Chris Velevitch
> Sent: Thursday, 3 July 2008 1:25 p.m.
> To: [email protected]
> Subject: [cfaussie] Is this safe?
>
>
> I have a function that runs a query and the function has a required
> argument of type date.
>
> Would it be safe to use the argument in the query without using
> cfqueryparam for that argument?
>
> I'm thinking that the function argument type would be checked the time
> the function is called.
>
> --
> Chris
> --
> Chris Velevitch
> Manager - Adobe Platform Users Group, Sydney
> m: 0415 469 095
> www.apugs.org.au
>
> Adobe Platform Users Group, Sydney
> July meeting: Taming The Code
> Date: Mon 28th July 6pm for 6:30 start
> Details to follow.
>
>
>
> >
>


-- 
Regards,
Scott Barnes
http://www.mossyblog.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to