<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>DeveloperBarn Forums</title>
		<link>http://www.developerbarn.com/</link>
		<description>DeveloperBarn is an ASP, ASP.NET, PHP, Javascript, SQL and MySQL and Programming Help Forum. Get ASP, ASP.NET, PHP and JavaScript help and sample code.</description>
		<language>en</language>
		<lastBuildDate>Sun, 14 Mar 2010 02:51:38 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.developerbarn.com/images/misc/rss.jpg</url>
			<title>DeveloperBarn Forums</title>
			<link>http://www.developerbarn.com/</link>
		</image>
		<item>
			<title>Count problem</title>
			<link>http://www.developerbarn.com/asp-development/1921-count-problem.html</link>
			<pubDate>Sat, 13 Mar 2010 19:04:31 GMT</pubDate>
			<description>Hi, 
 
I have 2 tables 
 
codes 
StudentMembers 
 
In codes the table design is like this 
 
Code:</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I have 2 tables<br />
<br />
codes<br />
StudentMembers<br />
<br />
In codes the table design is like this<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Id<br />
PromoCode<br />
Price</code><hr />
</div>In StudentMembers the table design is like this<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Id<br />
Name<br />
Code<br />
Price<br />
DateSigned</code><hr />
</div>What I want to do is display ow many students used what code so my query is like this<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><br />
Select Count(Code), PromoCode from Codes, StudentMembers where Codes.PromoCode=StudentMembers.Code</code><hr />
</div>the query is not working <br />
<br />
any idea<br />
<br />
todd</div>

]]></content:encoded>
			<category domain="http://www.developerbarn.com/asp-development/">ASP Development</category>
			<dc:creator>todd2006</dc:creator>
			<guid isPermaLink="true">http://www.developerbarn.com/asp-development/1921-count-problem.html</guid>
		</item>
		<item>
			<title><![CDATA[Calling void isn't creating instance of an object]]></title>
			<link>http://www.developerbarn.com/net-development/1920-calling-void-isnt-creating-instance-object.html</link>
			<pubDate>Fri, 12 Mar 2010 12:33:30 GMT</pubDate>
			<description><![CDATA[I can't seem to work out why an instance of an object isn't getting created when I create it in a sub routine. 
 
In Page_Load if i have this:- 
...]]></description>
			<content:encoded><![CDATA[<div>I can't seem to work out why an instance of an object isn't getting created when I create it in a sub routine.<br />
<br />
In Page_Load if i have this:-<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">private Order order;<br />
protected void Page_Load()<br />
{<br />
&nbsp;  if(!ispostback)<br />
&nbsp;  {<br />
&nbsp; &nbsp; &nbsp; buildOrderItemList(ActionChoice.Build);<br />
&nbsp; &nbsp; &nbsp; <font color="red">order = new Order();<br />
&nbsp; &nbsp; &nbsp; order.orderItems = new List&lt;Product&gt;();</font><br />
&nbsp; &nbsp; &nbsp; order.id=-1;<br />
&nbsp; &nbsp; &nbsp; this.dlstOrderItems.DataSource=Order.orderItems;<br />
&nbsp; &nbsp; &nbsp; this.dlstOrderItems.DataBind();<br />
&nbsp;  }<br />
}<br />
<br />
protected void buildOrderItemList(Action)<br />
{<br />
&nbsp;  Order order = new Order();<br />
&nbsp;  order.orderItems = new List&lt;Product&gt;();<br />
.<br />
.<br />
.<br />
}</code><hr />
</div>Without the lines in red, I get &quot;instance of an object&quot; error. If I create the instance in the page load I don't get the error.<br />
<br />
I use a similar technique with another Data List and it works fine.<br />
<br />
Can't work out why the instance isn't working in the void.<br />
<br />
Any ideas?</div>

]]></content:encoded>
			<category domain="http://www.developerbarn.com/net-development/">.Net Development</category>
			<dc:creator>richyrich</dc:creator>
			<guid isPermaLink="true">http://www.developerbarn.com/net-development/1920-calling-void-isnt-creating-instance-object.html</guid>
		</item>
		<item>
			<title>Storing Stock Levels / Calculated Fields</title>
			<link>http://www.developerbarn.com/sql-development/1919-storing-stock-levels-calculated-fields.html</link>
			<pubDate>Thu, 11 Mar 2010 10:42:07 GMT</pubDate>
			<description><![CDATA[I'm working on a project at the moment that will require storing of stock levels for individual products. The slight complication is that the...]]></description>
			<content:encoded><![CDATA[<div>I'm working on a project at the moment that will require storing of stock levels for individual products. The slight complication is that the products are chemicals and are stored in bulk and pre-weighed amounts (no, they're not illegal drugs!)<br />
<br />
If I used table salt as an example, that might help to demonstrate. Each time you produce a batch of salt you get a yield (say the first batch produces 100g). You might sell the salt in amounts of 1g and 5g.<br />
<br />
From the first batch, you pre-weigh 10 lots of 1g and 2 lots of 5g. So, the pre-weighed stock is 10 lots of 1g and 2 lots of 5g and your bulk stock is now 80g. As you sell the pre-weighed, you make up more and more pre-weighed packs until your bulk is down to 20g. So you make some more and this batch yields 110g. So your bulk is now 130g. You carry on transferring bulk to pre-weigh.<br />
<br />
Each product is stored in the db and against that there is a weights, currency and price table for pre-weighed.<br />
<br />
What will also be stored is the product yield per batch and as each product has pre-weighed packs produced. The weighed amounts are very precise and in much smaller sizes than the example I've given, hence the need for accuracy.<br />
<br />
So, I think, in theory, my current bulk stock could be calculated by taking the sum of all the batch yields - the total of the pre-weighed packs made up. The pre-weighed stock could be calculated by taking the total packs pre-weighed - the sum of all those dispatched.<br />
<br />
But then would this gradually get slower and slower as the number of items included in the sum grows and grows?<br />
<br />
The other slight complication is that customers may ask for product from a specific batch (if they've had product from that batch before) so I can't really just bulk all the batches of each product in together. I need to have the ability to break it down by stock of each individual batch.<br />
<br />
 Would I be better just storing the current stock level of each batch in a seperate table / field and then summing them all up to get by product? Even though, in theory, I'm storing a calculated field.<br />
<br />
Or any ideas on the best way to handle this?</div>

]]></content:encoded>
			<category domain="http://www.developerbarn.com/sql-development/">SQL Development</category>
			<dc:creator>richyrich</dc:creator>
			<guid isPermaLink="true">http://www.developerbarn.com/sql-development/1919-storing-stock-levels-calculated-fields.html</guid>
		</item>
		<item>
			<title>date problem</title>
			<link>http://www.developerbarn.com/asp-development/1918-date-problem.html</link>
			<pubDate>Wed, 10 Mar 2010 18:22:29 GMT</pubDate>
			<description><![CDATA[hello, 
 
 
Code: 
--------- 
datetoday=Date() 
 
sdate=rs("Startdate") 
edate=rs("EndDate") 
---------]]></description>
			<content:encoded><![CDATA[<div>hello,<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">datetoday=Date()<br />
<br />
sdate=rs(&quot;Startdate&quot;)<br />
edate=rs(&quot;EndDate&quot;)</code><hr />
</div>What I want to do is if datetoday is between the sdate and edate then set a variable <br />
<br />
here is the code<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">If datetoday &gt;= sdate and datetoday &lt;= edate then<br />
&nbsp; &nbsp; &nbsp; &nbsp; setflag=&quot;1&quot;<br />
else<br />
&nbsp; &nbsp; &nbsp; &nbsp; setflag=&quot;2&quot;<br />
End if</code><hr />
</div>but its saying setflag=&quot;2&quot;<br />
<br />
in the table the value of sdate=&quot;1/2/2010&quot; and edate=&quot;4/11/2010&quot;<br />
<br />
any idea what i am doing wrong<br />
<br />
todd</div>

]]></content:encoded>
			<category domain="http://www.developerbarn.com/asp-development/">ASP Development</category>
			<dc:creator>todd2006</dc:creator>
			<guid isPermaLink="true">http://www.developerbarn.com/asp-development/1918-date-problem.html</guid>
		</item>
		<item>
			<title>Queries Query for search fields on form</title>
			<link>http://www.developerbarn.com/microsoft-access/1917-query-search-fields-form.html</link>
			<pubDate>Wed, 10 Mar 2010 17:32:24 GMT</pubDate>
			<description>Hi All, 
 
Ok, everything seem to be working ok until I added this criteria for one of the fields in the query and on the form.  
 
 
Code:...</description>
			<content:encoded><![CDATA[<div>Hi All,<br />
<br />
Ok, everything seem to be working ok until I added this criteria for one of the fields in the query and on the form. <br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&gt;=[forms]![form4].[qDays]</code><hr />
</div>All the other fields use something like :<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Like [forms]![form4].[qEquipment] &amp; &quot;*&quot;</code><hr />
</div>Is there an issue with using a like in some criteria and &gt;= for another?</div>

]]></content:encoded>
			<category domain="http://www.developerbarn.com/microsoft-access/">Microsoft Access</category>
			<dc:creator>Rebelle</dc:creator>
			<guid isPermaLink="true">http://www.developerbarn.com/microsoft-access/1917-query-search-fields-form.html</guid>
		</item>
		<item>
			<title>C#, passing variables between forms</title>
			<link>http://www.developerbarn.com/net-development/1916-c-passing-variables-between-forms.html</link>
			<pubDate>Tue, 09 Mar 2010 18:34:15 GMT</pubDate>
			<description>Hello all, 
 
I have a hopefully simple issue. I am trying to take a large block of code and move it to its own CodeFile.cs so I can just reference...</description>
			<content:encoded><![CDATA[<div>Hello all,<br />
<br />
I have a hopefully simple issue. I am trying to take a large block of code and move it to its own CodeFile.cs so I can just reference it with 1 line instead of posting the same code multiple times.<br />
<br />
So I have my code file in place inside of CodeFile.cs which refers to textboxes and such on Form1. My problem is that my CodeFile.cs doesn't have the objects defined in there since they only exist in Form1. How can I fix this so it matches? Hope this made sense.:confused:</div>

]]></content:encoded>
			<category domain="http://www.developerbarn.com/net-development/">.Net Development</category>
			<dc:creator>CCCSteve</dc:creator>
			<guid isPermaLink="true">http://www.developerbarn.com/net-development/1916-c-passing-variables-between-forms.html</guid>
		</item>
		<item>
			<title>file path</title>
			<link>http://www.developerbarn.com/asp-development/1915-file-path.html</link>
			<pubDate>Tue, 09 Mar 2010 14:59:06 GMT</pubDate>
			<description>Hello, 
 
I have a folder called fileslocation I need to get the path of the folder and display it on the screen  
 
I have used this code 
 
Set...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I have a folder called fileslocation I need to get the path of the folder and display it on the screen <br />
<br />
I have used this code<br />
<br />
Set fs=Server.CreateObject(&quot;Scripting.FileSystemObject  &quot;)<br />
<br />
but trying to figure out how to search for a specific folder<br />
<br />
any thoughts<br />
<br />
todd</div>

]]></content:encoded>
			<category domain="http://www.developerbarn.com/asp-development/">ASP Development</category>
			<dc:creator>todd2006</dc:creator>
			<guid isPermaLink="true">http://www.developerbarn.com/asp-development/1915-file-path.html</guid>
		</item>
		<item>
			<title>Forms How to use browse for file and enter path into field?</title>
			<link>http://www.developerbarn.com/microsoft-access/1914-how-use-browse-file-enter-path-into-field.html</link>
			<pubDate>Mon, 08 Mar 2010 16:32:47 GMT</pubDate>
			<description><![CDATA[Hi there! This forum has helped me immensely before, and so hopefully y'all can do it again...  
 
I'm working in Access 2007 and I have a database...]]></description>
			<content:encoded><![CDATA[<div>Hi there! This forum has helped me immensely before, and so hopefully y'all can do it again... <br />
<br />
I'm working in Access 2007 and I have a database that is referenced by a number of ASP pages.. I just uploaded a bunch of files that are to be associated with specific records, and I am trying to connect links to files on the server with their specific records. <br />
<br />
The easiest way to do it would be if I could just look-up the record using a form that I already have created, and then click a &quot;browse&quot; button or similar to find the file, and then have it store the location (i.e. subfolders and filename) into a field for that record.... except with slashes &quot;/&quot; instead of backslashes &quot;\&quot;, and without the drive letter or any higher-level folders....<br />
<br />
For example:<br />
I want to pull up &quot;John Doe&quot; and then where the &quot;Link&quot; field appears in the form, I want there to be a button that says &quot;Browse&quot;. When you click it, it automatically opens to a specific directory: &quot;H:\server\files\downloads\All_PDF&quot;<br />
<br />
Then I can use a normal file browser window to find John Doe's file: &quot;\Day_1-Wednesday_2-24\Hydrologic1_130_2-24\DoeJ_Hydrologic_1330_2-24.pdf&quot;<br />
<br />
and have it save the entire path and filename without the drive letter or any higher-level folders and replace all of Windows backslashes with slashes for the web, so that the actual text data saved into the field would be something like: &quot;downloads/All_PDF/Day_1-Wednesday_2-24/Hydrologic1_130_2-24/DoeJ_Hydrologic_1330_2-24.pdf&quot;<br />
<br />
I found code on this site: <a href="http://www.mvps.org/access/api/api0001.htm" target="_blank">API: Call the standard Windows File Open/Save dialog box</a> which looked promising, but I don't know exactly how to change it or where to insert it. <br />
<br />
This forum thread <a href="http://forums.techarena.in/software-development/1239613.htm" target="_blank">How to add browse button to access 2007 form - Software Development</a> also had a brief discussion which makes it seem like there's a built in feature for this in Access 2007... Any help?? :confused:</div>

]]></content:encoded>
			<category domain="http://www.developerbarn.com/microsoft-access/">Microsoft Access</category>
			<dc:creator>MaxxMills84</dc:creator>
			<guid isPermaLink="true">http://www.developerbarn.com/microsoft-access/1914-how-use-browse-file-enter-path-into-field.html</guid>
		</item>
		<item>
			<title>Cascading Filtering Lists</title>
			<link>http://www.developerbarn.com/microsoft-access/1913-cascading-filtering-lists.html</link>
			<pubDate>Mon, 08 Mar 2010 14:26:19 GMT</pubDate>
			<description><![CDATA[Hi All, 
 
I've looked and implemented the cascading filtering lists according the sample posted and it seems to be working but its very slow because...]]></description>
			<content:encoded><![CDATA[<div>Hi All,<br />
<br />
I've looked and implemented the cascading filtering lists according the sample posted and it seems to be working but its very slow because I have like over 800,000 records.<br />
<br />
Do you have any suggestions I can do to make this work a little better for me?  <br />
<br />
Thanks in advance.  :)</div>

]]></content:encoded>
			<category domain="http://www.developerbarn.com/microsoft-access/">Microsoft Access</category>
			<dc:creator>Rebelle</dc:creator>
			<guid isPermaLink="true">http://www.developerbarn.com/microsoft-access/1913-cascading-filtering-lists.html</guid>
		</item>
		<item>
			<title>Possible to close window from non-parent?</title>
			<link>http://www.developerbarn.com/javascript-programming/1912-possible-close-window-non-parent.html</link>
			<pubDate>Fri, 05 Mar 2010 18:31:33 GMT</pubDate>
			<description><![CDATA[Just like the title asks, is it possible to close a window from one that didn't spawn it? 
 
Here's what I'm doing: 
I have a PHP script that...]]></description>
			<content:encoded><![CDATA[<div>Just like the title asks, is it possible to close a window from one that didn't spawn it?<br />
<br />
Here's what I'm doing:<br />
I have a PHP script that constantly refreshes. If something happens with the data that is being refreshed, a popup will appear to alert whoever is watching it. If the situation clears itself, I want the popup to disappear.</div>

]]></content:encoded>
			<category domain="http://www.developerbarn.com/javascript-programming/">JavaScript Programming</category>
			<dc:creator>bryceowen</dc:creator>
			<guid isPermaLink="true">http://www.developerbarn.com/javascript-programming/1912-possible-close-window-non-parent.html</guid>
		</item>
		<item>
			<title>Windows XP Password Recovery</title>
			<link>http://www.developerbarn.com/microsoft-windows/1911-windows-xp-password-recovery.html</link>
			<pubDate>Fri, 05 Mar 2010 16:22:35 GMT</pubDate>
			<description>I have a friend who had an issue (most likely virus) with their PC and instead of getting the virus removed had another friend try to fix it by...</description>
			<content:encoded><![CDATA[<div>I have a friend who had an issue (most likely virus) with their PC and instead of getting the virus removed had another friend try to fix it by reinstalling windows (XP).  They set an admin password and now can't get into the PC.  Either they don't remember the correct password or it's just not accepting any.  Is there a way to get into the system?  A way to bypass the admin password?<br />
<br />
I love when people get others to fix their systems when they have no idea what they're doing.<br />
<br />
Thanks.</div>

]]></content:encoded>
			<category domain="http://www.developerbarn.com/microsoft-windows/">Microsoft Windows</category>
			<dc:creator>mehere</dc:creator>
			<guid isPermaLink="true">http://www.developerbarn.com/microsoft-windows/1911-windows-xp-password-recovery.html</guid>
		</item>
		<item>
			<title>God of War</title>
			<link>http://www.developerbarn.com/games-consoles/1910-god-war.html</link>
			<pubDate>Thu, 04 Mar 2010 22:58:50 GMT</pubDate>
			<description>So my friend got my hooked on God of War. I bought the God of War Collections which has both GoW and GoW II. I beat the first one last weekend and...</description>
			<content:encoded><![CDATA[<div>So my friend got my hooked on God of War. I bought the God of War Collections which has both GoW and GoW II. I beat the first one last weekend and let me tell you, this is probably the best game I have ever played. The story is excellent, the graphics are superb, the gameplay is exciting and challenging...overall an awesome game. I can't wait to start on GoW II.<br />
<br />
Anyone else play this one?</div>

]]></content:encoded>
			<category domain="http://www.developerbarn.com/games-consoles/"><![CDATA[Games & Consoles]]></category>
			<dc:creator>jmurrayhead</dc:creator>
			<guid isPermaLink="true">http://www.developerbarn.com/games-consoles/1910-god-war.html</guid>
		</item>
		<item>
			<title>First Asp.net Website</title>
			<link>http://www.developerbarn.com/net-development/1909-first-asp-net-website.html</link>
			<pubDate>Wed, 03 Mar 2010 01:45:11 GMT</pubDate>
			<description>Hello, 
 
Guys I am working with a group of 5 developers to create a asp.net website. 
 
Can someone tell me what thinks should I focus more on i...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
Guys I am working with a group of 5 developers to create a asp.net website.<br />
<br />
Can someone tell me what thinks should I focus more on i mean should be create classes first for the website or should be focus more on master pages<br />
<br />
any help is highly appreciated<br />
<br />
todd</div>

]]></content:encoded>
			<category domain="http://www.developerbarn.com/net-development/">.Net Development</category>
			<dc:creator>todd2006</dc:creator>
			<guid isPermaLink="true">http://www.developerbarn.com/net-development/1909-first-asp-net-website.html</guid>
		</item>
		<item>
			<title>Rename worksheets in Excel file exported from Access</title>
			<link>http://www.developerbarn.com/microsoft-access/1908-rename-worksheets-excel-file-exported-access.html</link>
			<pubDate>Tue, 02 Mar 2010 19:21:11 GMT</pubDate>
			<description><![CDATA[Hi All, 
 
I've created a simple macro that contains "Transfer Spreadsheet" to directory: 
c:\myfiles\NewFile.xls 
 
I'm using export to export 5...]]></description>
			<content:encoded><![CDATA[<div>Hi All,<br />
<br />
I've created a simple macro that contains &quot;Transfer Spreadsheet&quot; to directory:<br />
c:\myfiles\NewFile.xls<br />
<br />
I'm using export to export 5 different queries into the new file, this all works fine but example the first query name is qryGrandTotalsForYear then this comes across in excel on the tab name.  Is there a way I can give it a name prior or during the export?  <br />
<br />
I would want qryGrandTotalsForYear to be Yearly Grand Totals.  <br />
<br />
Thanks in advance for any suggestions here. ;)</div>

]]></content:encoded>
			<category domain="http://www.developerbarn.com/microsoft-access/">Microsoft Access</category>
			<dc:creator>Rebelle</dc:creator>
			<guid isPermaLink="true">http://www.developerbarn.com/microsoft-access/1908-rename-worksheets-excel-file-exported-access.html</guid>
		</item>
		<item>
			<title><![CDATA[IF cell does not contain 'blah' then show 'this']]></title>
			<link>http://www.developerbarn.com/sql-server-reporting-services-help/1907-if-cell-does-not-contain-blah-then-show.html</link>
			<pubDate>Tue, 02 Mar 2010 18:49:47 GMT</pubDate>
			<description><![CDATA[So I am finishing a report and the data is all correct and everything but as a superficial request I need to change a value that = 'NaN' to just show...]]></description>
			<content:encoded><![CDATA[<div>So I am finishing a report and the data is all correct and everything but as a superficial request I need to change a value that = 'NaN' to just show 'N/A' instead. How can I get this to work? I have tried IIF statements but it doesn't seem to pan out. Thanks for any help.</div>

]]></content:encoded>
			<category domain="http://www.developerbarn.com/sql-server-reporting-services-help/">SQL Server Reporting Services Help</category>
			<dc:creator>CCCSteve</dc:creator>
			<guid isPermaLink="true">http://www.developerbarn.com/sql-server-reporting-services-help/1907-if-cell-does-not-contain-blah-then-show.html</guid>
		</item>
	</channel>
</rss>
