 




<?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 to access and use subform data/calculations</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/how-to-access-and-use-subform-datacalculations/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-access-and-use-subform-datacalculations/</link>
	<description></description>
	<lastBuildDate>Wed, 22 May 2013 05:05:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: jaideepkhanduja</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-access-and-use-subform-datacalculations/#comment-55221</link>
		<dc:creator>jaideepkhanduja</dc:creator>
		<pubDate>Tue, 29 Jul 2008 04:08:38 +0000</pubDate>
		<guid isPermaLink="false">#comment-55221</guid>
		<description><![CDATA[that was great to know that you arrived at some conclusion, may be some query enhancement is still required to get final desired results.]]></description>
		<content:encoded><![CDATA[<p>that was great to know that you arrived at some conclusion, may be some query enhancement is still required to get final desired results.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: obi girl</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-access-and-use-subform-datacalculations/#comment-55104</link>
		<dc:creator>obi girl</dc:creator>
		<pubDate>Fri, 25 Jul 2008 21:22:59 +0000</pubDate>
		<guid isPermaLink="false">#comment-55104</guid>
		<description><![CDATA[YES!  The answer came with building query upon query.  Still a few more bugs to work out, but I&#039;m on the right track.  Thank you for your input!]]></description>
		<content:encoded><![CDATA[<p>YES!  The answer came with building query upon query.  Still a few more bugs to work out, but I&#8217;m on the right track.  Thank you for your input!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jaideepkhanduja</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-access-and-use-subform-datacalculations/#comment-55013</link>
		<dc:creator>jaideepkhanduja</dc:creator>
		<pubDate>Thu, 24 Jul 2008 05:16:14 +0000</pubDate>
		<guid isPermaLink="false">#comment-55013</guid>
		<description><![CDATA[I think once you have basic data in place and you are able to achieve what you want in the main form, exactly it can be achieved in your report also. The same set of queries you are using in the main form, can be part of your report. Think of creating a view in this case and give it a try.]]></description>
		<content:encoded><![CDATA[<p>I think once you have basic data in place and you are able to achieve what you want in the main form, exactly it can be achieved in your report also. The same set of queries you are using in the main form, can be part of your report. Think of creating a view in this case and give it a try.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: randym</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-access-and-use-subform-datacalculations/#comment-54978</link>
		<dc:creator>randym</dc:creator>
		<pubDate>Wed, 23 Jul 2008 14:45:19 +0000</pubDate>
		<guid isPermaLink="false">#comment-54978</guid>
		<description><![CDATA[Without seeing your application, it is hard to say exactly what to do. In your first message, you mentioned that the totals are &quot;transferred&quot; to the main form and then some calculations are done on them.  How is that being done?  In order for a field to  be automaically saved to the underlying table, the field needs to be bound to the table in the control source not the name.  But if the field&#039;s control source is based on a calculation (ex. Control Source: =field1+field2), it is an unbound field and it will not be saved to the table.  You need to copy the contents of the unbound field to the bound field.  You can do this with a macro or with VB in the form in the forms BeforeUpdate event.  Once the field is updated in the table, your report should be able to use it.   Also, you should be able to do calcuations in queries and reports.  With reports, you may need the VB again.  With queries, it might take a few queries working together and/or maybe even some &quot;work&quot; tables to get the job done.  If you still have problems, I&#039;ll be glad to help you out by looking at your app.]]></description>
		<content:encoded><![CDATA[<p>Without seeing your application, it is hard to say exactly what to do. In your first message, you mentioned that the totals are &#8220;transferred&#8221; to the main form and then some calculations are done on them.  How is that being done?  In order for a field to  be automaically saved to the underlying table, the field needs to be bound to the table in the control source not the name.  But if the field&#8217;s control source is based on a calculation (ex. Control Source: =field1+field2), it is an unbound field and it will not be saved to the table.  You need to copy the contents of the unbound field to the bound field.  You can do this with a macro or with VB in the form in the forms BeforeUpdate event.  Once the field is updated in the table, your report should be able to use it.   Also, you should be able to do calcuations in queries and reports.  With reports, you may need the VB again.  With queries, it might take a few queries working together and/or maybe even some &#8220;work&#8221; tables to get the job done.  If you still have problems, I&#8217;ll be glad to help you out by looking at your app.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: obi girl</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-access-and-use-subform-datacalculations/#comment-54955</link>
		<dc:creator>obi girl</dc:creator>
		<pubDate>Tue, 22 Jul 2008 20:35:15 +0000</pubDate>
		<guid isPermaLink="false">#comment-54955</guid>
		<description><![CDATA[I sincerely appreciate the discussion, but I can&#039;t seem to make progress on this issue.

The FORM does the calculation alright, but the data isn&#039;t carried to the underlying TABLE.  The field in the table remains empty.

I need to report on all employees, not just the one currently displayed on the main form.

I&#039;ve tried creating a transaction TABLE which stores the exact data as the subform (several absences for several employees), but can&#039;t get the data grouped and totaled for each employee.  

My Absences SUBFORM holds the &quot;many&quot; side of the database relationships.  The SUBFORM works to collect all the absences for all employees, gather respective data in individual records, total, and then the main FORM calculates how much salary docking must be done individually.  But those calculated fields don&#039;t transfer to reports.  Queries can&#039;t seem to group employee records.  Reports group and subtotal, but can&#039;t do further complex calcuations.]]></description>
		<content:encoded><![CDATA[<p>I sincerely appreciate the discussion, but I can&#8217;t seem to make progress on this issue.</p>
<p>The FORM does the calculation alright, but the data isn&#8217;t carried to the underlying TABLE.  The field in the table remains empty.</p>
<p>I need to report on all employees, not just the one currently displayed on the main form.</p>
<p>I&#8217;ve tried creating a transaction TABLE which stores the exact data as the subform (several absences for several employees), but can&#8217;t get the data grouped and totaled for each employee.  </p>
<p>My Absences SUBFORM holds the &#8220;many&#8221; side of the database relationships.  The SUBFORM works to collect all the absences for all employees, gather respective data in individual records, total, and then the main FORM calculates how much salary docking must be done individually.  But those calculated fields don&#8217;t transfer to reports.  Queries can&#8217;t seem to group employee records.  Reports group and subtotal, but can&#8217;t do further complex calcuations.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/9 queries in 0.013 seconds using memcached
Object Caching 324/327 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-22 07:20:56 -->