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

CFGRID changes 2017 date to 2000 on save

$
0
0

We're using ColdFusion 2016 Update 4

 

This problem was just brought to my attention by a user who probably has not used her application since Update 4 was applied.

The application worked fine until reported to me on 5/19/17 our update was applied on 4 /25/17.

 

I've attached screenshots at the bottom of this post.

 

The workflow is the user enters a new event hits save - that's it

But now after the first save she has to go to edit mode and change the 00 to 17 and save again.

The change sticks after the edit, but we need to find a fix for this.

 

 

here is the code:

 

        <cfform class="EMwrapper" name="MainForm" format="html">
            <cfgrid name="gridEM"
                    query="EM"
                    format="html"
                    selectmode="edit"
                    enabled="yes"
                    insert="yes"
      delete="yes"
                    height="400"
                    autowidth="yes">
 
  <cfgridcolumn name="ID">
  <cfgridcolumn name="EventNum">
  <cfgridcolumn name="EventTitle">
  <cfgridcolumn name="EventDate" mask="m/d/y" type="Date">
  <cfgridcolumn name="EventLocation">
  <cfgridcolumn name="CountyCode">
  <cfgridcolumn name="Hours">
  <cfgridcolumn name="HealthRelated">

            </cfgrid>
           
            <cfinput type="submit" name="SaveChanges" value="Save Changes">
        </cfform>


Viewing all articles
Browse latest Browse all 5794

Trending Articles



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