<?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: How can I subtract numeric data from two database table in Microsoft Access?</title>
	<atom:link href="http://www.childidaccess.com/microsoft-access/how-can-i-subtract-numeric-data-from-two-database-table-in-microsoft-access/feed" rel="self" type="application/rss+xml" />
	<link>http://www.childidaccess.com/microsoft-access/how-can-i-subtract-numeric-data-from-two-database-table-in-microsoft-access</link>
	<description></description>
	<lastBuildDate>Sun, 12 Feb 2012 17:11:59 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Chris G</title>
		<link>http://www.childidaccess.com/microsoft-access/how-can-i-subtract-numeric-data-from-two-database-table-in-microsoft-access/comment-page-1#comment-2384</link>
		<dc:creator>Chris G</dc:creator>
		<pubDate>Sun, 27 Dec 2009 17:55:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.childidaccess.com/microsoft-access/how-can-i-subtract-numeric-data-from-two-database-table-in-microsoft-access#comment-2384</guid>
		<description>It is never recommended to store dynamic information in a database. By that I mean if any of your purchaseqty in table 1 changes, or supplyqty in table 2 changed then your value stored in table 3 would be incorrect...

It is better, instead of storing calculated data, to make the necessary calculations only when you need to display it to the end user. Whether that be on a form, a report, or in a data access page.

Control Source for the calculated data would be:

=[table 1].[purchaseqty] - [table 2].[supplyqty]

OR

=[table 2].[supplyqty] - [table 1].[purchaseqty]

Whichever is suitable for your calculation.&lt;br&gt;&lt;b&gt;References : &lt;/b&gt;&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>It is never recommended to store dynamic information in a database. By that I mean if any of your purchaseqty in table 1 changes, or supplyqty in table 2 changed then your value stored in table 3 would be incorrect&#8230;</p>
<p>It is better, instead of storing calculated data, to make the necessary calculations only when you need to display it to the end user. Whether that be on a form, a report, or in a data access page.</p>
<p>Control Source for the calculated data would be:</p>
<p>=[table 1].[purchaseqty] &#8211; [table 2].[supplyqty]</p>
<p>OR</p>
<p>=[table 2].[supplyqty] &#8211; [table 1].[purchaseqty]</p>
<p>Whichever is suitable for your calculation.<br /><b>References : </b></p>
]]></content:encoded>
	</item>
</channel>
</rss>

