<?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>Microsoft Access</title><link>https://www.infopathdev.com:443/forums/141.aspx</link><description>Qdabra is committed to answering InfoPath questions. However, we do not support Microsoft Access. For non-Access questions, please use the other boards.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>info path makes a blank record in database</title><link>https://www.infopathdev.com:443/forums/thread/62114.aspx</link><pubDate>Thu, 09 Dec 2010 14:23:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62114</guid><dc:creator>jwebster1979</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62114.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=62114</wfw:commentRss><description>&lt;p&gt;I have a table that has a one to many relationship with another table. I build an infopath 2007 form based on the main table (table 1) everything works great. say for instance I put in the second table (table 2) as a subform if the user needs to use it (repeating table in infopath). I can fill out the infopath form and put many records in the repeating table with the main form hit submit everything works great.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The problem I am having is what if the user does not need to use the repeating table and only needs to fill out the main form (table 1) and they leave the subform blank (table 2). I have found that even though the user left it blank when they hit submit access creates a record in table 2 without any information other than the primary key and the foriegn key. Is there a way that if the user left the subform blank, that it would just put in the main forms information and not create this orphan record in table 2.&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;</description></item></channel></rss>