<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Validating lookups</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Validating lookups</description>
  <pubDate>Thu, 11 Jun 2026 06:28:20 -700</pubDate>
  <lastBuildDate>Tue, 18 Mar 2008 13:42:24 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=713</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Validating lookups : One way to accomplish this would...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=713&amp;PID=2707#2707</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=51" rel="nofollow">eileenv</a><br /><strong>Subject:</strong> 713<br /><strong>Posted:</strong> 18-Mar-2008 at 1:42pm<br /><br />One way to accomplish this would be to implement a verifier that checks for foreign key values that are null. Then you can perform instance verification prior to a save and notify users of invalid data before the save occurs.]]>
   </description>
   <pubDate>Tue, 18 Mar 2008 13:42:24 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=713&amp;PID=2707#2707</guid>
  </item> 
  <item>
   <title>Validating lookups : Let &amp;#039;s say i build a form...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=713&amp;PID=2635#2635</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=56" rel="nofollow">antalakas</a><br /><strong>Subject:</strong> 713<br /><strong>Posted:</strong> 04-Mar-2008 at 2:50pm<br /><br />Let 's say i build a form to handle INSERT/DELETE/UPDATE in a database table.<br>My table has a relation to a lookup table, and i feel like setting it to mandatory.<br>I follow mapping rules and implement the form.<br><br>I use the UI and insert a new record. The Create method in the object Model for my table<br>does not set initial value for the lookup. <br><br>In this case the lookup fills the gap with a null entity value and the form is working.<br><br>When i am trying to save a message is displayed stating that "A foreign key constraint... " etc.<br>As you remember the lookup was required but not set...<br><br>How can i inform my users  for the inability to save BEFORE they try to press the save button?<br><br><br>Thank you<br><br>Andreas<br><br><br>]]>
   </description>
   <pubDate>Tue, 04 Mar 2008 14:50:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=713&amp;PID=2635#2635</guid>
  </item> 
 </channel>
</rss>