Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

Error Executing Database Query. Incorrect integer value

$
0
0

I am experiencing an error trying to run the following ColdFusion code:

 

<cfif IsDefined('FORM.add_button.y')>

<cfquery datasource="#sDSN#">

    INSERT INTO lcf_event(event_id,

                          event_date_time,

                          title,

                          description,

                          type,

                          user_id)     

   VALUES('#CreateUUID()#',

         #CreateODBCDateTime(CreateDateTime(FORM.year, FORM.month, FORM.day, FORM.hour, FORM.minute, 0))#,

         '#FORM.title#',

         '#FORM.description#',

         '#FORM.type#',

         '#GetAuthUser()#')

</cfquery>

<cflocation url="event_calendar.cfm" />

 

I am using CF11 has the function CreateODBCDateTime has been changed in CF11? I read a post about this function not working in CF8 and CF9 but working in CF7!.

 

I appreciate if someone can shed some light on this.

 

Thank you in advance.


Viewing all articles
Browse latest Browse all 5794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>