<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[My Visual Database — Validation of date field]]></title>
		<link>https://myvisualdatabase.com/forum/viewtopic.php?id=210</link>
		<atom:link href="https://myvisualdatabase.com/forum/extern.php?action=feed&amp;tid=210&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Validation of date field.]]></description>
		<lastBuildDate>Mon, 02 Jun 2014 11:18:43 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Validation of date field]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=964#p964</link>
			<description><![CDATA[<p>Thank you very much for you help and prompt reply.<br />Waiting for latest version 1.41</p>]]></description>
			<author><![CDATA[null@example.com (anjeko2)]]></author>
			<pubDate>Mon, 02 Jun 2014 11:18:43 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=964#p964</guid>
		</item>
		<item>
			<title><![CDATA[Re: Validation of date field]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=960#p960</link>
			<description><![CDATA[<div class="codebox"><pre><code>procedure mm_add_edit_edDate_OnExit (Sender: string);
begin
     if mm_add_edit.edDate.Checked=False then
     begin
          ShowMessage(&#039;Prosze podac date testu.&#039;);
     end;
end;</code></pre></div><br /><br /><p>For validate data on form, i recommend use event OnClick of button for save data.</p><div class="codebox"><pre><code>procedure mm_add_edit_ButtonSave_OnClick (Sender: string; var Cancel: boolean);
begin
     if mm_add_edit.edDate.Checked=False then
     begin
          ShowMessage(&#039;Prosze podac date testu.&#039;);
          Cancel := True; // This cancel the action button
     end;
end;</code></pre></div><br /><p>but you can&#039;t use property edDate.Color, this don&#039;t work in Windows anymore.</p>]]></description>
			<author><![CDATA[null@example.com (DriveSoft)]]></author>
			<pubDate>Mon, 02 Jun 2014 10:28:29 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=960#p960</guid>
		</item>
		<item>
			<title><![CDATA[Validation of date field]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=958#p958</link>
			<description><![CDATA[<p>Please let me know how to validate for empty date field ( not empty ) using script.<br />I have problem with script like below:</p><p>procedure mm_add_edit_edDate_OnExit (Sender: string);<br />begin</p><p>&nbsp; &nbsp; &nbsp;if mm_add_edit.edDate.?????????? = &#039;&#039; then<br />&nbsp; &nbsp; &nbsp;begin<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ShowMessage(&#039;Prosze podac date testu.&#039;);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mm_add_edit.edDate.Color := clRed;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp;end;<br />end;</p><p>Thanks<br />Jerry</p>]]></description>
			<author><![CDATA[null@example.com (anjeko2)]]></author>
			<pubDate>Mon, 02 Jun 2014 03:00:18 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=958#p958</guid>
		</item>
	</channel>
</rss>
