﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » Best practice for changing form values</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 08 Sep 2026 23:28:45 GMT</lastBuildDate><ttl>20</ttl><item><title>Best practice for changing form values</title><link>http://forum.strataframe.net/FindPost12198.aspx</link><description>I have several controls on a form, all with BindingField properties set on them.&amp;nbsp; When one changes, it affects the value of several others.&amp;nbsp; For example, I may have a Days field which affects the calculation of a Date2 field.&amp;nbsp; This would be something like Date2=Date1+Days.&amp;nbsp; When I type a value into the Days field I want it to update Date2 with whatever is in Date1 plus whatever I just typed into Days.&lt;/P&gt;&lt;P&gt;My question is how to best do this when binding to a BO field.&amp;nbsp; There seems to be some odd behavior in which it is struggling to know whether to use the data in the BO or the data in the field.&amp;nbsp; How do I make this work correctly??</description><pubDate>Tue, 30 Oct 2007 08:46:06 GMT</pubDate><dc:creator>Andria Jensen</dc:creator></item><item><title>RE: Best practice for changing form values</title><link>http://forum.strataframe.net/FindPost12259.aspx</link><description>Ok, here's the posted fix, Andria:&lt;/P&gt;&lt;P&gt;&lt;A href="http://forum.strataframe.net/FindPost12258.aspx"&gt;http://forum.strataframe.net/FindPost12258.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And to everyone: I'm doing my best to take your advice and post the updates in the update thread at the top of the forum home page ;)</description><pubDate>Tue, 30 Oct 2007 08:46:06 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Best practice for changing form values</title><link>http://forum.strataframe.net/FindPost12256.aspx</link><description>Nope, it hasn't been lost in translation, and I'm in the process of fixing it right now, stay tuned :)</description><pubDate>Tue, 30 Oct 2007 08:36:21 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Best practice for changing form values</title><link>http://forum.strataframe.net/FindPost12245.aspx</link><description>I just wanted to make sure you guys know that this is a DIFFERENT issue than the one you linked me to.&amp;nbsp; That issue is about &lt;STRONG&gt;&lt;EM&gt;missing&lt;/EM&gt;&lt;/STRONG&gt; 'End If' statements and this one is about &lt;STRONG&gt;&lt;EM&gt;extra&lt;/EM&gt;&lt;/STRONG&gt; 'End If' statements.&amp;nbsp; The fix that I have does not fix this problem, so it does still need to be addressed.&amp;nbsp; I just didn't want that to get lost in translation somehow.&amp;nbsp;</description><pubDate>Mon, 29 Oct 2007 15:41:42 GMT</pubDate><dc:creator>Andria Jensen</dc:creator></item><item><title>RE: Best practice for changing form values</title><link>http://forum.strataframe.net/FindPost12225.aspx</link><description>Oops, Trent slipped a post in while I was writing my post...you weren't responding to me...  Oh, the embarrassment :blush:</description><pubDate>Fri, 26 Oct 2007 12:23:31 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Best practice for changing form values</title><link>http://forum.strataframe.net/FindPost12224.aspx</link><description>I was making a joke :P&lt;br&gt;
&lt;br&gt;
The problem reported about a hundred times in the forms is [i]missing[/i] end ifs in a BO designer when the field has alternate values on null.&lt;br&gt;
&lt;br&gt;
Then you discover that when you add events to the properties, there are [b]extra[/b] end ifs (different bug for sure), so, I was like, you know, er...just saying that we found all those missing end ifs from the first bug :blush:</description><pubDate>Fri, 26 Oct 2007 12:22:10 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Best practice for changing form values</title><link>http://forum.strataframe.net/FindPost12221.aspx</link><description>Wait a second....you linked me back to my post.&amp;nbsp; And since that's my post, I already have those files which means they didn't fix that issue for me.&amp;nbsp; :crazy:</description><pubDate>Fri, 26 Oct 2007 11:33:45 GMT</pubDate><dc:creator>Andria Jensen</dc:creator></item><item><title>RE: Best practice for changing form values</title><link>http://forum.strataframe.net/FindPost12220.aspx</link><description>Ah, I must have missed the big conversation.&amp;nbsp; Thanks for the fix.</description><pubDate>Fri, 26 Oct 2007 11:32:21 GMT</pubDate><dc:creator>Andria Jensen</dc:creator></item><item><title>RE: Best practice for changing form values</title><link>http://forum.strataframe.net/FindPost12217.aspx</link><description>So this is were all those missing end ifs went!   :P</description><pubDate>Fri, 26 Oct 2007 11:05:06 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Best practice for changing form values</title><link>http://forum.strataframe.net/FindPost12216.aspx</link><description>This has already been fixed...and talked about a lot lately :)&lt;/P&gt;&lt;P&gt;Get the fix here: &lt;A href="http://forum.strataframe.net/Topic11831-10-1.aspx#bm11844"&gt;http://forum.strataframe.net/Topic11831-10-1.aspx#bm11844&lt;/A&gt;&amp;nbsp;</description><pubDate>Fri, 26 Oct 2007 11:03:47 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Best practice for changing form values</title><link>http://forum.strataframe.net/FindPost12214.aspx</link><description>Okay, I think &lt;EM&gt;maybe &lt;/EM&gt;I found a bug with this.&amp;nbsp; When I went in and added the FieldPropertyChanged event, the code generated an extra 'End If' in 4 of my properties.&amp;nbsp; Turns out these are the only properties set to&amp;nbsp; 'Return Alternate on Null/Set Null on Alternate (value type)' in this business object.&amp;nbsp; The code it generated looks like the following.&amp;nbsp; The extra 'End If' is bolded.&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;''' &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&amp;lt;summary&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;''' NextRunDate&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;''' &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&amp;lt;/summary&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;''' &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&amp;lt;remarks&amp;gt;&amp;lt;/remarks&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&amp;lt;Browsable(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;False&lt;/FONT&gt;&lt;FONT size=2&gt;), _&lt;BR&gt;BusinessFieldDisplayInEditor(), _&lt;BR&gt;Description(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"NextRunDate"&lt;/FONT&gt;&lt;FONT size=2&gt;), _&lt;BR&gt;DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)&amp;gt; _&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Public&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Property&lt;/FONT&gt;&lt;FONT size=2&gt; [NextRunDate]() &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; System.DateTime&lt;BR&gt;&amp;nbsp; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Get&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim&lt;/FONT&gt;&lt;FONT size=2&gt; loValue &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Object&lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; loValue = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.CurrentRow.Item(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"NextRunDate"&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;If&lt;/FONT&gt;&lt;FONT size=2&gt; loValue &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Is&lt;/FONT&gt;&lt;FONT size=2&gt; DBNull.Value &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Then&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Return&lt;/FONT&gt;&lt;FONT size=2&gt; #1/1/1800#&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Else&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Return&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;CType&lt;/FONT&gt;&lt;FONT size=2&gt;(loValue, System.DateTime)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;If&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&amp;nbsp; End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Get&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&amp;nbsp; Set&lt;/FONT&gt;&lt;FONT size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; value &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; System.DateTime)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;FONT size=2&gt; llRaiseEvent &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Boolean&lt;/FONT&gt;&lt;FONT size=2&gt; = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;False&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;FONT size=2&gt; loRow &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; DataRow = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.CurrentRow&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;If&lt;/FONT&gt;&lt;FONT size=2&gt; value &amp;lt;&amp;gt; #1/1/1800# &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Then&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;If&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Not&lt;/FONT&gt;&lt;FONT size=2&gt; loRow.Item(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"NextRunDate"&lt;/FONT&gt;&lt;FONT size=2&gt;).Equals(value) &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Then&lt;/FONT&gt;&lt;FONT size=2&gt; llRaiseEvent = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;True&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Else&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;If&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Not&lt;/FONT&gt;&lt;FONT size=2&gt; loRow.Item(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"NextRunDate"&lt;/FONT&gt;&lt;FONT size=2&gt;).Equals(DBNull.Value) &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Then&lt;/FONT&gt;&lt;FONT size=2&gt; llRaiseEvent = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;True&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;If&lt;BR&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color=#0000ff size=2&gt;&lt;STRONG&gt;If&lt;BR&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;If&lt;/FONT&gt;&lt;FONT size=2&gt; value &amp;lt;&amp;gt; #1/1/1800# &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Then&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;FONT size=2&gt;loRow.Item(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"NextRunDate"&lt;/FONT&gt;&lt;FONT size=2&gt;) = value&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Else&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;FONT size=2&gt;loRow.Item(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"NextRunDate"&lt;/FONT&gt;&lt;FONT size=2&gt;) = DBNull.Value&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;If&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;If&lt;/FONT&gt;&lt;FONT size=2&gt; llRaiseEvent &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Then&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.OnFieldPropertyChanged(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;New&lt;/FONT&gt;&lt;FONT size=2&gt;&amp;nbsp;&amp;nbsp; ABLFacilityBOFieldChangedEventArgs(ABLFacilityBOFieldNames.NextRunDate))&lt;BR&gt;&amp;nbsp; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Set&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Property&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Fri, 26 Oct 2007 10:51:03 GMT</pubDate><dc:creator>Andria Jensen</dc:creator></item><item><title>RE: Best practice for changing form values</title><link>http://forum.strataframe.net/FindPost12212.aspx</link><description>Great thanks, that's just what I was looking for.&amp;nbsp; :D</description><pubDate>Fri, 26 Oct 2007 10:13:45 GMT</pubDate><dc:creator>Andria Jensen</dc:creator></item><item><title>RE: Best practice for changing form values</title><link>http://forum.strataframe.net/FindPost12209.aspx</link><description>Andria,&lt;/P&gt;&lt;P&gt;Pauls example is very good and it will keep the logic within the BO using this approach and it is probably the cleanest solution.&amp;nbsp; There are also times that this may be more of a "one-time-thing" and I might handle a SelectedIndexChanged event or a TextChanged event, something of that nature, to add the logic.&amp;nbsp; However, this does break encapsulation and if the same logic is required in another location then you are asking for a bug.&amp;nbsp; The best and safest approach is Pauls example.</description><pubDate>Fri, 26 Oct 2007 10:04:49 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Best practice for changing form values</title><link>http://forum.strataframe.net/FindPost12206.aspx</link><description>Andria,&lt;/P&gt;&lt;P&gt;I am doing this type of thing&amp;nbsp;by having the BO raise a field changed or changing&amp;nbsp;event and then handling that event and setting the values. It works out great except if with a business binding source, then you will run into some issues with this appoach. &lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/208c8dcc-b284-42c8-8368-80a1.png"&gt;&lt;/P&gt;&lt;P&gt;You can also just add the code to the set method of the field to change the values of the other fields as well. &lt;/P&gt;&lt;FONT color=#00c000 size=1&gt;&lt;P&gt;''' &amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#00c000 size=1&gt;''' cki_Amount&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#00c000 size=1&gt;''' &amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#00c000 size=1&gt;''' &amp;lt;remarks&amp;gt;&amp;lt;/remarks&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;P&gt;&amp;lt;Browsable(&lt;/FONT&gt;&lt;FONT color=#0000ff size=1&gt;False&lt;/FONT&gt;&lt;FONT size=1&gt;), _&lt;/P&gt;&lt;P&gt;BusinessFieldDisplayInEditor(), _&lt;/P&gt;&lt;P&gt;Description("cki_Amount"), _&lt;/P&gt;&lt;P&gt;DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)&amp;gt; _&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=1&gt;Public&lt;/FONT&gt;&lt;FONT size=1&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=1&gt;Property&lt;/FONT&gt;&lt;FONT size=1&gt; [cki_Amount]() &lt;/FONT&gt;&lt;FONT color=#0000ff size=1&gt;As&lt;/FONT&gt;&lt;FONT size=1&gt; System.&lt;/FONT&gt;&lt;FONT color=#0000ff size=1&gt;Decimal&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=1&gt;Get&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=1&gt;Return&lt;/FONT&gt;&lt;FONT size=1&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=1&gt;CType&lt;/FONT&gt;&lt;FONT size=1&gt;(&lt;/FONT&gt;&lt;FONT color=#0000ff size=1&gt;Me&lt;/FONT&gt;&lt;FONT size=1&gt;.CurrentRow.Item("cki_Amount"), System.&lt;/FONT&gt;&lt;FONT color=#0000ff size=1&gt;Decimal&lt;/FONT&gt;&lt;FONT size=1&gt;)&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=1&gt;End&lt;/FONT&gt;&lt;FONT size=1&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=1&gt;Get&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=1&gt;Set&lt;/FONT&gt;&lt;FONT size=1&gt;(&lt;/FONT&gt;&lt;FONT color=#0000ff size=1&gt;ByVal&lt;/FONT&gt;&lt;FONT size=1&gt; value &lt;/FONT&gt;&lt;FONT color=#0000ff size=1&gt;As&lt;/FONT&gt;&lt;FONT size=1&gt; System.&lt;/FONT&gt;&lt;FONT color=#0000ff size=1&gt;Decimal&lt;/FONT&gt;&lt;FONT size=1&gt;)&lt;/P&gt;&lt;FONT color=#00c000&gt;'Set the Value 's of whtever else&lt;/FONT&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=1&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=1&gt;me.someproperty&amp;nbsp; = somevalue&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#00c000 size=1&gt;'Set the Value &lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=1&gt;Me&lt;/FONT&gt;&lt;FONT size=1&gt;.CurrentRow.Item("cki_Amount") = value&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff size=1&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=1&gt;End&lt;/FONT&gt;&lt;FONT size=1&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=1&gt;Set&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Fri, 26 Oct 2007 09:54:16 GMT</pubDate><dc:creator>Paul Chase</dc:creator></item></channel></rss>