<?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 — Backup]]></title>
		<link>https://myvisualdatabase.com/forum/viewtopic.php?id=586</link>
		<atom:link href="https://myvisualdatabase.com/forum/extern.php?action=feed&amp;tid=586&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Backup.]]></description>
		<lastBuildDate>Fri, 17 Oct 2014 18:50:10 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Backup]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=2894#p2894</link>
			<description><![CDATA[<p>Hello Dimitri</p><p>It works well with your script</p><p>But, how should be this script if I want to let users choose their own folder to realise this backup<br />I mean by way of function OpenDialog that could be created&nbsp; on runing <br />with&nbsp; TOpenDialog.Create(self); ?</p><p>Is it possible ?</p><p>Thanks for your answer</p><p>Jean B.</p>]]></description>
			<author><![CDATA[null@example.com (jean.brezhonek)]]></author>
			<pubDate>Fri, 17 Oct 2014 18:50:10 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=2894#p2894</guid>
		</item>
		<item>
			<title><![CDATA[Re: Backup]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=2892#p2892</link>
			<description><![CDATA[<p>6 = MessageDlg = correct, thanks</p>]]></description>
			<author><![CDATA[null@example.com (carlo_dj)]]></author>
			<pubDate>Fri, 17 Oct 2014 14:51:23 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=2892#p2892</guid>
		</item>
		<item>
			<title><![CDATA[Re: Backup]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=2889#p2889</link>
			<description><![CDATA[<p>Change <strong>if 7 = MessageDlg</strong> to <strong>if 6 = MessageDlg</strong></p>]]></description>
			<author><![CDATA[null@example.com (DriveSoft)]]></author>
			<pubDate>Fri, 17 Oct 2014 14:41:09 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=2889#p2889</guid>
		</item>
		<item>
			<title><![CDATA[Re: Backup]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=2888#p2888</link>
			<description><![CDATA[<p>Hello,<br />Indeed you&#039;re right. copy works correctly now. But it works the other way around. No clicks is a copy and click Yes is no copy made?<br />Thanks</p>]]></description>
			<author><![CDATA[null@example.com (carlo_dj)]]></author>
			<pubDate>Fri, 17 Oct 2014 14:36:07 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=2888#p2888</guid>
		</item>
		<item>
			<title><![CDATA[Re: Backup]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=2886#p2886</link>
			<description><![CDATA[<p><strong>carlo_dj</strong></p><p>you forgot to write Begin and End after Then<br /></p><div class="codebox"><pre><code>procedure Form1_btBackup_OnClick (Sender: string; var Cancel: boolean);
begin
          if 7 = MessageDlg(&#039;Create / Update the SqLiteDB? Best choice is every day on the end of the shift back it up.&#039;, mtConfirmation, mbYes + mbNo, 0) then
          begin
                Cancel := True;  // I think it is not necessary
                CopyFile(&#039;sqlite.db&#039;, &#039;Backup\sqlite.db&#039;); // Application path
                //CopyFile(&#039;sqlite.db&#039;, &#039;I:\TP2014\Backup\sqlite.db&#039;); // Reserve path
                //P:\C\CF\CF3\TEST GA en MB\TP2014\Backup\sqlite.db  // Backup path workplace
          end;
end;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (DriveSoft)]]></author>
			<pubDate>Fri, 17 Oct 2014 13:46:07 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=2886#p2886</guid>
		</item>
		<item>
			<title><![CDATA[Re: Backup]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=2883#p2883</link>
			<description><![CDATA[<p>Hi,<br />Indeed make a copy but if you click No in the dialog box then still MVDB create a copy? See script below.</p><p>procedure Form1_btBackup_OnClick (Sender: string; var Cancel: boolean);<br />begin<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if 7 = MessageDlg(&#039;Create / Update the SqLiteDB? Best choice is every day on the end of the shift back it up.&#039;, mtConfirmation, mbYes + mbNo, 0) then<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Cancel := True;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CopyFile(&#039;sqlite.db&#039;, &#039;Backup\sqlite.db&#039;); // Application path<br />&nbsp; &nbsp; &nbsp; &nbsp;//&nbsp; &nbsp;CopyFile(&#039;sqlite.db&#039;, &#039;I:\TP2014\Backup\sqlite.db&#039;); // Reserve path<br />&nbsp; &nbsp; &nbsp; &nbsp;//&nbsp; &nbsp;P:\C\CF\CF3\TEST GA en MB\TP2014\Backup\sqlite.db&nbsp; // Backup path workplace<br />end;</p><p>Thanks</p>]]></description>
			<author><![CDATA[null@example.com (carlo_dj)]]></author>
			<pubDate>Fri, 17 Oct 2014 13:28:50 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=2883#p2883</guid>
		</item>
		<item>
			<title><![CDATA[Re: Backup]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=2880#p2880</link>
			<description><![CDATA[<p>It Works.<br />Thank you</p>]]></description>
			<author><![CDATA[null@example.com (rrg33l)]]></author>
			<pubDate>Fri, 17 Oct 2014 11:33:56 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=2880#p2880</guid>
		</item>
		<item>
			<title><![CDATA[Re: Backup]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=2874#p2874</link>
			<description><![CDATA[<p>Please, download latest version 1.45<br /><a href="http://myvisualdatabase.com/download/myvisualdb.exe">http://myvisualdatabase.com/download/myvisualdb.exe</a></p>]]></description>
			<author><![CDATA[null@example.com (DriveSoft)]]></author>
			<pubDate>Fri, 17 Oct 2014 10:48:56 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=2874#p2874</guid>
		</item>
		<item>
			<title><![CDATA[Re: Backup]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=2873#p2873</link>
			<description><![CDATA[<p>Thanks for the reply, but it does not work.<br />An error that says - undeclared identifier: &#039;CopyFile&#039;.</p>]]></description>
			<author><![CDATA[null@example.com (rrg33l)]]></author>
			<pubDate>Fri, 17 Oct 2014 10:32:49 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=2873#p2873</guid>
		</item>
		<item>
			<title><![CDATA[Re: Backup]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=2869#p2869</link>
			<description><![CDATA[<p>Hello,</p><br /><p>if the file sqlite.db in the project folder, also you should create folder &quot;Backup&quot;</p><div class="codebox"><pre><code>procedure Form1_Button1_OnClick (Sender: string; var Cancel: boolean);
begin
   CopyFile(&#039;sqlite.db&#039;, &#039;Backup\sqlite.db&#039;);
end;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (DriveSoft)]]></author>
			<pubDate>Fri, 17 Oct 2014 08:28:42 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=2869#p2869</guid>
		</item>
		<item>
			<title><![CDATA[Backup]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=2866#p2866</link>
			<description><![CDATA[<p>Hi.<br />As script can be copied to another file sqlite.db subfolder?<br />Like a backup and go overwriting the existing subfolder sqlite.db.<br />Thanks again.</p>]]></description>
			<author><![CDATA[null@example.com (rrg33l)]]></author>
			<pubDate>Fri, 17 Oct 2014 06:34:58 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=2866#p2866</guid>
		</item>
	</channel>
</rss>
