Mike Chambers

code = joy

DRK : Stock Services Sample Application Update

without comments

I have found an issue with the Stock Services sample application and ActionScript / ColdFusion Library available on the DRK. In the Stock.cfc ColdFusion component file, the following code that starts at line 89:

  <cfset var startMonth =  Month(startDate)  />
  <cfset var startDay =  Day(startDate)/>
  <cfset var startYear =  Year(startDate) />
  <cfset var endMonth =  Month(endDate) />

should be changed to:
  <cfset var startMonth =  Month(startDate) – 1 />
  <cfset var startDay =  Day(startDate)/>
  <cfset var startYear =  Year(startDate) />
  <cfset var endMonth =  Month(endDate) – 1 />

If you noticed that the sample stock charting application began acting erratically, this should solve the problem. Sorry for the hassle.

Written by mikechambers

October 15th, 2002 at 12:39 am

Posted in DRK

Leave a Reply