<?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 — Multiuser]]></title>
		<link>https://myvisualdatabase.com/forum/viewtopic.php?id=7412</link>
		<atom:link href="https://myvisualdatabase.com/forum/extern.php?action=feed&amp;tid=7412&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Multiuser.]]></description>
		<lastBuildDate>Mon, 22 Mar 2021 14:49:43 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Multiuser]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=40514#p40514</link>
			<description><![CDATA[<p>To answer your second question, you need to place your database on a shareable resource such as a separate server machine which serves all the client workstations. The database needs to be mapped to a drive letter. If your USB stick in the router can be mapped to a drive letter, then you can define the location in the client settings.ini file. But I seriously doubt you can do that. I&#039;ve not heard of that capability. But if you can see the USB stick in your Windows explorer then you should be able to access it. Plus it needs to be shareable to all your users.</p>]]></description>
			<author><![CDATA[null@example.com (ehwagner)]]></author>
			<pubDate>Mon, 22 Mar 2021 14:49:43 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=40514#p40514</guid>
		</item>
		<item>
			<title><![CDATA[Re: Multiuser]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=40513#p40513</link>
			<description><![CDATA[<div class="quotebox"><cite>CDB wrote:</cite><blockquote><div class="quotebox"><cite>v_pozidis wrote:</cite><blockquote><p>A stupid question. What do you mean WAL???</p></blockquote></div><p>I can answer your first question easily.&nbsp; WAL stands for Write Ahead Logging, which allows SQLite to have multiusers access it.</p><p>However, these are special cache files that it writes, and won&#039;t automatically commit users data changes to the database. It basically will wait until the last user has closed their connection with the DB (with MVD that is just closing the application) and then it updates the database. I believe it commits data to the database as the cache reaches a certain point.</p><br /><p>As for your other question, I&#039;ll have to think about it and maybe someone else can answer off the top of their head.</p></blockquote></div><br /><p>Thank&#039;s for your quick response. So this is not a real time connection to the database. it is not useful for my case. I t will be great if someone could answer the second question.</p>]]></description>
			<author><![CDATA[null@example.com (v_pozidis)]]></author>
			<pubDate>Mon, 22 Mar 2021 12:50:19 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=40513#p40513</guid>
		</item>
		<item>
			<title><![CDATA[Re: Multiuser]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=40512#p40512</link>
			<description><![CDATA[<div class="quotebox"><cite>v_pozidis wrote:</cite><blockquote><p>A stupid question. What do you mean WAL???</p></blockquote></div><p>I can answer your first question easily.&nbsp; WAL stands for Write Ahead Logging, which allows SQLite to have multiusers access it.</p><p>However, these are special cache files that it writes, and won&#039;t automatically commit users data changes to the database. It basically will wait until the last user has closed their connection with the DB (with MVD that is just closing the application) and then it updates the database. I believe it commits data to the database as the cache reaches a certain point.</p><br /><p>As for your other question, I&#039;ll have to think about it and maybe someone else can answer off the top of their head.</p>]]></description>
			<author><![CDATA[null@example.com (CDB)]]></author>
			<pubDate>Mon, 22 Mar 2021 08:46:37 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=40512#p40512</guid>
		</item>
		<item>
			<title><![CDATA[Re: Multiuser]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=40507#p40507</link>
			<description><![CDATA[<p>A stupid question. What do you mean WAL???<br />And a second question. When i share all the files to my users and just place the database file (sqlite.db) with a usb stick in my router csan&nbsp; the users connect to the database?&nbsp; And if yes how to do that or&nbsp; if there is another easy way. I am not an expert so it better to explain step by step. Thank you.</p>]]></description>
			<author><![CDATA[null@example.com (v_pozidis)]]></author>
			<pubDate>Sun, 21 Mar 2021 11:32:36 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=40507#p40507</guid>
		</item>
		<item>
			<title><![CDATA[Re: Multiuser]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=40389#p40389</link>
			<description><![CDATA[<div class="quotebox"><cite>CDB wrote:</cite><blockquote><p>vanadu55,</p><br /><p>You need to copy the following files to a folder on each client workstation in addition to your EXE file (Don&#039;t put them on the desktop).</p><p>1. Script folder containing just the dcu file.<br />2. Forms.xml .<br />3&nbsp; sqlite3.dll .<br />4. Settings.ini<br />5. Any graphics.dll&nbsp; if it exists +&nbsp; image files if they exist.</p><br /><p>Now you can either manually change the server path&nbsp; to the database in the <span style="color: blue">settings.ini</span> file or install on one PC, run the program and then follow the dialogue prompts when your program can&#039;t find the database.&nbsp; Once you have one <span style="color: blue">settings.ini</span> file set up, you can just copy that one to each PC.</p><br /><p>Once that is done then you can place a shortcut on the desktops if you so wish.</p></blockquote></div><p>Thanks for the explanation!</p>]]></description>
			<author><![CDATA[null@example.com (vanadu55)]]></author>
			<pubDate>Tue, 09 Mar 2021 12:19:21 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=40389#p40389</guid>
		</item>
		<item>
			<title><![CDATA[Re: Multiuser]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=40383#p40383</link>
			<description><![CDATA[<p>vanadu55,</p><br /><p>You need to copy the following files to a folder on each client workstation in addition to your EXE file (Don&#039;t put them on the desktop).</p><p>1. Script folder containing just the dcu file.<br />2. Forms.xml .<br />3&nbsp; sqlite3.dll .<br />4. Settings.ini<br />5. Any graphics.dll&nbsp; if it exists +&nbsp; image files if they exist.</p><br /><p>Now you can either manually change the server path&nbsp; to the database in the <span style="color: blue">settings.ini</span> file or install on one PC, run the program and then follow the dialogue prompts when your program can&#039;t find the database.&nbsp; Once you have one <span style="color: blue">settings.ini</span> file set up, you can just copy that one to each PC.</p><br /><p>Once that is done then you can place a shortcut on the desktops if you so wish.</p>]]></description>
			<author><![CDATA[null@example.com (CDB)]]></author>
			<pubDate>Mon, 08 Mar 2021 19:24:18 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=40383#p40383</guid>
		</item>
		<item>
			<title><![CDATA[Re: Multiuser]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=40379#p40379</link>
			<description><![CDATA[<div class="quotebox"><cite>ehwagner wrote:</cite><blockquote><p>m.alin,,<br />Try placing the app on the client workstations, but keep the database on the server.</p></blockquote></div><p>Can you tell us more how to do that? If i move the app to the client workstations how do they link to the database on the server?</p><p>Thanks in advance.</p>]]></description>
			<author><![CDATA[null@example.com (vanadu55)]]></author>
			<pubDate>Mon, 08 Mar 2021 10:38:19 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=40379#p40379</guid>
		</item>
		<item>
			<title><![CDATA[Re: Multiuser]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=40353#p40353</link>
			<description><![CDATA[<p>m.alin,,<br />Try placing the app on the client workstations, but keep the database on the server.</p>]]></description>
			<author><![CDATA[null@example.com (ehwagner)]]></author>
			<pubDate>Sat, 06 Mar 2021 14:04:51 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=40353#p40353</guid>
		</item>
		<item>
			<title><![CDATA[Re: Multiuser]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=40348#p40348</link>
			<description><![CDATA[<p>CDB, Thank you for your reply.<br />Tried both solution, but my app is still very slow.<br />Should I try something else?</p><p>Thanks.</p><p>Alin</p>]]></description>
			<author><![CDATA[null@example.com (m.alin)]]></author>
			<pubDate>Fri, 05 Mar 2021 15:29:24 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=40348#p40348</guid>
		</item>
		<item>
			<title><![CDATA[Re: Multiuser]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=40341#p40341</link>
			<description><![CDATA[<p>You could try putting SQLite into &#039;WAL&#039; mode, this might help. </p><br /><p>Just a warning, if you intend to have the SQlite database file on a network share drive and an IT department runs a cache clearing program in the background, you will lose data and get locked database messages.</p><br /><p>If there is no cache clearing program is running, then there shouldn&#039;t be any problems.</p><p>To enable WAL mode in sqlite, open your database in a database browser such as DB Browser for SQL Lite and type in under the SQL tab</p><div class="codebox"><pre><code>PRAGMA journal_mode = WAL</code></pre></div><p>Close the browser and when you next open your program you will see 3 extra files appear, these are the caching files.</p><p>If this doesn&#039;t work for you, then to disable Write Ahead Logging open the DB browser and type into the SQL tab</p><br /><div class="codebox"><pre><code>PRAGMA journal_mode=DELETE</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (CDB)]]></author>
			<pubDate>Thu, 04 Mar 2021 18:55:02 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=40341#p40341</guid>
		</item>
		<item>
			<title><![CDATA[Re: Multiuser]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=40340#p40340</link>
			<description><![CDATA[<div class="quotebox"><cite>CDB wrote:</cite><blockquote><p>Are you using SQLite or MySQL?</p></blockquote></div><p>I&#039;m using SQLite.</p>]]></description>
			<author><![CDATA[null@example.com (m.alin)]]></author>
			<pubDate>Thu, 04 Mar 2021 18:04:50 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=40340#p40340</guid>
		</item>
		<item>
			<title><![CDATA[Re: Multiuser]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=40332#p40332</link>
			<description><![CDATA[<p>Are you using SQLite or MySQL?</p>]]></description>
			<author><![CDATA[null@example.com (CDB)]]></author>
			<pubDate>Thu, 04 Mar 2021 10:00:39 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=40332#p40332</guid>
		</item>
		<item>
			<title><![CDATA[Multiuser]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=40331#p40331</link>
			<description><![CDATA[<p>Hello,</p><p>I&#039;ve placed the application on the server and we want to work 3-4 users in the app.<br />As soon as the second user is connected to the application, the app is getting very slow, the data and the forms are loading very slowly.<br />What shall I do to make it work? In this moment the database has approx. 250 Mb and is growing.</p><p>I want to mention that, production needs only to book some data in their special form, planning to put orders in the app and print the papers in his special form.<br />Thank you for a solution.</p><p>Br,<br />Alin</p>]]></description>
			<author><![CDATA[null@example.com (m.alin)]]></author>
			<pubDate>Thu, 04 Mar 2021 09:20:32 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=40331#p40331</guid>
		</item>
	</channel>
</rss>
