<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
<channel>
<title>CodeStore.net comments on "Domino Auto-Trimming Multi Value Fields"</title>
<description>Replies to blog "Domino Auto-Trimming Multi Value Fields" on codestore.net.</description>
<link>http://www.codestore.net/</link>
<lastBuildDate>Thu, 31 Aug 2006 10:33:00 +0100</lastBuildDate>
<atom:link href="http://www.codestore.net/store.nsf/blog.xml?Open=20060628" rel="self" type="application/rss+xml" />

<item>
	<title>Reply from kishore</title>
	<pubDate>Thu, 31 Aug 2006 10:33:00 +0100</pubDate>
	<author>kishore</author>
	<description><![CDATA[ 
		<p>its really good can u send me this dattabase</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=830BA2D8CF14C5BD862571DB00557BC3"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20060628?OpenDocument#DOC_830BA2D8</link>
</item><item>
	<title>Reply from Martin</title>
	<pubDate>Fri, 30 Jun 2006 11:45:00 +0100</pubDate>
	<author>Martin</author>
	<description><![CDATA[ 
		<p>Uff, thank you Rod, I started to be afraid about one of our application, where we use space for empty values and it's working - because it is computed fields.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=D7773B4D939661F98625719D005C07AD"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20060628?OpenDocument#DOC_D7773B4D</link>
</item><item>
	<title>Reply from Richard Shergold</title>
	<pubDate>Fri, 30 Jun 2006 01:11:00 +0100</pubDate>
	<author>Richard Shergold</author>
	<description><![CDATA[ 
		<p>Rod - you're right.  I misread the post, I thought Jake was questioning the @Trim functionality.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=CEA2F3A0EBC715498625719D00220A28"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20060628?OpenDocument#DOC_CEA2F3A0</link>
</item><item>
	<title>Reply from Rod Stauffer</title>
	<pubDate>Thu, 29 Jun 2006 16:33:00 +0100</pubDate>
	<author>Rod Stauffer</author>
	<description><![CDATA[ 
		<p>To be pedantic, I shouldn't have used the term "nulls"...  Empty, or Blank would have been more appropriate.  Still, you get the idea.</p>
		<p>Rod</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=D2CCA32BD301B33A8625719C007677C6"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20060628?OpenDocument#DOC_D2CCA32B</link>
</item><item>
	<title>Reply from Rod Stauffer</title>
	<pubDate>Thu, 29 Jun 2006 16:28:00 +0100</pubDate>
	<author>Rod Stauffer</author>
	<description><![CDATA[ 
		<p>Wait a sec everybody.  Yeah, @Trim will trim out the blanks.  It's always been that way, and Jake knows that.  Problem is, the nulls are getting trimmed without using @Trim.</p>
		<p>Well, I think the distinction is that computed fields and editable fields do things kinda differently.  In a computed field, the nulls will remain (unless @Trim is used).  In an editable field, the nulls are automatically trimmed (apparently it's assumed that consecutive separators equate to user input error or something)...</p>
		<p>So, what to do...at a high level, here's one approach:</p>
		<p>If all the values are on a single document, create a table or grid mechanism.  Computed fields for First, Middle, and Last names.  An "Add" button to bring up a dialog box or something to add a "row".  A "Delete" button to bring up a dialog in which the row to delete can be selected.  An edit button (first dialog is to select the row, second dialog to actually edit that row).</p>
		<p>That removes the auto-trim behavior of editable fields from your form.  The null values will remain in the computed fields.</p>
		<p>Hope that helps.</p>
		<p>Rod</p>
		<p>Side note: "Trim" in LotusScript is the one that removes only whitespace.  They added "FullTrim" to duplicate the behavior of @Trim.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=2E36AFC06515F8BC8625719C0076006B"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20060628?OpenDocument#DOC_2E36AFC0</link>
</item><item>
	<title>Reply from Jerry Carter</title>
	<pubDate>Thu, 29 Jun 2006 07:47:00 +0100</pubDate>
	<author>Jerry Carter</author>
	<description><![CDATA[ 
		<p>Hm.  Let me try...</p>
		<p>"Microsoft;Sun" ".NET;Java"</p>
		<p>Now if I make .NET a null... hm.  Everything still looks the same.  </p>
		<p>;-)</p>
		<p>Too vague?</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=BFB5AAC6B72002C88625719C00464E5E"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20060628?OpenDocument#DOC_BFB5AAC6</link>
</item><item>
	<title>Reply from Richard Shergold</title>
	<pubDate>Thu, 29 Jun 2006 03:34:00 +0100</pubDate>
	<author>Richard Shergold</author>
	<description><![CDATA[ 
		<p>Jake, I've been developing in Notes since the R3 days and I'm 100% certain that @Trim has always removed blank entries from the list. </p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=02B307678EAC9BF78625719C002F21DD"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20060628?OpenDocument#DOC_02B30767</link>
</item><item>
	<title>Reply from Anthony</title>
	<pubDate>Wed, 28 Jun 2006 19:44:00 +0100</pubDate>
	<author>Anthony</author>
	<description><![CDATA[ 
		<p>Multivalue fields in Notes have behaved like this for as long as I can remember, which is R4 for me.</p>
		<p>This has only effected me in when I wanted to show a table where null entries are present. When this was the case I had two options to preserve the null options in a multivalue field.</p>
		<p>1. The multivalue field that needs to store the null values is not on form. For example if the field is constructed back end and saved to the note then the null value is preserved. The key to this working is to remember that the in memory and backend documents store different values and you can copy the value of the in memory field to another field on the backend document not saving the original field.</p>
		<p>2. Translating the null values to another character so that Notes would register it a valid entry in the list and preserve the order.</p>
		<p>I know both these methods are hacks, but we are talking about Lotus Notes.</p>
		<p>Regards,</p>
		<p>Anthony</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=7C8D35E720B5EA3E8625719C00041620"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20060628?OpenDocument#DOC_7C8D35E7</link>
</item><item>
	<title>Reply from Tim Tripcony</title>
	<pubDate>Wed, 28 Jun 2006 18:40:00 +0100</pubDate>
	<author>Tim Tripcony</author>
	<description><![CDATA[ 
		<p>I've actually seen (or think I have) a change in how @Trim works: used to be I could use it to remove either null entries from a list or redundant spaces from a single value... got burned the other day when it suddenly did both, removing redundant spaces from each value in a list where I wanted to remove null list members but keep redundant spaces (don't ask).</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=3AF033B105CE98638625719B00820692"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20060628?OpenDocument#DOC_3AF033B1</link>
</item><item>
	<title>Reply from Patrick Corey</title>
	<pubDate>Wed, 28 Jun 2006 14:12:00 +0100</pubDate>
	<author>Patrick Corey</author>
	<description><![CDATA[ 
		<p>When @trim is used I know this was true in R5.  In R6/R6.5/R7 I did @trim within you example and it does show this result.  It is possible to have blank lines or null multivales, but that is due to backend (non gui method) to create document(s).  I've seen this get trim via the notes client though as well.  So I would like see an example app and a specific release / build,  Was this behavior client side or web side?</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=213D426A69924F6C8625719B00697E59"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20060628?OpenDocument#DOC_213D426A</link>
</item><item>
	<title>Reply from Jake Howlett</title>
	<pubDate>Wed, 28 Jun 2006 13:41:00 +0100</pubDate>
	<author>Jake Howlett</author>
	<description><![CDATA[ 
		<p>Thanks Seth. I thought I was going bonkers ;o)</p>
		<p>Whether or not it ever was the way you and I believe, I'm adamant that's the way it *should* be in a world of common sense.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=5F44061641A13E808625719B0066A5A7"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20060628?OpenDocument#DOC_5F440616</link>
</item><item>
	<title>Reply from Seth Crothers</title>
	<pubDate>Wed, 28 Jun 2006 12:52:00 +0100</pubDate>
	<author>Seth Crothers</author>
	<description><![CDATA[ 
		<p>I'm with Jake-- I thought the default was *not* to trim the blanks from a list...</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=92617DD150B0EC1A8625719B0062314C"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20060628?OpenDocument#DOC_92617DD1</link>
</item><item>
	<title>Reply from Brian</title>
	<pubDate>Wed, 28 Jun 2006 09:16:00 +0100</pubDate>
	<author>Brian</author>
	<description><![CDATA[ 
		<p>It's always trimmed them automatically. That's why we had to put "." or something for the field values in a "dynamic" table.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=5377008656463C058625719B004E6204"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20060628?OpenDocument#DOC_53770086</link>
</item><item>
	<title>Reply from Steve</title>
	<pubDate>Wed, 28 Jun 2006 08:25:00 +0100</pubDate>
	<author>Steve</author>
	<description><![CDATA[ 
		<p>This goes back as long as I can remember - Can't remember if this happened in v3 but for years I have been adding null values as "~" or "#" instead of "" to keep those null values - especially when there are several multi value fields forming a "table" of corresponding values.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=A54852379C6EBACF8625719B0049C313"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20060628?OpenDocument#DOC_A5485237</link>
</item><item>
	<title>Reply from harkpabst_meliantrop</title>
	<pubDate>Wed, 28 Jun 2006 07:57:00 +0100</pubDate>
	<author>harkpabst_meliantrop</author>
	<description><![CDATA[ 
		<p>A quick check in 4.6 gave the same result. So, as far as my Notes experience goes, this has always been the normal behaviour. :-)</p>
		<p>But don't wory: Just one week ago I found out that the underscore IS a legal character to start a field name with, when I always thought it wasn't. Things like this keep happening, but not only in Notes, I assume.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=A8A1FC76AFBC8AF28625719B004735DC"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20060628?OpenDocument#DOC_A8A1FC76</link>
</item><item>
	<title>Reply from Jake Howlett</title>
	<pubDate>Wed, 28 Jun 2006 07:15:00 +0100</pubDate>
	<author>Jake Howlett</author>
	<description><![CDATA[ 
		<p>Definitely always Patrick? I'm sure I remember a time when they weren't. I only remember this as at the time I *wanted* them to be removed and thought that an annoyance.</p>
		<p>Is there no way to include blank entries then?</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=51E8096817BDE9D88625719B004360D4"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20060628?OpenDocument#DOC_51E80968</link>
</item><item>
	<title>Reply from Patrick Corey</title>
	<pubDate>Wed, 28 Jun 2006 07:13:00 +0100</pubDate>
	<author>Patrick Corey</author>
	<description><![CDATA[ 
		<p>Jake,</p>
		<p>Blank/null entries have always been removed within domino multivalue arrays.  The classic test does not require programming either.  Just do to the server configuration document.  in the field where tou can block domain/ip addresses for inbound SMTP. enter something with a double semicolono or just do an extra carriage return.  you will notice it removes null entries.</p>
		<p>hope this helps</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=70DF23D3FDD481738625719B00432E76"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20060628?OpenDocument#DOC_70DF23D3</link>
</item><item>
	<title>Reply from Lee</title>
	<pubDate>Wed, 28 Jun 2006 06:49:00 +0100</pubDate>
	<author>Lee</author>
	<description><![CDATA[ 
		<p>6.51</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=D559342FA861CB518625719B0040FB91"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20060628?OpenDocument#DOC_D559342F</link>
</item><item>
	<title>Reply from Jake Howlett</title>
	<pubDate>Wed, 28 Jun 2006 06:46:00 +0100</pubDate>
	<author>Jake Howlett</author>
	<description><![CDATA[ 
		<p>Hi Lee. Even when I put a space in it trims that as well. What version are you using?</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=54417BBA8596F9668625719B0040AD5D"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20060628?OpenDocument#DOC_54417BBA</link>
</item><item>
	<title>Reply from Lee</title>
	<pubDate>Wed, 28 Jun 2006 06:30:00 +0100</pubDate>
	<author>Lee</author>
	<description><![CDATA[ 
		<p>Hi Jake</p>
		<p>Just a quick test with this shows that if you put a space in as an entry it doesn't trim it so maybe try putting in a translation formula to change a blank into a space and then trim it when you concatenate them so there's not an extra space in the middle. Not the best way but i can't see another way just now.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=C27947CE2B37E9DA8625719B003F368C"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20060628?OpenDocument#DOC_C27947CE</link>
</item>

</channel>
</rss> 
