<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>current() function and data validation</title><link>https://www.infopathdev.com:443/forums/thread/57637.aspx</link><pubDate>Wed, 04 Aug 2010 16:22:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57637</guid><dc:creator>higgintheyounger</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57637.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=57637</wfw:commentRss><description>Can the current() function be used in data validation expressions? For example if I want to make sure that the total of all entries in field 2 with a field 1 value of the current instance of field 1 doesn&amp;#39;t total to more than 8, could the current() function be used to get the value of the current instance of field 1 and use that value to filter when I use the sum() function? If my example isn&amp;#39;t clear enough, let me know and I will post a more specific example that might make it clearer.</description></item></channel></rss>