<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>29 Jul 2015 21:39:00 Z</lastBuildDate><pubDate>29 Jul 2015 21:39:00 Z</pubDate><description>Hi -&#13;
&#13;
My code keeps crashing because there's a few records where there's no date entered into a particular field. I'm trying to use WL.DataValid, But I never get any records back - the query runs, but no records. I know there are birthdays in August present. Anyone have any ideas?&#13;
&#13;
grsdDataSource is Data Source&#13;
&#13;
grsSql is string = [&#13;
SELECT&#13;
*&#13;
FROM&#13;
gpsdContact&#13;
WHERE&#13;
bActiveMembershipFlag = 1&#13;
AND&#13;
WL.DateValid(dDOB) = 1&#13;
AND&#13;
WL.DateToString(dDOB,'MMMM') = '%1'&#13;
]&#13;
&#13;
grsSql = StringBuild(grsSql,"August")&#13;
HExecuteSQLQuery(grsdDataSource,grsSql)&#13;
FOR EACH grsdDataSource&#13;
Trace(grsdDataSource.dDOB)&#13;
END</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53326-wb19-how-date-valid-sql/read.awp</link><title>WB19 - How to do Date Valid in WL SQL</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster></channel></rss>
