<?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>repeating values entered in a field in an optional section</title><link>https://www.infopathdev.com:443/forums/thread/55795.aspx</link><pubDate>Fri, 11 Jun 2010 02:06:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55795</guid><dc:creator>nastywindbreaker</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55795.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=55795</wfw:commentRss><description>Hello,

I am building an infopath form to export to excel.   I have two sections (one static and one repeating).   I am looking for a solution where I can add values to a field in the repeating section based on following:
 Values are copied from field4, field8, field11, Field15, Field19......(the values in these fields are separated by comas(fields 4 and 8 are in static section &amp;amp; field 11, 15, 18 and more are in repeating section)
it ALSO  removes values (copied above) and remove values found in Field22.

this helps me create a column in excel file that gives me patients current medication while removing the discontinued medications</description></item></channel></rss>