<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Rasika&#039;s Blog</title>
	<atom:link href="https://techras.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://techras.wordpress.com</link>
	<description>My personal knowledgebase</description>
	<lastBuildDate>Tue, 21 Feb 2012 21:06:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='techras.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>https://secure.gravatar.com/blavatar/54898006685c889e4b80b774d0289cef?s=96&#038;d=https%3A%2F%2Fs-ssl.wordpress.com%2Fi%2Fbuttonw-com.png</url>
		<title>Rasika&#039;s Blog</title>
		<link>https://techras.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="https://techras.wordpress.com/osd.xml" title="Rasika&#039;s Blog" />
	<atom:link rel='hub' href='https://techras.wordpress.com/?pushpress=hub'/>
		<item>
		<title>How to resolve SQL Server 2005 Index Corrupt issue</title>
		<link>https://techras.wordpress.com/2011/06/07/how-to-resolve-sql-server-2005-index-corrupt-issue/</link>
		<comments>https://techras.wordpress.com/2011/06/07/how-to-resolve-sql-server-2005-index-corrupt-issue/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 15:44:59 +0000</pubDate>
		<dc:creator>techras</dc:creator>
				<category><![CDATA[SQL Server2005]]></category>

		<guid isPermaLink="false">http://techras.wordpress.com/?p=83</guid>
		<description><![CDATA[Hi All, I recently came across the following errors on trying to do an integrity check on one of my DBs Msg 8951, Level 16, State 1, Line 1 Table error: table &#8216;LIVE.CBNHEA&#8217; (ID 1652916960). Data row does not have a matching index row in the index &#8216;CBNHEA_ROWID&#8217; (ID 2). Possible missing or invalid keys [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techras.wordpress.com&amp;blog=11914630&amp;post=83&amp;subd=techras&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi All,</p>
<p>I recently came across the following errors on trying to do an integrity check on one of my DBs</p>
<p>Msg 8951, Level 16, State 1, Line 1<br />
Table error: table &#8216;LIVE.CBNHEA&#8217; (ID 1652916960). Data row does not have a matching index row in the index &#8216;CBNHEA_ROWID&#8217; (ID 2). Possible missing or invalid keys for the index row matching:<br />
Msg 8955, Level 16, State 1, Line 1<br />
Data row (1:3726817:1) identified by (HEAP RID = (1:3726817:1)) with index values &#8216;ROWID = 5679187 and HEAP RID = (1:3726817:1)&#8217;.<br />
Msg 8951, Level 16, State 1, Line 1<br />
Table error: table &#8216;LIVE.CBNHEA&#8217; (ID 1652916960). Data row does not have a matching index row in the index &#8216;CBNHEA_CBH0&#8242; (ID 3). Possible missing or invalid keys for the index row matching:<br />
Msg 8955, Level 16, State 1, Line 1<br />
Data row (1:3726817:1) identified by (HEAP RID = (1:3726817:1)) with index values &#8216;STOFCY_0 = &#8216;HLT&#8217; and ITMREF_0 = &#8216; and HEAP RID = (1:3726817:1)&#8217;.<br />
Msg 8951, Level 16, State 1, Line 1<br />
Table error: table &#8216;LIVE.CBNHEA&#8217; (ID 1652916960). Data row does not have a matching index row in the index &#8216;CBNHEA_CBH1&#8242; (ID 4). Possible missing or invalid keys for the index row matching:<br />
Msg 8955, Level 16, State 1, Line 1<br />
Data row (1:3726817:1) identified by (HEAP RID = (1:3726817:1)) with index values &#8216;STOFCY_0 = &#8216;HLT&#8217; and LLC_0 = 99 and ITMREF_0 = &#8216; and HEAP RID = (1:3726817:1)&#8217;.<br />
CHECKDB found 0 allocation errors and 3 consistency errors in table &#8216;LIVE.CBNHEA&#8217; (object ID 1652916960).<br />
CHECKDB found 0 allocation errors and 3 consistency errors in database &#8216;adonix&#8217;.<br />
repair_rebuild is the minimum repair level for the errors found by DBCC CHECKDB (adonix).</p>
<p>Then I ran the dbcc CHECKDB with &#8216;repair_rebuild&#8217; on single user mode and it fixed the issue straight away.</p>
<p>This is what I did;</p>
<p>1. Put the DB on single user mode &#8211; In order to do this, right-click on the DB and select properties and then go to options, in the options select &#8220;Restrict Access&#8221; and then select &#8220;Single_User&#8221; and click &#8220;Yes&#8221;. You will have to close the management studio and reconnect again before proceeding to the next step.</p>
<p>2. After login on to management studio open up a query window that points to the relevant DB. Type the following</p>
<p>         dbcc CHECKDB<span style="font-size:x-small;"> </span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">(</span></span><span style="color:#ff0000;font-size:x-small;"><span style="color:#ff0000;font-size:x-small;">&#8216;dbname&#8217;</span></span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">,</span></span><span style="color:#ff0000;font-size:x-small;"><span style="color:#ff0000;font-size:x-small;">&#8216;repair_rebuild&#8217;</span></span><span style="color:#808080;font-size:x-small;">)</span></p>
<p>3. run the dbcc CHECKDB(<span style="color:#ff0000;">&#8216;dbname&#8217;</span>)</p>
<p>This time all the inconsistency errors are gone <img src='https://s-ssl.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Happy Coding <img src='https://s-ssl.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techras.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techras.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techras.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techras.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techras.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techras.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techras.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techras.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techras.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techras.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techras.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techras.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techras.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techras.wordpress.com/83/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techras.wordpress.com&amp;blog=11914630&amp;post=83&amp;subd=techras&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://techras.wordpress.com/2011/06/07/how-to-resolve-sql-server-2005-index-corrupt-issue/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/20dd977ad8d8e62df1b99d87f320f89b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techras</media:title>
		</media:content>
	</item>
		<item>
		<title>Regex replace for MySQL</title>
		<link>https://techras.wordpress.com/2011/06/02/regex-replace-for-mysql/</link>
		<comments>https://techras.wordpress.com/2011/06/02/regex-replace-for-mysql/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 14:57:05 +0000</pubDate>
		<dc:creator>techras</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://techras.wordpress.com/?p=78</guid>
		<description><![CDATA[Hi All, Recently I came across a requirement where I had to cleanse the data that I&#8217;m inserting in to MySQL database using regular expressions, so I started searching for a function to do this on MySQL, but unfortunately I couldn&#8217;t find any. There was one called UDB but that&#8217;s also you need to install [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techras.wordpress.com&amp;blog=11914630&amp;post=78&amp;subd=techras&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi All,</p>
<p>Recently I came across a requirement where I had to cleanse the data that I&#8217;m inserting in to MySQL database using regular expressions, so I started searching for a function to do this on MySQL, but unfortunately I couldn&#8217;t find any. There was one called UDB but that&#8217;s also you need to install a module and stuff like that. I gave up searching finally and wrote my own &#8220;regex_replace&#8221; MySQL function.</p>
<p style="padding-left:30px;">
<p>Below is the source code of my function;</p>
<pre>DELIMITER $$
<span style="color:#0000ff;">CREATE FUNCTION</span>  `regex_replace`(pattern <span style="color:#0000ff;">VARCHAR</span>(1000),replacement <span style="color:#0000ff;">VARCHAR</span>(1000),original <span style="color:#0000ff;">VARCHAR</span>(1000))

<span style="color:#0000ff;">RETURNS</span> <span style="color:#0000ff;">VARCHAR</span>(1000)
<span style="color:#0000ff;">DETERMINISTIC</span>
<span style="color:#0000ff;">BEGIN </span>
 <span style="color:#0000ff;">DECLARE</span> temp <span style="color:#0000ff;">VARCHAR</span>(1000);
 <span style="color:#0000ff;">DECLARE</span> ch <span style="color:#0000ff;">VARCHAR</span>(1);
 <span style="color:#0000ff;">DECLARE</span> i <span style="color:#0000ff;">INT</span>;
 <span style="color:#0000ff;">SET</span> i = 1;
 <span style="color:#0000ff;">SET</span> temp = '';
 <span style="color:#0000ff;">IF</span> original <span style="color:#0000ff;">REGEXP</span> pattern <span style="color:#0000ff;">THEN </span>
  loop_label: <span style="color:#0000ff;">LOOP </span>
   <span style="color:#0000ff;">IF</span> i&gt;CHAR_LENGTH(original) <span style="color:#0000ff;">THEN</span>
    <span style="color:#0000ff;">LEAVE</span> loop_label;
   <span style="color:#0000ff;">END</span> <span style="color:#0000ff;">IF</span>;
   <span style="color:#0000ff;">SET</span> ch = <span style="color:#ff00ff;">SUBSTRING</span>(original,i,1);
   <span style="color:#0000ff;">IF</span> <span style="color:#0000ff;">NOT</span> ch <span style="color:#0000ff;">REGEXP</span> pattern <span style="color:#0000ff;">THEN</span>
    <span style="color:#0000ff;">SET</span> temp = <span style="color:#ff00ff;">CONCAT</span>(temp,ch);
   <span style="color:#0000ff;">ELSE</span>
    <span style="color:#0000ff;">SET</span> temp = <span style="color:#ff00ff;">CONCAT</span>(temp,replacement);
   <span style="color:#0000ff;">END</span> <span style="color:#0000ff;">IF</span>;
   <span style="color:#0000ff;">SET</span> i=i+1;
  <span style="color:#0000ff;">END</span> <span style="color:#0000ff;">LOOP</span>;
 <span style="color:#0000ff;">ELSE</span>
  <span style="color:#0000ff;">SET</span> temp = original;
 <span style="color:#0000ff;">END</span> <span style="color:#0000ff;">IF</span>;
 <span style="color:#0000ff;">RETURN</span> temp;
<span style="color:#0000ff;">END$$</span>
<span style="color:#0000ff;">DELIMITER</span> ;</pre>
<p>Note:</p>
<p>If you are using MySQL version 5.0.1 or higher, make sure you set the NO_BACKSLASH_ESCAPES mode ON, before you use the above function to replace any characters which are escaped with back slash &#8220;\&#8221;, ie: \A,\B,etc&#8230; See how to set the NO_BACKSLASH_ESCAPES mode <a title="here" href="http://dev.mysql.com/doc/refman/5.0/en/news-5-0-22.html" target="_blank">here </a></p>
<p>Example on how to use this function<br />
mysql&gt; <code>select regex_replace('[^a-zA-Z0-9\-]','','2my test3_text-to. check \\ my- sql (regular) ,expressions ._,');</code></p>
<p>Happy Coding!! <img src='https://s-ssl.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techras.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techras.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techras.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techras.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techras.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techras.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techras.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techras.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techras.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techras.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techras.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techras.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techras.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techras.wordpress.com/78/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techras.wordpress.com&amp;blog=11914630&amp;post=78&amp;subd=techras&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://techras.wordpress.com/2011/06/02/regex-replace-for-mysql/feed/</wfw:commentRss>
		<slash:comments>33</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/20dd977ad8d8e62df1b99d87f320f89b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techras</media:title>
		</media:content>
	</item>
		<item>
		<title>DBNull Parser for VBScript</title>
		<link>https://techras.wordpress.com/2010/04/14/dbnull-parser-for-vbscript/</link>
		<comments>https://techras.wordpress.com/2010/04/14/dbnull-parser-for-vbscript/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 16:53:36 +0000</pubDate>
		<dc:creator>techras</dc:creator>
				<category><![CDATA[VBScript]]></category>

		<guid isPermaLink="false">http://techras.wordpress.com/?p=71</guid>
		<description><![CDATA[Function ParseDBNull(objVal,strDataType)          If ISNull(objVal) = True Then                Select Case  lcase(strDataType)                            Case &#8220;string&#8221;,&#8221;datetime&#8221;                                        ParseDBNull = &#8220;&#8221;                           Case &#8220;numeric&#8221;                                     ParseDBNull = 0                          Case &#8220;boolean&#8221;                                     ParseDBNull = False                          Case Else                                      ParseDBNull = &#8220;&#8221;                     End Select              Else                       ParseDBNull = objVal               End If End Function<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techras.wordpress.com&amp;blog=11914630&amp;post=71&amp;subd=techras&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Function ParseDBNull(objVal,strDataType)</p>
<p>         If ISNull(objVal) = True Then</p>
<p>               Select Case  lcase(strDataType)</p>
<p>                           Case &#8220;string&#8221;,&#8221;datetime&#8221;</p>
<p>                                       ParseDBNull = &#8220;&#8221;</p>
<p>                          Case &#8220;numeric&#8221;</p>
<p>                                    ParseDBNull = 0</p>
<p>                         Case &#8220;boolean&#8221;</p>
<p>                                    ParseDBNull = False</p>
<p>                         Case Else</p>
<p>                                     ParseDBNull = &#8220;&#8221;</p>
<p>                    End Select</p>
<p>             Else</p>
<p>                      ParseDBNull = objVal</p>
<p>              End If</p>
<p>End Function</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techras.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techras.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techras.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techras.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techras.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techras.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techras.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techras.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techras.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techras.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techras.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techras.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techras.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techras.wordpress.com/71/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techras.wordpress.com&amp;blog=11914630&amp;post=71&amp;subd=techras&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://techras.wordpress.com/2010/04/14/dbnull-parser-for-vbscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/20dd977ad8d8e62df1b99d87f320f89b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techras</media:title>
		</media:content>
	</item>
		<item>
		<title>Adding PopUpMenu Items dynamically to the DataGrid&#8217;s PopUpMenu in SalesLogix6.2</title>
		<link>https://techras.wordpress.com/2010/04/12/adding-popupmenu-items-dynamically-to-the-datagrids-popupmenu-in-saleslogix6-2/</link>
		<comments>https://techras.wordpress.com/2010/04/12/adding-popupmenu-items-dynamically-to-the-datagrids-popupmenu-in-saleslogix6-2/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 09:19:47 +0000</pubDate>
		<dc:creator>techras</dc:creator>
				<category><![CDATA[SalesLogix 6.X]]></category>
		<category><![CDATA[VBScript]]></category>

		<guid isPermaLink="false">http://techras.wordpress.com/?p=66</guid>
		<description><![CDATA[Hi All, You can use the following method to add menu items dynamically to the PopUpMenu of the DataGrid control of the SalesLogix6.2 LAN Client. Sub PupulateMenu() dim objMnu,i dim arrMenuItems  arrMenuItems = Array(&#8220;Menu Item1&#8243;,&#8221;Menu Item2&#8243;,&#8221;Menu Item3&#8243;,&#8221;Menu Item4&#8243;)  set objMnu = &#60;DataGrid Control Name&#62;.PopupMenu  For i=0 to Ubound(arrMenuItems)  objMnu.Add  objMnu.Items(i+1).Caption = arrMenuItems(i)  Next End Sub [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techras.wordpress.com&amp;blog=11914630&amp;post=66&amp;subd=techras&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi All,</p>
<p>You can use the following method to add menu items dynamically to the PopUpMenu of the DataGrid control of the SalesLogix6.2 LAN Client.</p>
<p>Sub PupulateMenu()</p>
<p>dim objMnu,i<br />
dim arrMenuItems</p>
<p> arrMenuItems = Array(&#8220;Menu Item1&#8243;,&#8221;Menu Item2&#8243;,&#8221;Menu Item3&#8243;,&#8221;Menu Item4&#8243;)<br />
 set objMnu = &lt;DataGrid Control Name&gt;.PopupMenu</p>
<p> For i=0 to Ubound(arrMenuItems)<br />
 objMnu.Add<br />
 objMnu.Items(i+1).Caption = arrMenuItems(i)<br />
 Next</p>
<p>End Sub</p>
<p>Sub &lt;DataGrid Control Name&gt;MenuClick(Sender,Item) </p>
<p>Select case  &lt;DataGrid Control Name&gt;.PopupMenu.MenuIndex<br />
        case 1<br />
             msgbox &#8220;Menu Item1 Selected&#8221;<br />
        case 2<br />
             msgbox &#8220;Menu Item2 Selected&#8221;<br />
        case 3<br />
             msgbox &#8220;Menu Item3 Selected&#8221;<br />
        case 4<br />
             msgbox &#8220;Menu Item4 Selected&#8221;<br />
        case else<br />
             msgbox &#8220;Invalid Menu Option&#8221;<br />
 End Select</p>
<p>End Sub</p>
<p>Happy Coding!! <img src='https://s-ssl.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techras.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techras.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techras.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techras.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techras.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techras.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techras.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techras.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techras.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techras.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techras.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techras.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techras.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techras.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techras.wordpress.com&amp;blog=11914630&amp;post=66&amp;subd=techras&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://techras.wordpress.com/2010/04/12/adding-popupmenu-items-dynamically-to-the-datagrids-popupmenu-in-saleslogix6-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/20dd977ad8d8e62df1b99d87f320f89b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techras</media:title>
		</media:content>
	</item>
		<item>
		<title>How to add radio buttons to a RadioGroup in SalesLogix 6.2</title>
		<link>https://techras.wordpress.com/2010/04/08/how-to-add-radio-buttons-to-a-radiogroup-in-saleslogix-6-2/</link>
		<comments>https://techras.wordpress.com/2010/04/08/how-to-add-radio-buttons-to-a-radiogroup-in-saleslogix-6-2/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 14:22:51 +0000</pubDate>
		<dc:creator>techras</dc:creator>
				<category><![CDATA[SalesLogix 6.X]]></category>

		<guid isPermaLink="false">http://techras.wordpress.com/?p=62</guid>
		<description><![CDATA[Use the following syntax to add an item to the RadioGroup &#60;RadioGroup Name&#62;.Items.Add(&#8220;&#60;Title/Caption&#62;&#8221;) Use the following syntax to capture the selected item or to set the default selection &#60;RadioGroup Name&#62;.ItemIndex = &#60;Index of the default selection&#62; Happy Coding!!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techras.wordpress.com&amp;blog=11914630&amp;post=62&amp;subd=techras&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Use the following syntax to add an item to the RadioGroup</p>
<p>&lt;RadioGroup Name&gt;.Items.Add(&#8220;&lt;Title/Caption&gt;&#8221;)</p>
<p>Use the following syntax to capture the selected item or to set the default selection</p>
<p>&lt;RadioGroup Name&gt;.ItemIndex = &lt;Index of the default selection&gt;</p>
<p>Happy Coding!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techras.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techras.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techras.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techras.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techras.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techras.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techras.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techras.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techras.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techras.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techras.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techras.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techras.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techras.wordpress.com/62/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techras.wordpress.com&amp;blog=11914630&amp;post=62&amp;subd=techras&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://techras.wordpress.com/2010/04/08/how-to-add-radio-buttons-to-a-radiogroup-in-saleslogix-6-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/20dd977ad8d8e62df1b99d87f320f89b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techras</media:title>
		</media:content>
	</item>
		<item>
		<title>How to compare time values in SQL Server 2005</title>
		<link>https://techras.wordpress.com/2010/04/01/how-to-compare-time-values-in-sql-server-2005/</link>
		<comments>https://techras.wordpress.com/2010/04/01/how-to-compare-time-values-in-sql-server-2005/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 11:26:03 +0000</pubDate>
		<dc:creator>techras</dc:creator>
				<category><![CDATA[SQL Server2005]]></category>

		<guid isPermaLink="false">http://techras.wordpress.com/?p=55</guid>
		<description><![CDATA[The following query filters the results set based on the time value only Select * From &#60;Table Name&#62; Where  Convert(Varchar(8),&#60;DateTime Field Name&#62;,8) &#62;= &#8216;&#60;Time Value&#62;&#8217; In the above query it will compare a time value with the format of,            hh:mm:ss If you don&#8217;t want the seconds portion of it simply reduce the length of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techras.wordpress.com&amp;blog=11914630&amp;post=55&amp;subd=techras&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The following query filters the results set based on the time value only</p>
<p>Select * From &lt;Table Name&gt;</p>
<p>Where  Convert(Varchar(8),&lt;DateTime Field Name&gt;,8) &gt;= &#8216;&lt;Time Value&gt;&#8217;</p>
<p>In the above query it will compare a time value with the format of,</p>
<p>           hh:mm:ss</p>
<p>If you don&#8217;t want the seconds portion of it simply reduce the length of the converted field</p>
<p>ie. Convert(varchar(5),&lt;DateTime Field Name&gt;,8)      this will only return a time value with the format of,</p>
<p>        hh:mm</p>
<p>Happy coding!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techras.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techras.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techras.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techras.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techras.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techras.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techras.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techras.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techras.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techras.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techras.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techras.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techras.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techras.wordpress.com/55/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techras.wordpress.com&amp;blog=11914630&amp;post=55&amp;subd=techras&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://techras.wordpress.com/2010/04/01/how-to-compare-time-values-in-sql-server-2005/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/20dd977ad8d8e62df1b99d87f320f89b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techras</media:title>
		</media:content>
	</item>
		<item>
		<title>How to get the number of days in the month (SQLServer 2005)</title>
		<link>https://techras.wordpress.com/2010/02/16/how-to-get-the-number-of-days-in-the-month-sqlserver-2005/</link>
		<comments>https://techras.wordpress.com/2010/02/16/how-to-get-the-number-of-days-in-the-month-sqlserver-2005/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 12:05:18 +0000</pubDate>
		<dc:creator>techras</dc:creator>
				<category><![CDATA[SQL Server2005]]></category>

		<guid isPermaLink="false">http://techras.wordpress.com/?p=34</guid>
		<description><![CDATA[Create Function GetNumberOfDaysInTheMonth(@PDate DATETIME) Returns INT AS BEGIN  RETURN CASE WHEN Month(@PDate) IN (1, 3, 5, 7, 8, 10, 12) THEN 31                                 WHEN Month(@PDate) IN (4, 6, 9, 11) THEN 30                                 WHEN Month(@PDate)=2 THEN                     CASE  WHEN (Year(@PDate)%4 = 0)  AND  (Year(@PDate)%100 != 0  OR  Year(@PDate)%400 = 0)                                          THEN 29                     ELSE 28                     [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techras.wordpress.com&amp;blog=11914630&amp;post=34&amp;subd=techras&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Create Function GetNumberOfDaysInTheMonth(@PDate DATETIME) Returns INT</p>
<p>AS</p>
<p>BEGIN </p>
<p>RETURN CASE WHEN Month(@PDate) IN (1, 3, 5, 7, 8, 10, 12) THEN 31</p>
<p>                                WHEN Month(@PDate) IN (4, 6, 9, 11) THEN 30</p>
<p>                                WHEN Month(@PDate)=2 THEN</p>
<p>                    CASE  WHEN (Year(@PDate)%4 = 0)  AND  (Year(@PDate)%100 != 0  OR  Year(@PDate)%400 = 0)                     </p>
<p>                    THEN 29</p>
<p>                    ELSE 28</p>
<p>                    END</p>
<p> END</p>
<p>END</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techras.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techras.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techras.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techras.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techras.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techras.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techras.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techras.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techras.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techras.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techras.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techras.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techras.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techras.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techras.wordpress.com&amp;blog=11914630&amp;post=34&amp;subd=techras&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://techras.wordpress.com/2010/02/16/how-to-get-the-number-of-days-in-the-month-sqlserver-2005/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/20dd977ad8d8e62df1b99d87f320f89b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techras</media:title>
		</media:content>
	</item>
		<item>
		<title>OLEDB DataShape Provider For SQL Server</title>
		<link>https://techras.wordpress.com/2010/02/10/oledb-datashape-provider-for-sql-server/</link>
		<comments>https://techras.wordpress.com/2010/02/10/oledb-datashape-provider-for-sql-server/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 09:51:29 +0000</pubDate>
		<dc:creator>techras</dc:creator>
				<category><![CDATA[ADO.Net]]></category>

		<guid isPermaLink="false">http://techras.wordpress.com/?p=28</guid>
		<description><![CDATA[Following is a connection string that enables DataShaping string strConnectionString =  &#8221;Provider=MSDataShape;Data Provider=SQLOLEDB;Data Source=mySQLServerName;&#8221; +                                                 &#8220;Initial Catalog=myDatabase;User ID=myUsername;Password=myPassword&#8221;; After making a successful connection you can fire following query to create a hierarchical record set string strSQL = &#8220;SHAPE{Select &#60;column1&#62;,&#60;column2&#62;,&#8230; From &#60;Table&#62; Where &#60;Conditions&#62;} &#8220;+                              &#8220;  APPEND({Select &#60;column1&#62;,&#60;column2&#62;,&#8230; From &#60;Table&#62; Where &#60;Conditions&#62;} AS &#60;Child Name&#62; &#8220;+ [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techras.wordpress.com&amp;blog=11914630&amp;post=28&amp;subd=techras&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Following is a connection string that enables DataShaping</p>
<p>string strConnectionString =  &#8221;Provider=<span style="color:#0000ff;">MSDataShape</span>;Data Provider=<span style="color:#0000ff;">SQLOLEDB</span>;Data Source=mySQLServerName;&#8221; +<br />
                                                &#8220;Initial Catalog=myDatabase;User ID=myUsername;Password=myPassword&#8221;;</p>
<p>After making a successful connection you can fire following query to create a hierarchical record set</p>
<p>string strSQL = &#8220;SHAPE{Select &lt;column1&gt;,&lt;column2&gt;,&#8230; From &lt;Table&gt; Where &lt;Conditions&gt;} &#8220;+</p>
<p>                             &#8220;  APPEND({Select &lt;column1&gt;,&lt;column2&gt;,&#8230; From &lt;Table&gt; Where &lt;Conditions&gt;} AS &lt;Child Name&gt; &#8220;+</p>
<p>                             &#8221; RELATE  &lt;PrimaryKey&gt; TO &lt;ForeignKey&gt;)&#8221;;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techras.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techras.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techras.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techras.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techras.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techras.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techras.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techras.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techras.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techras.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techras.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techras.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techras.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techras.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techras.wordpress.com&amp;blog=11914630&amp;post=28&amp;subd=techras&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://techras.wordpress.com/2010/02/10/oledb-datashape-provider-for-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/20dd977ad8d8e62df1b99d87f320f89b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techras</media:title>
		</media:content>
	</item>
		<item>
		<title>Convert to numeric</title>
		<link>https://techras.wordpress.com/2010/02/09/convert-to-numeric/</link>
		<comments>https://techras.wordpress.com/2010/02/09/convert-to-numeric/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 16:40:41 +0000</pubDate>
		<dc:creator>techras</dc:creator>
				<category><![CDATA[VBScript]]></category>

		<guid isPermaLink="false">http://techras.wordpress.com/?p=20</guid>
		<description><![CDATA[I wrote following function in VBScripts to over come the fundamental problem that I faced when trying to convert any valid numeric value through an ADODB Recordset. Basically the VBScripts IsNumeric() is not working appropriately, it does not parse any valid numeric value. Maybe this is because of some internal issue with the VBScript engine, any way I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techras.wordpress.com&amp;blog=11914630&amp;post=20&amp;subd=techras&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I wrote following function in VBScripts to over come the fundamental problem that I faced when trying to convert any valid numeric value through an ADODB Recordset. Basically the VBScripts IsNumeric() is not working appropriately, it does not parse any valid numeric value. Maybe this is because of some internal issue with the VBScript engine, any way I wrote the following function to convert the given value to its corresponding numeric format. The NULLs, Alpha or Alpha numeric and Empty values will get converted to zero. The function will return either zero or the passed value, only if it can convert to any other numeric type without generating a runtime errors</p>
<p style="padding-left:60px;">Function ConvertTonumber(strVal)</p>
<p style="padding-left:60px;">on error resume next<br />
  dim numberVal</p>
<p style="padding-left:60px;">  numberVal = 0</p>
<p style="padding-left:60px;">  if not isnull(strVal) then<br />
     numberVal = cdbl(strVal)<br />
  else<br />
      numberVal=0<br />
  end if</p>
<p style="padding-left:60px;">if Err.Number&lt;&gt;0 then<br />
   numberVal=0<br />
end if<br />
ConvertTonumber = numberVal<br />
End Function</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techras.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techras.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techras.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techras.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techras.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techras.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techras.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techras.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techras.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techras.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techras.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techras.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techras.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techras.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techras.wordpress.com&amp;blog=11914630&amp;post=20&amp;subd=techras&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://techras.wordpress.com/2010/02/09/convert-to-numeric/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/20dd977ad8d8e62df1b99d87f320f89b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techras</media:title>
		</media:content>
	</item>
		<item>
		<title>How to do a SalesLogix6.2 Mail Merge</title>
		<link>https://techras.wordpress.com/2010/02/08/how-to-do-a-mail-merge/</link>
		<comments>https://techras.wordpress.com/2010/02/08/how-to-do-a-mail-merge/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 13:43:27 +0000</pubDate>
		<dc:creator>techras</dc:creator>
				<category><![CDATA[SalesLogix 6.X]]></category>

		<guid isPermaLink="false">http://techras.wordpress.com/?p=17</guid>
		<description><![CDATA[    Dim strPluginId,strField,strTable,strWhere,strContactId, strOpportunityId,strTemplate     strContactId = Application.BasicFunctions.CurrentContactID     strOpportunityId = Application.BasicFunctions.CurrentOpportunityID    strTemplate = &#8220;&#60;Template Name&#62;&#8221;     strField = &#8220;PLUGINID&#8221;     strTable = &#8220;PLUGIN&#8221;     strWhere = &#8220;TYPE = &#8217;25&#8242; AND NAME = &#8216;&#8221; &#38; strTemplate &#38; &#8220;&#8216; AND userid = &#8216;SYST00000001&#8242;&#8221;&#8216;&#8221;&#8216; AND RELEASED = &#8216;T&#8217;&#8221;     strPluginId = GetField(strField,strTable,strWhere)     Application.BasicFunctions.MergeFromPlugin strPluginId, 2, strContactId, strOpportunityId [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techras.wordpress.com&amp;blog=11914630&amp;post=17&amp;subd=techras&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>    Dim strPluginId,strField,strTable,strWhere,strContactId, strOpportunityId,strTemplate</p>
<p>    strContactId = Application.BasicFunctions.CurrentContactID<br />
    strOpportunityId = Application.BasicFunctions.CurrentOpportunityID</p>
<p>   strTemplate = &#8220;&lt;Template Name&gt;&#8221;</p>
<p>    strField = &#8220;PLUGINID&#8221;<br />
    strTable = &#8220;PLUGIN&#8221;<br />
    strWhere = &#8220;TYPE = &#8217;25&#8242; AND NAME = &#8216;&#8221; &amp; strTemplate &amp; &#8220;&#8216; AND userid = &#8216;SYST00000001&#8242;&#8221;&#8216;&#8221;&#8216; AND RELEASED = &#8216;T&#8217;&#8221;<br />
    strPluginId = GetField(strField,strTable,strWhere)</p>
<p>    Application.BasicFunctions.MergeFromPlugin strPluginId, 2, strContactId, strOpportunityId</p>
<p>   Merge Modes</p>
<p>            1 - Fax</p>
<p>            2 &#8211; Word Document </p>
<p>            3 &#8211; E-Mail</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techras.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techras.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techras.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techras.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techras.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techras.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techras.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techras.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techras.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techras.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techras.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techras.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techras.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techras.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techras.wordpress.com&amp;blog=11914630&amp;post=17&amp;subd=techras&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://techras.wordpress.com/2010/02/08/how-to-do-a-mail-merge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="https://secure.gravatar.com/avatar/20dd977ad8d8e62df1b99d87f320f89b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">techras</media:title>
		</media:content>
	</item>
	</channel>
</rss>
