> <cfparam name=3D"session.myevent.rsvpby" default=3D"" type=3D"date">

Why bother using cfparam?

insert into myTable (rsvpby)
values (
<cfif isdefined("session.myevent.rsvpby") and 
isdate(session.myevent.rsvpby)>#createodbcdate(session.myevent.rsvpby)#<cfelse>NULL</cfif>
)

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to