<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Flex 3 SQLite and the mystery of &#8220;text value to numeric value&#8221;</title>
	<atom:link href="http://blog.mfabrik.com/2008/03/14/a-short-story-about-why-to-rtfm/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mfabrik.com/2008/03/14/a-short-story-about-why-to-rtfm/</link>
	<description>Freedom delivered.</description>
	<lastBuildDate>Mon, 19 Sep 2011 19:02:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Gaurav</title>
		<link>http://blog.mfabrik.com/2008/03/14/a-short-story-about-why-to-rtfm/comment-page-1/#comment-4781</link>
		<dc:creator>Gaurav</dc:creator>
		<pubDate>Tue, 26 Apr 2011 09:06:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redinnovation.com/2008/03/14/a-short-story-about-why-to-rtfm/#comment-4781</guid>
		<description>change the datatype of &quot;timestamp&quot; field to &quot;text&quot; type. Then it will work.</description>
		<content:encoded><![CDATA[<p>change the datatype of &#8220;timestamp&#8221; field to &#8220;text&#8221; type. Then it will work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikko Ohtamaa</title>
		<link>http://blog.mfabrik.com/2008/03/14/a-short-story-about-why-to-rtfm/comment-page-1/#comment-4779</link>
		<dc:creator>Mikko Ohtamaa</dc:creator>
		<pubDate>Tue, 26 Apr 2011 07:32:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redinnovation.com/2008/03/14/a-short-story-about-why-to-rtfm/#comment-4779</guid>
		<description>I digged up some old code (this page is oooold...). Hope this helps ppl:

				&quot;CREATE TABLE IF NOT EXISTS Vaccinations(&quot; +

				&quot;id INTEGER PRIMARY KEY,&quot; +

				&quot;datetime DATE,&quot; + // This will transparently accept and return Date objects

				&quot;vaccine INTEGER,&quot; +

				&quot;vaccinationspot INTEGER,&quot; +

				&quot;patient INTEGER,&quot; +

				&quot;giver TEXT,&quot; + 

				&quot;target TEXT,&quot; + 

				&quot;notes TEXT,&quot; +

				&quot;vaccine_lot TEXT)&quot;,


		private static const UPDATE_VACCINATION:String =

			&quot;UPDATE Vaccinations SET &quot; + 

				&quot;datetime = :datetime, &quot; + 

				&quot;giver = :giver, &quot; + 

				&quot;target = :target, &quot; + 

				&quot;notes = :notes, &quot; + 

				&quot;vaccine_lot = :vaccine_lot &quot; + 

			&quot;WHERE id = :id&quot;;

		

		public function updateVaccination(v:Vaccination):void

		{

			var values:Object = {

				&quot;:id&quot;:v.id,

				&quot;:datetime&quot;:v.datetime,

				&quot;:giver&quot;:v.giver,

				&quot;:target&quot;:v.target,

				&quot;:notes&quot;:v.notes,

				&quot;:vaccine_lot&quot;:v.vaccine_lot

			};

			runSqlCmd(sqlStatements[UPDATE_VACCINATION], values);

		}</description>
		<content:encoded><![CDATA[<p>I digged up some old code (this page is oooold&#8230;). Hope this helps ppl:</p>
<p>				&#8220;CREATE TABLE IF NOT EXISTS Vaccinations(&#8221; +</p>
<p>				&#8220;id INTEGER PRIMARY KEY,&#8221; +</p>
<p>				&#8220;datetime DATE,&#8221; + // This will transparently accept and return Date objects</p>
<p>				&#8220;vaccine INTEGER,&#8221; +</p>
<p>				&#8220;vaccinationspot INTEGER,&#8221; +</p>
<p>				&#8220;patient INTEGER,&#8221; +</p>
<p>				&#8220;giver TEXT,&#8221; + </p>
<p>				&#8220;target TEXT,&#8221; + </p>
<p>				&#8220;notes TEXT,&#8221; +</p>
<p>				&#8220;vaccine_lot TEXT)&#8221;,</p>
<p>		private static const UPDATE_VACCINATION:String =</p>
<p>			&#8220;UPDATE Vaccinations SET &#8221; + </p>
<p>				&#8220;datetime = :datetime, &#8221; + </p>
<p>				&#8220;giver = :giver, &#8221; + </p>
<p>				&#8220;target = :target, &#8221; + </p>
<p>				&#8220;notes = :notes, &#8221; + </p>
<p>				&#8220;vaccine_lot = :vaccine_lot &#8221; + </p>
<p>			&#8220;WHERE id = :id&#8221;;</p>
<p>		public function updateVaccination(v:Vaccination):void</p>
<p>		{</p>
<p>			var values:Object = {</p>
<p>				&#8220;:id&#8221;:v.id,</p>
<p>				&#8220;:datetime&#8221;:v.datetime,</p>
<p>				&#8220;:giver&#8221;:v.giver,</p>
<p>				&#8220;:target&#8221;:v.target,</p>
<p>				&#8220;:notes&#8221;:v.notes,</p>
<p>				&#8220;:vaccine_lot&#8221;:v.vaccine_lot</p>
<p>			};</p>
<p>			runSqlCmd(sqlStatements[UPDATE_VACCINATION], values);</p>
<p>		}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gaurav</title>
		<link>http://blog.mfabrik.com/2008/03/14/a-short-story-about-why-to-rtfm/comment-page-1/#comment-4778</link>
		<dc:creator>Gaurav</dc:creator>
		<pubDate>Tue, 26 Apr 2011 07:10:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redinnovation.com/2008/03/14/a-short-story-about-why-to-rtfm/#comment-4778</guid>
		<description>Would you mind answering to the questions asked above..?</description>
		<content:encoded><![CDATA[<p>Would you mind answering to the questions asked above..?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://blog.mfabrik.com/2008/03/14/a-short-story-about-why-to-rtfm/comment-page-1/#comment-498</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Tue, 09 Sep 2008 17:29:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redinnovation.com/2008/03/14/a-short-story-about-why-to-rtfm/#comment-498</guid>
		<description>Hey Sarni, thanks for the post.  Would you mind posting an SQL example of how you insert/select dates into sqlite so they are read correctly by Flex?  I am pulling out my hair trying to figure out why SQLite contains date fields, but Flex refuses to read them.  Thanks!</description>
		<content:encoded><![CDATA[<p>Hey Sarni, thanks for the post.  Would you mind posting an SQL example of how you insert/select dates into sqlite so they are read correctly by Flex?  I am pulling out my hair trying to figure out why SQLite contains date fields, but Flex refuses to read them.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave</title>
		<link>http://blog.mfabrik.com/2008/03/14/a-short-story-about-why-to-rtfm/comment-page-1/#comment-418</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Sat, 16 Aug 2008 02:29:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redinnovation.com/2008/03/14/a-short-story-about-why-to-rtfm/#comment-418</guid>
		<description>I had the same problem. I added like one line of code and that error started appearing. I took that line of code out and I was still getting the error. I took a bunch of code out and it was still happening. I checked the values and types in the database. The only thing that might have been an issue was that I had 00 in one cell instead of 0. Although it was not taken care of after that I might have blanked out that cell and then set it to zero. 

I would even suggest making a new database and trying your program with the new database. In conclusion, it just started working. I put more of the code back hoping it would keep working and it did. I just think there is a problem with this error still.</description>
		<content:encoded><![CDATA[<p>I had the same problem. I added like one line of code and that error started appearing. I took that line of code out and I was still getting the error. I took a bunch of code out and it was still happening. I checked the values and types in the database. The only thing that might have been an issue was that I had 00 in one cell instead of 0. Although it was not taken care of after that I might have blanked out that cell and then set it to zero. </p>
<p>I would even suggest making a new database and trying your program with the new database. In conclusion, it just started working. I put more of the code back hoping it would keep working and it did. I just think there is a problem with this error still.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Toni</title>
		<link>http://blog.mfabrik.com/2008/03/14/a-short-story-about-why-to-rtfm/comment-page-1/#comment-405</link>
		<dc:creator>Toni</dc:creator>
		<pubDate>Sat, 05 Jul 2008 16:25:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redinnovation.com/2008/03/14/a-short-story-about-why-to-rtfm/#comment-405</guid>
		<description>Hi!

I have the same problem. I want to insert time (like 18:45) and gives me the same error. Can u help me. I don&#039;t understand your description.

Thanks,
Toni</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>I have the same problem. I want to insert time (like 18:45) and gives me the same error. Can u help me. I don&#8217;t understand your description.</p>
<p>Thanks,<br />
Toni</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naresh</title>
		<link>http://blog.mfabrik.com/2008/03/14/a-short-story-about-why-to-rtfm/comment-page-1/#comment-404</link>
		<dc:creator>Naresh</dc:creator>
		<pubDate>Sat, 05 Jul 2008 07:44:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redinnovation.com/2008/03/14/a-short-story-about-why-to-rtfm/#comment-404</guid>
		<description>Hi,

Thanks, I got the point what you are saying.

Regards,

Naresh</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks, I got the point what you are saying.</p>
<p>Regards,</p>
<p>Naresh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naresh</title>
		<link>http://blog.mfabrik.com/2008/03/14/a-short-story-about-why-to-rtfm/comment-page-1/#comment-403</link>
		<dc:creator>Naresh</dc:creator>
		<pubDate>Sat, 05 Jul 2008 07:42:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redinnovation.com/2008/03/14/a-short-story-about-why-to-rtfm/#comment-403</guid>
		<description>Hi,

I could not understand what you got as solution. Can you please elaborate it more?

Thanks,

Naresh</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I could not understand what you got as solution. Can you please elaborate it more?</p>
<p>Thanks,</p>
<p>Naresh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikko Ohtamaa</title>
		<link>http://blog.mfabrik.com/2008/03/14/a-short-story-about-why-to-rtfm/comment-page-1/#comment-343</link>
		<dc:creator>Mikko Ohtamaa</dc:creator>
		<pubDate>Fri, 14 Mar 2008 23:13:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.redinnovation.com/2008/03/14/a-short-story-about-why-to-rtfm/#comment-343</guid>
		<description>And it used to work in beta!</description>
		<content:encoded><![CDATA[<p>And it used to work in beta!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

