<?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="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Adding Constraints to Record Items</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Adding Constraints to Record Items]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 09:45:58 +0000</pubDate>
  <lastBuildDate>Thu, 13 Aug 2009 21:02:02 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=14881</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Adding Constraints to Record Items : What do you mean about TaskList...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14881&amp;PID=51959&amp;title=adding-constraints-to-record-items#51959</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14881<br /><strong>Posted:</strong> 13 August 2009 at 9:02pm<br /><br />What do you mean about TaskList Sample? You did not see picklists? <DIV>&nbsp;</DIV><DIV>I already answer on such question - <a href="https://forum.codejock.com/forum_posts.asp?TID=14664" target="_blank">https://forum.codejock.com/forum_posts.asp?TID=14664</A></DIV><DIV>&nbsp;</DIV><DIV>Essentially with your code you are assigning picklist items to column-base (common for all items) picklist</DIV><DIV>&nbsp;</DIV><DIV>If you want to use individual picklist for specific item - use NULL param:</DIV><DIV><P><FONT color=#0000ff size=2><FONT color=#0000ff size=2>&nbsp;</P></FONT></FONT></DIV>]]>
   </description>
   <pubDate>Thu, 13 Aug 2009 21:02:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14881&amp;PID=51959&amp;title=adding-constraints-to-record-items#51959</guid>
  </item> 
  <item>
   <title><![CDATA[Adding Constraints to Record Items : Hi   I have a column with editoptions...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14881&amp;PID=51502&amp;title=adding-constraints-to-record-items#51502</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5194">gopalreddy_g</a><br /><strong>Subject:</strong> 14881<br /><strong>Posted:</strong> 31 July 2009 at 2:07pm<br /><br />Hi <DIV>&nbsp;</DIV><DIV>I have a column with editoptions and want to add different editoptions constraints to reportrecorditem&nbsp; for each record. I am getting object null reference error while doing this. Here i am providing the code. Please do help me how to overcome the error. I tried the sample tasklist program and got the same error.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Adding columns:</DIV><DIV><FONT size=2><P>column = AxReportControl1.Columns.Add(Column_AssignedTo, </FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"Assigned To"</FONT></FONT><FONT size=2>, 50, </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>True</FONT></FONT><FONT size=2>)</P><P>column.Editable = </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>False</P></FONT></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>For</FONT></FONT><FONT size=2> I </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>As</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>Integer</FONT></FONT><FONT size=2> = 0 </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>To</FONT></FONT><FONT size=2> _DTUsers.Rows.Count - 1</P><P>column.EditOptions.Constraints.Add(_DTUsers.Rows(I)(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"UserName"</FONT></FONT><FONT size=2>) &amp; </FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>" - "</FONT></FONT><FONT size=2> &amp; _DTUsers.Rows(I)(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"UserID"</FONT></FONT><FONT size=2>), _DTUsers.Rows(I)(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"ID"</FONT></FONT><FONT size=2>))</P></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>Next</P></FONT></FONT><FONT size=2><P>column.EditOptions.ConstraintEdit = </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>True</P></FONT></FONT><FONT size=2><P>column.EditOptions.AddComboButton()</P><P>column.EditOptions.GetInplaceButton(0).InsideCellButton = </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>True</P><DIV>Adding records:</DIV><DIV></FONT></FONT>&nbsp;</DIV><DIV><FONT size=2>Item = Record.AddItem(AssignedTo)</DIV></DIV><DIV><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>For</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>Each</FONT></FONT><FONT size=2> row </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>As</FONT></FONT><FONT size=2> DataRow </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>In</FONT></FONT><FONT size=2> _DTUsers1.Rows</P><P>Item.EditOptions.Constraints.Add(row(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"UserName"</FONT></FONT><FONT size=2>) &amp; </FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>" - "</FONT></FONT><FONT size=2> &amp; row(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"UserID"</FONT></FONT><FONT size=2>), row(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"ID"</FONT></FONT><FONT size=2>))</P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>Next</P><DIV></DIV><DIV></DIV>Please help me in this regard.</FONT></FONT></DIV>]]>
   </description>
   <pubDate>Fri, 31 Jul 2009 14:07:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14881&amp;PID=51502&amp;title=adding-constraints-to-record-items#51502</guid>
  </item> 
 </channel>
</rss>