<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>4 Feb 2009 19:19:41 Z</lastBuildDate><pubDate>3 Feb 2009 22:32:31 Z</pubDate><description>Hi,&#13;
I've got a query that uses native access to MySQL. One of the fields is defined as a datetime field in the database and of course as a Date in the Analysis.&#13;
The problem is how to supply the value to the parameter of the query to execute. I've tried&#13;
QRY_Queue_Put.Param_Last_Run_Time =DateSys() + TimeSys() hExecuteQuery(QRY_Queue_Put)&#13;
which returns an error:&#13;
Incorrect datetime value: '20090203105444860' for column 'Last_Run_Time' at row 1&#13;
How do you supply a date time value to a parameter of a query that does an update.&#13;
Thanks&#13;
Glenn Rathke</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/17773-query-write-date-time-not-working/read.awp</link><title>Query to write Date/Time not working</title><managingEditor>moderateur@pcsoft.fr (Le modérateur)</managingEditor><webMaster>webmaster@pcsoft.fr (Le Webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/17773-query-write-date-time-not-working-17785/read.awp</comments><pubDate>4 Feb 2009 19:19:41 Z</pubDate><description>Y don't know how it works with MYSQL but with SQLSERVER with native access the way to handle date fields in the analysis is dife…</description><guid isPermaLink="true">https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/17773-query-write-date-time-not-working-17785/read.awp</guid><link>https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/17773-query-write-date-time-not-working-17785/read.awp</link><source url="https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/17773-query-write-date-time-not-working/read.awp">Query to write Date/Time not working</source><title>Re: Query to write Date/Time not working</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/17773-query-write-date-time-not-working-17783/read.awp</comments><pubDate>4 Feb 2009 13:29:48 Z</pubDate><description>Hi Glenn,&#13;
Look at [url]http://forum.mysnip.de/read.php?27131,20891,20948#msg-20948[/url]&#13;
Regards,&#13;
Piet</description><guid isPermaLink="true">https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/17773-query-write-date-time-not-working-17783/read.awp</guid><link>https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/17773-query-write-date-time-not-working-17783/read.awp</link><source url="https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/17773-query-write-date-time-not-working/read.awp">Query to write Date/Time not working</source><title>Re: Query to write Date/Time not working</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/17773-query-write-date-time-not-working-17782/read.awp</comments><pubDate>4 Feb 2009 11:52:49 Z</pubDate><description>Hi Glenn,&#13;
you can use datetostring(date,"YYYY-MM-DD") + timetostring(time,"HH:MM:SS:CC")  to format this for MySQL ( not tested…</description><guid isPermaLink="true">https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/17773-query-write-date-time-not-working-17782/read.awp</guid><link>https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/17773-query-write-date-time-not-working-17782/read.awp</link><source url="https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/17773-query-write-date-time-not-working/read.awp">Query to write Date/Time not working</source><title>Re: Query to write Date/Time not working</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/17773-query-write-date-time-not-working-17776/read.awp</comments><pubDate>4 Feb 2009 08:32:33 Z</pubDate><description>Hi Glenn,&#13;
Did you subtype the date field in the WD analysis to the correct DateTime type?&#13;
Cheers,</description><guid isPermaLink="true">https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/17773-query-write-date-time-not-working-17776/read.awp</guid><link>https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/17773-query-write-date-time-not-working-17776/read.awp</link><source url="https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/17773-query-write-date-time-not-working/read.awp">Query to write Date/Time not working</source><title>Re: Query to write Date/Time not working</title></item></channel></rss>
