<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — What does Table Pref refer to in Company Setup?]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=1102</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=1102&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in What does Table Pref refer to in Company Setup?.]]></description>
		<lastBuildDate>Thu, 25 Jun 2020 05:55:00 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: What does Table Pref refer to in Company Setup?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=37694#p37694</link>
			<description><![CDATA[<p>The counter value is in the file <strong>config_db.php</strong> where the variable <strong>$tb_pref_counter</strong> should refer to the next available array element.</p><p>The command to set the auto increment field correctly (self-adjusting) at the end would be:</p><div class="codebox"><pre><code>ALTER TABLE &lt;table_name&gt; AUTO_INCREMENT = 1;</code></pre></div><p>but in FA, there is no &quot;Company&quot; table.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 25 Jun 2020 05:55:00 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=37694#p37694</guid>
		</item>
		<item>
			<title><![CDATA[Re: What does Table Pref refer to in Company Setup?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=37687#p37687</link>
			<description><![CDATA[<p>@scendraw of course database field are Auto-incremental, especially if the field is a primary key. It doesn&#039;t matter whether you delete a record or not, the space is already taken, the next record will be auto-increment. So what you can do is update the structure of your table.</p><p>Syntax:<br />ALTER TABLE table_name AUTO_INCREMENT = start_value; </p><p>For Example:</p><p>ALTER TABLE Company AUTO_INCREMENT = 50;</p><p>Hope this help</p>]]></description>
			<author><![CDATA[null@example.com (cedricktshiyoyo)]]></author>
			<pubDate>Wed, 24 Jun 2020 12:59:33 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=37687#p37687</guid>
		</item>
		<item>
			<title><![CDATA[Re: What does Table Pref refer to in Company Setup?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=37684#p37684</link>
			<description><![CDATA[<p>I deleted a company with table pref 3_&nbsp; then I went on to create another company but I cannot choose 3_ it has to be 4_.</p><p>Is this normal?</p>]]></description>
			<author><![CDATA[null@example.com (scendraw)]]></author>
			<pubDate>Wed, 24 Jun 2020 05:27:29 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=37684#p37684</guid>
		</item>
		<item>
			<title><![CDATA[Re: What does Table Pref refer to in Company Setup?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4855#p4855</link>
			<description><![CDATA[<p>Many webhosts only allow clients to have one MySql database. By using table prefixes, you can have multiple companies inside one database. The first company gets 0_ in front of all the tables, the next company gets 1_ and so on.<br />You don&#039;t need to use this feature, if you can create an unlimited amount of databases. However many like to have all their companies inside one database.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Wed, 17 Feb 2010 23:59:49 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4855#p4855</guid>
		</item>
		<item>
			<title><![CDATA[What does Table Pref refer to in Company Setup?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4854#p4854</link>
			<description><![CDATA[<p>I searched the forum and wiki and cannot find a reference to this. It seems to increment a number (_3 or _6) when you add a company, yet I had some functions appear not to work if I let the incrementation occur. If I leave it as blank, then all functions appear to work.</p><p>Any suggestions?</p>]]></description>
			<author><![CDATA[null@example.com (avb3)]]></author>
			<pubDate>Wed, 17 Feb 2010 21:46:14 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4854#p4854</guid>
		</item>
	</channel>
</rss>
