<?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>p2p.wrox.com Forums - Access</title>
		<link>http://p2p.wrox.com</link>
		<description>Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.</description>
		<language>en</language>
		<lastBuildDate>Sat, 21 Nov 2009 12:08:42 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://p2p.wrox.com/images/misc/rss.jpg</url>
			<title>p2p.wrox.com Forums - Access</title>
			<link>http://p2p.wrox.com</link>
		</image>
		<item>
			<title>Difference Between Times Past Midnight</title>
			<link>http://p2p.wrox.com/access/76991-difference-between-times-past-midnight.html</link>
			<pubDate>Wed, 11 Nov 2009 10:50:19 GMT</pubDate>
			<description><![CDATA[Hello! 
 
On an Access form I have three controls:
 
StartTime
EndTime
TimeDuration
 
They are all 'Short Time' formatted and are bound to fields in...]]></description>
			<content:encoded><![CDATA[<div>Hello! <br />
 <br />
On an Access form I have three controls:<br />
 <br />
StartTime<br />
EndTime<br />
TimeDuration<br />
 <br />
They are all 'Short Time' formatted and are bound to fields in the same table.  The user inputs manually the StartTime and EndTime using the input mask 00:00;0;_ (all he needs to register is hour and time in 24-hour format. And the TimeDuration should automatically be calculated and populated.  <br />
 <br />
I have successfuly been able to calculate the time difference, but not if the end time goes past midnight.  <br />
 <br />
For example: if the StartTime is 21:00 and the end time is 01:00, then the result should give 04:00, but it gives 20h00.  I already understand why it does that (Access assumes they are both times on the same date) - but I can't figure out how to overcome this.<br />
 <br />
I have tried many options, from a basic formula ([StartTime] - [EndTime]), which gives the result above) and also tried using DateDiff which always gives me 00:00 as the result, regardless.  I am certain I am using the function correctly: DateDiff(&quot;n&quot;, [StartTime],[EndTime]).<br />
 <br />
Any clues on how I can overcome this using any function or code?<br />
 <br />
Appreciate any help! Thank you!</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/access-18/">Access</category>
			<dc:creator>Odeh Naber</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/access/76991-difference-between-times-past-midnight.html</guid>
		</item>
		<item>
			<title>Combo box interior color changes</title>
			<link>http://p2p.wrox.com/access/76954-combo-box-interior-color-changes.html</link>
			<pubDate>Sun, 08 Nov 2009 18:11:38 GMT</pubDate>
			<description><![CDATA[When I open my forms the combo boxes have a white interior and black text, which is the default and the way I'd like them to stay. But when I browse...]]></description>
			<content:encoded><![CDATA[<div><font size="3"><font color="#000000">When I open my forms the combo boxes have a white interior and black text, which is the default and the way I'd like them to stay. But when I browse records, the combo box becomes transparent, by which I mean the interior color of the combo box becomes the same as the color of the form. I hate this behavior because this does not happen on the other controls and makes for an odd appearance. Is there a way to prevent this?</font></font></div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/access-18/">Access</category>
			<dc:creator>williamlove</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/access/76954-combo-box-interior-color-changes.html</guid>
		</item>
	</channel>
</rss>
