<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Wx2024 class date problem</title>
        <description> Hello.
If you define class and have member type date, you have a problem !!!!
Example:

cCustomerPaymet is a Class
	m_nLineID		 is 8-byte int	&amp;lt;MAPPING=LineID&amp;gt;
	m_dPaymentDate 	 is date		&amp;lt;MAPPING=PaymentDate&amp;gt;
	m_cyAmount		 is currency	&amp;lt;MAPPING=Amount&amp;gt;
        m_sCustomerName is string           &amp;lt;MAPPING=CustomerName&amp;gt;
END

Then you create instance of class

clCustomerPayment is cCustomerPayment
Info(clCustomerPayment.m_dPaymentDate)

You will get today date. ex. 20240128
If you define member date as string: m_dPaymentDate  is string	&amp;lt;MAPPING=PaymentDate&amp;gt;
Then your class will be ok and your: m_dPaymentDate wil get empty string
This is big problem if you use DataBinding over class members becaouse , instaed empty field you will get todays date(). :)</description>
        <link>https://www.wxforum.info/read.php?27593,797760,797760#msg-797760</link>
        <lastBuildDate>Wed, 20 May 2026 11:57:31 +0200</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://www.wxforum.info/read.php?27593,797760,798034#msg-798034</guid>
            <title>Re: Wx2024 class date problem</title>
            <link>https://www.wxforum.info/read.php?27593,797760,798034#msg-798034</link>
            <description><![CDATA[ Hi,<br />
<br />
it is not limited to WX2024, I discovered the same behavior on WX28.<br />
<br />
m_dPaymentDate = NULL is my solution.<br />
<br />
Regards<br />
<br />
Stefan.]]></description>
            <dc:creator>Stefan Kern</dc:creator>
            <category>WX-Products: Reports of malfunctions &amp; bugs</category>
            <pubDate>Mon, 27 May 2024 22:33:29 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27593,797760,797760#msg-797760</guid>
            <title>Wx2024 class date problem</title>
            <link>https://www.wxforum.info/read.php?27593,797760,797760#msg-797760</link>
            <description><![CDATA[ Hello.<br />
If you define class and have member type date, you have a problem !!!!<br />
Example:<br />
<br />
cCustomerPaymet is a Class<br />
	m_nLineID		 is 8-byte int	&lt;MAPPING=LineID&gt;<br />
	m_dPaymentDate 	 is date		&lt;MAPPING=PaymentDate&gt;<br />
	m_cyAmount		 is currency	&lt;MAPPING=Amount&gt;<br />
        m_sCustomerName is string           &lt;MAPPING=CustomerName&gt;<br />
END<br />
<br />
Then you create instance of class<br />
<br />
clCustomerPayment is cCustomerPayment<br />
Info(clCustomerPayment.m_dPaymentDate)<br />
<br />
You will get today date. ex. 20240128<br />
If you define member date as string: m_dPaymentDate  is string	&lt;MAPPING=PaymentDate&gt;<br />
Then your class will be ok and your: m_dPaymentDate wil get empty string<br />
This is big problem if you use DataBinding over class members becaouse , instaed empty field you will get todays date(). :)]]></description>
            <dc:creator>IsmirB</dc:creator>
            <category>WX-Products: Reports of malfunctions &amp; bugs</category>
            <pubDate>Sun, 28 Jan 2024 11:29:41 +0100</pubDate>
        </item>
    </channel>
</rss>
