<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Accessing the M2M Database Using VBA.</title>
	<atom:link href="http://www.made2mentor.com/2008/12/accessing-the-m2m-database-using-vba/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.made2mentor.com/2008/12/accessing-the-m2m-database-using-vba/</link>
	<description>Data Warehousing, Microsoft Business Intelligence, and Other Cool Stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 07:33:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Ray Collazo</title>
		<link>http://www.made2mentor.com/2008/12/accessing-the-m2m-database-using-vba/comment-page-1/#comment-661</link>
		<dc:creator>Ray Collazo</dc:creator>
		<pubDate>Tue, 13 Jan 2009 00:51:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.made2mentor.com/?p=1124#comment-661</guid>
		<description>You were asking about how to decrypt the initials, username, and password from utuser. By jo, You found it!!

Heres the select I constructed using the Fdecrypt function you showed.

select FDecrypt(ALLTRIM(fcinitials), oSession.cEncryptKey) as initials, FDecrypt(ALLTRIM(fcuname), oSession.cEncryptKey) as username, FDecrypt(ALLTRIM(fcupass), oSession.cEncryptKey) as passwd from utuser into cursor tempcursor

Have fun!</description>
		<content:encoded><![CDATA[<p>You were asking about how to decrypt the initials, username, and password from utuser. By jo, You found it!!</p>
<p>Heres the select I constructed using the Fdecrypt function you showed.</p>
<p>select FDecrypt(ALLTRIM(fcinitials), oSession.cEncryptKey) as initials, FDecrypt(ALLTRIM(fcuname), oSession.cEncryptKey) as username, FDecrypt(ALLTRIM(fcupass), oSession.cEncryptKey) as passwd from utuser into cursor tempcursor</p>
<p>Have fun!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.made2mentor.com/2008/12/accessing-the-m2m-database-using-vba/comment-page-1/#comment-505</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Mon, 29 Dec 2008 15:41:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.made2mentor.com/?p=1124#comment-505</guid>
		<description>David geve me the above code a while back and I have modified it to:

CS = &quot;DRIVER={SQL SERVER}&quot; &amp; _
    &quot;;DSN=&#039;&#039;&quot; &amp; _
    &quot;;SERVER=&quot; &amp; Trim(Eval(&quot;ocompany.fcsqlserver&quot;)) &amp; _
    &quot;;UID=&quot; &amp; Eval(&quot;FDecrypt(ALLTRIM(ocompany.fcsqluser), oSession.cEncryptKey)&quot;) &amp; _
    &quot;;PWD=&quot; &amp; Eval(&quot;FDecrypt(ALLTRIM(ocompany.fcsqlpass), oSession.cEncryptKey)&quot;) &amp; _
    &quot;;DATABASE=&quot; &amp; Trim(Eval(&quot;ocompany.fcsqldb&quot;)) &amp; _
    &quot;;Connection Timeout=120&quot;

The formatting is a little off due to the length limit on the site but you should get the idea. This method requires less code and is more effiecient because it does not use nearly as many variables. I think that it may also be a little easier to understand and read although finding errors with it might be harder. That however should not be an issue since the code is simply cut and paste and should rarely if ever have to be altered.</description>
		<content:encoded><![CDATA[<p>David geve me the above code a while back and I have modified it to:</p>
<p>CS = &#8220;DRIVER={SQL SERVER}&#8221; &amp; _<br />
    &#8220;;DSN=&#8221;&#8221; &amp; _<br />
    &#8220;;SERVER=&#8221; &amp; Trim(Eval(&#8220;ocompany.fcsqlserver&#8221;)) &amp; _<br />
    &#8220;;UID=&#8221; &amp; Eval(&#8220;FDecrypt(ALLTRIM(ocompany.fcsqluser), oSession.cEncryptKey)&#8221;) &amp; _<br />
    &#8220;;PWD=&#8221; &amp; Eval(&#8220;FDecrypt(ALLTRIM(ocompany.fcsqlpass), oSession.cEncryptKey)&#8221;) &amp; _<br />
    &#8220;;DATABASE=&#8221; &amp; Trim(Eval(&#8220;ocompany.fcsqldb&#8221;)) &amp; _<br />
    &#8220;;Connection Timeout=120&#8243;</p>
<p>The formatting is a little off due to the length limit on the site but you should get the idea. This method requires less code and is more effiecient because it does not use nearly as many variables. I think that it may also be a little easier to understand and read although finding errors with it might be harder. That however should not be an issue since the code is simply cut and paste and should rarely if ever have to be altered.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

