<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[My Visual Database — Different Passwords, Different Projects]]></title>
		<link>https://myvisualdatabase.com/forum/viewtopic.php?id=8615</link>
		<atom:link href="https://myvisualdatabase.com/forum/extern.php?action=feed&amp;tid=8615&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Different Passwords, Different Projects.]]></description>
		<lastBuildDate>Fri, 23 Feb 2024 12:34:02 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Different Passwords, Different Projects]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=50337#p50337</link>
			<description><![CDATA[<p>Good day everyone. bumped to this post when I&#039;m looking for something.<br />Reopening the application helps me a lot, especially when restoring sqlite database from backup, You can replace the database by simply closing the main form then reopen the application. I just run into some problem with specifying the exe name in OpenFile. Well, my mistake by simply reusing code or renaming the application, then not changing this line of code. To address this, maybe someone will encounter that problem, you can change it by Application.ExeName. this will get the absolute path of the executable and you can reuse the code without worrying,<br /></p><div class="codebox"><pre><code>// close the form
Form0.Close

// Replace database here

// Reopen file
// openfile(&#039;roles.exe&#039;); 
OpenFile(Application.ExeName);</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (brian.zaballa)]]></author>
			<pubDate>Fri, 23 Feb 2024 12:34:02 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=50337#p50337</guid>
		</item>
		<item>
			<title><![CDATA[Re: Different Passwords, Different Projects]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=48286#p48286</link>
			<description><![CDATA[<p>Small change to my earlier post so you can see the currently logged on user.<br />D.</p>]]></description>
			<author><![CDATA[null@example.com (derek)]]></author>
			<pubDate>Thu, 20 Jul 2023 16:28:18 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=48286#p48286</guid>
		</item>
		<item>
			<title><![CDATA[Re: Different Passwords, Different Projects]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=48285#p48285</link>
			<description><![CDATA[<p>You can switch from one application (or Form in the attached example) to another by using role-based access (as described earlier).<br />In the attachment, the following is enabled through roles<br />User&nbsp; &nbsp;Application (Form)<br />1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1<br />2&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2<br />3&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;3<br />4&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1, 2<br />5&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1, 3<br />6&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2, 3<br />7&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1, 2, 3<br />Admin 1, 2, 3 + access to create / change users<br />In all cases, the userid and the password are the same.<br />To change user, simply add a button that re-opens the application.<br />Derek.</p>]]></description>
			<author><![CDATA[null@example.com (derek)]]></author>
			<pubDate>Thu, 20 Jul 2023 10:38:08 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=48285#p48285</guid>
		</item>
		<item>
			<title><![CDATA[Re: Different Passwords, Different Projects]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=48284#p48284</link>
			<description><![CDATA[<p>Hi<br />Using the role based, I encountered a problem.<br />It arises when I want to change the user or in this case change between the applications.<br />How can I reset user (close the current form and show frmdbcoreLogin) ?</p>]]></description>
			<author><![CDATA[null@example.com (identity)]]></author>
			<pubDate>Wed, 19 Jul 2023 23:22:01 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=48284#p48284</guid>
		</item>
		<item>
			<title><![CDATA[Re: Different Passwords, Different Projects]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=48281#p48281</link>
			<description><![CDATA[<p>lots of thanks Derek for the great tip<br />it helped me a lot with my project</p>]]></description>
			<author><![CDATA[null@example.com (identity)]]></author>
			<pubDate>Tue, 18 Jul 2023 12:52:08 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=48281#p48281</guid>
		</item>
		<item>
			<title><![CDATA[Re: Different Passwords, Different Projects]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=48280#p48280</link>
			<description><![CDATA[<p>Is there a reason why you can&#039;t just use the role based access controls that are provided as standard with MVD (see attachment)?<br />Users and passwords are the same.<br />Derek.</p>]]></description>
			<author><![CDATA[null@example.com (derek)]]></author>
			<pubDate>Tue, 18 Jul 2023 11:27:20 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=48280#p48280</guid>
		</item>
		<item>
			<title><![CDATA[Re: Different Passwords, Different Projects]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=48275#p48275</link>
			<description><![CDATA[<p>Thanks <strong>pavlenko.vladimir.v </strong>but that&#039;s not what I had in mind at all. the topic that you referred me to, is for just one project with different users.<br />let me pose the question once again:<br />there are 3 different MVDB projects <strong>(not users)</strong> and I want to connect them together using a form. as you can see 3 buttons in the login form are hidden , and I just need the button is clicked automatically when you enter the correct password for each project or the button is enabled&nbsp; when you enter the correct password.</p>]]></description>
			<author><![CDATA[null@example.com (identity)]]></author>
			<pubDate>Tue, 18 Jul 2023 04:20:56 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=48275#p48275</guid>
		</item>
		<item>
			<title><![CDATA[Re: Different Passwords, Different Projects]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=48266#p48266</link>
			<description><![CDATA[<p><a href="http://myvisualdatabase.com/forum/viewtopic.php?id=1060">http://myvisualdatabase.com/forum/viewtopic.php?id=1060</a></p>]]></description>
			<author><![CDATA[null@example.com (pavlenko.vladimir.v)]]></author>
			<pubDate>Mon, 17 Jul 2023 06:25:57 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=48266#p48266</guid>
		</item>
		<item>
			<title><![CDATA[Different Passwords, Different Projects]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=48265#p48265</link>
			<description><![CDATA[<p>Hi<br />explaining this problem is going to be difficult.<br />in the attached sample I have 3 different users for 3 <strong>different programs</strong>.<br />What I need to do is that when You enter the correct password for user 1, then Button1 is clicked automatically<br />another approach that also works for me is: <br />when You enter the correct password for user 1, then Button2 and Button 3 should be disabled and only Button1 is enabled.</p>]]></description>
			<author><![CDATA[null@example.com (identity)]]></author>
			<pubDate>Mon, 17 Jul 2023 05:13:58 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=48265#p48265</guid>
		</item>
	</channel>
</rss>
