<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0">
  <channel>
    <title>Recent Posts on ASPMessageboard.com</title>
    <link>http://www.aspmessageboard.com/</link>
    <description>ASPMessageboard.com is a site where developers of Microsoft's Active Server Pages
    and Active Server Pages .NET can come to ask questions and get answers!</description>
    <language>en-us</language>
    <copyright>Copyright 2003 Jupitermedia Corporation. All Rights Reserved.</copyright>
    <pubDate>Fri, 04 Jul 2008 00:36:17 GMT</pubDate>
    <lastBuildDate>Fri, 04 Jul 2008 00:36:17 GMT</lastBuildDate>
    <ttl>20</ttl>

		<item>
		  <title>Another smaller issue! (slinki)</title>
		  <link>http://www.aspmessageboard.com/forum/showMessage.asp?F=29&amp;P=1&amp;M=897547</link>
		  <description>&lt;b&gt;Message by slinki on 7/3/2008 6:14:05 PM EST&lt;/b&gt;&lt;br&gt;Hi&lt;BR&gt;&lt;BR&gt;I am trying to get the values from selected checkboxes and convert them into a string similar to this format (word 1, word 2, word 3, word 4, word 5...) and to put this new string into an empty text box but I am having difficulties when coming across (%) symbols imitating whitespaces in my string. For some reason, when collecting values from checkboxes, I always seem to have these (%) problems.&lt;BR&gt;&lt;BR&gt;My function, below, is working but it only removes the first (%) symbol in the string. As I will show here (word 1, word%2, word%3, word%4, word%5...). There is obviously something wrong with the For loop, but don&apos;t know how to fix Javascript too good!&lt;BR&gt;&lt;BR&gt;[code language=&quot;javascript&quot;]&lt;BR&gt;function GetNamesAndPaste()&lt;BR&gt;			{&lt;BR&gt;			var name_str = &quot;&quot;;&lt;BR&gt;			var new_name_str = &quot;&quot;;&lt;BR&gt;			for (var i=0; i &amp;#060; document.searcher.people_boxes.length; i++)&lt;BR&gt;			   {&lt;BR&gt;			   if (document.searcher.people_boxes[i].checked)&lt;BR&gt;				  {&lt;BR&gt;				  name_str = name_str + document.searcher.people_boxes[i].value + &quot;, &quot;;&lt;BR&gt;				  new_name_str = name_str.replace(/%/, &quot; &quot;)&lt;BR&gt;				  document.searcher.people.value = new_name_str;&lt;BR&gt;				  }&lt;BR&gt;			   }&lt;BR&gt;			}&lt;BR&gt;[/code]&lt;BR&gt;&lt;BR&gt;Is there anyone out there that could possibly alter my script slightly, so it removes all %&apos;s from the string. &lt;BR&gt;&lt;BR&gt;Also, I am being left with 2 annoying trailing characters - a comma and a space (, ) -  I need a function/script that will grab the last 2 characters of the string, check to see if the characters are the annoying comma and space and remove them if they are.&lt;BR&gt;&lt;BR&gt;Any help is appreciated... </description>
		  <datePosted>7/3/2008 6:14:05 PM</datePosted>
		</item>
		
		<item>
		  <title>Sounds like you just need... (bill wilkinson)</title>
		  <link>http://www.aspmessageboard.com/forum/showMessage.asp?F=20&amp;P=1&amp;M=897546</link>
		  <description>&lt;b&gt;Message by bill wilkinson on 7/3/2008 4:09:47 PM EST&lt;/b&gt;&lt;br&gt;...to start by learning the basics of ASP, period.&lt;BR&gt;&lt;BR&gt;You might want to get a good book on ASP (or give up on obsolete old ASP and sensibly move to ASP.NET, of course!).&lt;BR&gt;&lt;BR&gt;Failing that, you might look here:&lt;BR&gt;    &lt;a href=&quot;http://www.LearnAsp.com/Learn&lt;BR&gt;look&quot;&gt;http://www.LearnAsp.com/Learn&lt;BR&gt;look&lt;/a&gt; especially at the FORM &quot;lessons&quot; and the DATABASE &quot;lessons&quot;.  (They aren&apos;t really lessons, more just examples, but they are the best I&apos;ve found for ASP.  The tutorials available for ASP.NET are many many many times better than this.) </description>
		  <datePosted>7/3/2008 4:09:47 PM</datePosted>
		</item>
		
		<item>
		  <title>Yeah, good point... (bill wilkinson)</title>
		  <link>http://www.aspmessageboard.com/forum/showMessage.asp?F=36&amp;P=1&amp;M=897545</link>
		  <description>&lt;b&gt;Message by bill wilkinson on 7/3/2008 4:06:02 PM EST&lt;/b&gt;&lt;br&gt;Worth trying first, to see if it works, but otherwise...&lt;BR&gt;&lt;BR&gt; </description>
		  <datePosted>7/3/2008 4:06:02 PM</datePosted>
		</item>
		
		<item>
		  <title>Oh, crud...wish this forum allowed edit... (bill wilkinson)</title>
		  <link>http://www.aspmessageboard.com/forum/showMessage.asp?F=21&amp;P=1&amp;M=897544</link>
		  <description>&lt;b&gt;Message by bill wilkinson on 7/3/2008 4:04:33 PM EST&lt;/b&gt;&lt;br&gt;Sorry...fixing that last query:&lt;BR&gt;&lt;BR&gt;SQL = &quot;SELECT * FROM Tracker &quot; _&lt;BR&gt;    &amp; &quot; WHERE &lt;span style=&quot;color:red&quot;&gt;&lt;b&gt;CDATE(SysDate)&lt;/b&gt;&lt;/span&gt; BETWEEN &lt;span style=&quot;color:red&quot;&gt;&lt;b&gt;#&lt;/b&gt;&lt;/span&gt;&quot; &amp; SummaryStart &amp; &quot;&lt;span style=&quot;color:red&quot;&gt;&lt;b&gt;#&lt;/b&gt;&lt;/span&gt; AND &lt;span style=&quot;color:red&quot;&gt;&lt;b&gt;#&lt;/b&gt;&lt;/span&gt;&quot; &amp; SummaryEnd &amp; &quot;&lt;span style=&quot;color:red&quot;&gt;&lt;b&gt;#&lt;/b&gt;&lt;/span&gt; &quot; _&lt;BR&gt;    &amp; &quot; ORDER BY SiteList, TaskType, Task&quot;&lt;BR&gt; </description>
		  <datePosted>7/3/2008 4:04:33 PM</datePosted>
		</item>
		
		<item>
		  <title>LOL!  Thanks, Andrew! (bill wilkinson)</title>
		  <link>http://www.aspmessageboard.com/forum/showMessage.asp?F=21&amp;P=1&amp;M=897543</link>
		  <description>&lt;b&gt;Message by bill wilkinson on 7/3/2008 4:02:38 PM EST&lt;/b&gt;&lt;br&gt;I think.  I&apos;m not sure that I need more work.  &amp;#060;grin/&amp;#062;&lt;BR&gt;&lt;BR&gt;Okay, let&apos;s take an example.&lt;BR&gt;&lt;BR&gt;Say you do, indeed, use&lt;BR&gt;    WHERE SysDate between &apos;4/29/2008&apos; AND &apos;5/7/2008&apos;&lt;BR&gt;&lt;BR&gt;Now consieder the date of &apos;4/5/2008&apos;&lt;BR&gt;&lt;BR&gt;When you do STRING comparisons--which is what is happening since you screwed up bigtime by making those fields be TEXT fields instead of DATE/TIME fields--the comparisons are done *character by character*.  And the FIRST place where the two characters are different determines the &quot;sense&quot; of the comparison.&lt;BR&gt;&lt;BR&gt;So let&apos;s first compare&lt;BR&gt;    &apos;4/5/2008&apos;&lt;BR&gt;    &apos;5/7/2008&apos;&lt;BR&gt;We start with the first characters: &apos;4&apos; versus &apos;5&apos;.  WHAMMO.  Immediately we see that they are not the same.  The &apos;4&apos; is less than the &apos;5&apos;, so the &quot;sense&quot; of the overall comparison is&lt;BR&gt;    &apos;4/5/2008&apos;&lt;span style=&quot;background-color:black&quot;&gt;&lt;span style=&quot;color:yellow&quot;&gt;&lt;b&gt; &amp;#060; &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&apos;5/7/2008&apos;&lt;BR&gt;&lt;BR&gt;Now let&apos;s compare&lt;BR&gt;    &apos;4/29/2008&apos;&lt;BR&gt;    &apos;4/5/2008&apos;&lt;BR&gt;Again, character by character:&lt;BR&gt;    &apos;4&apos; and &apos;4&apos; are the same.  continue.&lt;BR&gt;    &apos;/&apos; and &apos;/&apos; are the same.  continue.&lt;BR&gt;    &apos;2&apos; and &apos;5&apos; are different!  &apos;2&apos; is less than &apos;5&apos;, so the *sense* of the overall comparison is&lt;BR&gt;    &apos;4/29/2008&apos;&lt;span style=&quot;background-color:black&quot;&gt;&lt;span style=&quot;color:yellow&quot;&gt;&lt;b&gt; &amp;#060; &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&apos;4/5/2008&apos;&lt;BR&gt;&lt;BR&gt;And so, *OF COURSE* we get a &lt;b&gt;TRUE&lt;/b&gt; value for the expression&lt;BR&gt;    WHERE SysDate between &apos;4/29/2008&apos; AND &apos;5/7/2008&apos;&lt;BR&gt;which has become&lt;BR&gt;    WHERE &apos;4/5/2008&apos; between &apos;4/29/2008&apos; AND &apos;5/7/2008&apos;&lt;BR&gt;&lt;BR&gt;The obvious answer to this is to stop misusing your database and convert all those text values to DATE/TIME.  In Access, that&apos;s trivial.  Open up the table in DESIGN TABLE view.  Change the field type to DATE/TIME.  Close the design.  Say OK.  You are done.&lt;BR&gt;&lt;BR&gt;Now, if there is some silly-ass reason you can&apos;t do that (e.g., you are working with a read-only database that somebody else mis-designed), there actually *IS* a solution:&lt;BR&gt;&lt;BR&gt;SQL = &quot;SELECT * FROM Tracker &quot; _&lt;BR&gt;    &amp; &quot; WHERE &lt;span style=&quot;color:red&quot;&gt;&lt;b&gt;CDATE(SysDate)&lt;/b&gt;&lt;/span&gt; between &lt;span style=&quot;color:red&quot;&gt;&lt;b&gt;#(SysDate)&lt;/b&gt;&lt;/span&gt;&quot; &amp; SummaryStart &amp; &quot;&lt;span style=&quot;color:red&quot;&gt;&lt;b&gt;#(SysDate)&lt;/b&gt;&lt;/span&gt; AND &lt;span style=&quot;color:red&quot;&gt;&lt;b&gt;#(SysDate)&lt;/b&gt;&lt;/span&gt;&quot; &amp; SummaryEnd &amp; &quot;&lt;span style=&quot;color:red&quot;&gt;&lt;b&gt;#(SysDate)&lt;/b&gt;&lt;/span&gt; &quot; _&lt;BR&gt;    &amp; &quot; ORDER BY SiteList, TaskType, Task&quot;&lt;BR&gt;&lt;BR&gt;It&apos;s not as efficient.  Because now even if SYSDATE is indexed, the query engine will go read every record.  But it works.  CDATE() is a function in both VBScript and Access that converts a string to a date/time value.&lt;BR&gt;&lt;BR&gt; </description>
		  <datePosted>7/3/2008 4:02:38 PM</datePosted>
		</item>
		
		<item>
		  <title>If you can&apos;t modify the pages... (bill wilkinson)</title>
		  <link>http://www.aspmessageboard.com/forum/showMessage.asp?F=20&amp;P=1&amp;M=897542</link>
		  <description>&lt;b&gt;Message by bill wilkinson on 7/3/2008 3:46:04 PM EST&lt;/b&gt;&lt;br&gt;...you are stuck.  Period.&lt;BR&gt;&lt;BR&gt;And I will say again and again and again:  You do *NOT* need to close the recordsets.  If you have a memory leak, I would make a reasonably large sized bet with you that it is *NOT* related to recordsets.  It&apos;s almost surely related to some OTHER component.&lt;BR&gt;&lt;BR&gt;This assumes that you are using IIS 3 or above and ADO version 2.1 or above.  And that you are using OLE or ODBC providers created by Microsoft.&lt;BR&gt;&lt;BR&gt; </description>
		  <datePosted>7/3/2008 3:46:04 PM</datePosted>
		</item>
		
		<item>
		  <title>you are making bad assumption (bill wilkinson)</title>
		  <link>http://www.aspmessageboard.com/forum/showMessage.asp?F=20&amp;P=1&amp;M=897541</link>
		  <description>&lt;b&gt;Message by bill wilkinson on 7/3/2008 3:43:02 PM EST&lt;/b&gt;&lt;br&gt;Read this:&lt;BR&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/aa258277(SQL.80).aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/aa258277(SQL.80).aspx&lt;/a&gt; &lt;BR&gt;&lt;BR&gt;THERE IS NO POSSIBLE WAY that SQL Server can *NOT* store a date and time that is accurate to the nearest 3 milliseconds.&lt;BR&gt;&lt;BR&gt;Period.&lt;BR&gt;&lt;BR&gt;BUT...&lt;BR&gt;&lt;BR&gt;But you don&apos;t HAVE to use the &quot;raw&quot; GetDate() value.&lt;BR&gt;&lt;BR&gt;If all you care about is the *DATE* (and *NOT* the time) then just convert the value from GETDATE() to a date-only value.  Thus:&lt;BR&gt;     CONVERT( DATETIME, CONVERT( VARCHAR(10), getDate(), 112 ), 112 )&lt;BR&gt;&lt;BR&gt;And then, in your VBS code, *INSTEAD* of using NOW() you should use DATE() to get a date-only value.&lt;BR&gt;&lt;BR&gt;Incidentally, you *CAN* do a &quot;bulk update&quot; on the current values in your DB, easily:&lt;BR&gt;    UPDATE tbl_lcCases SET dateContacted = CONVERT( DATETIME, CONVERT( VARCHAR(10), dateContacted, 112 ), 112 )&lt;BR&gt;&lt;BR&gt;Presto.  All those date+time values will become date-only values.&lt;BR&gt;&lt;BR&gt;You can also do dateDue at same time:&lt;BR&gt;    UPDATE tbl_lcCases &lt;BR&gt;    SET dateContacted = CONVERT( DATETIME, CONVERT( VARCHAR(10), dateContacted, 112 ), 112 ),&lt;BR&gt;        dateDue = CONVERT( DATETIME, CONVERT( VARCHAR(10), dateDue, 112 ), 112 )&lt;BR&gt;&lt;BR&gt;P.s.:  You don&apos;t need to do&lt;BR&gt;    CDATE( NOW() )&lt;BR&gt;or &lt;BR&gt;    CDATE( DATE() )&lt;BR&gt;they are already *guaranteed* to be date/time values.&lt;BR&gt;&lt;BR&gt;P.p.s.:  YOu could do&lt;BR&gt;    DateValue( Request(&quot;dateDue&quot;) )&lt;BR&gt;to ensure that you are using a date-only value here, as well.&lt;BR&gt;&lt;BR&gt; </description>
		  <datePosted>7/3/2008 3:43:02 PM</datePosted>
		</item>
		
		<item>
		  <title>RE: SQL Dates with decimals? (shadowvixen)</title>
		  <link>http://www.aspmessageboard.com/forum/showMessage.asp?F=20&amp;P=1&amp;M=897540</link>
		  <description>&lt;b&gt;Message by shadowvixen on 7/3/2008 3:29:07 PM EST&lt;/b&gt;&lt;br&gt;Will I hose my dates stored in datetime if i convert to smalldatetime with the data still in the table or should i export, change and reimport? Thanks!!! </description>
		  <datePosted>7/3/2008 3:29:07 PM</datePosted>
		</item>
		
		<item>
		  <title>Well, I would say that the problem is... (bill wilkinson)</title>
		  <link>http://www.aspmessageboard.com/forum/showMessage.asp?F=20&amp;P=1&amp;M=897539</link>
		  <description>&lt;b&gt;Message by bill wilkinson on 7/3/2008 3:26:52 PM EST&lt;/b&gt;&lt;br&gt;...that Either BOF or EOF is True.&lt;BR&gt;&lt;BR&gt;Actually, EOF is true, guaranteed.  Since directly after creating a recordset, BOF can be true if and only if EOF is also true.  Ergo, no matter what EOF is true.&lt;BR&gt;&lt;BR&gt;So why do you doubt the veracity of the message?&lt;BR&gt;&lt;BR&gt;Patently and obviously, your SQL query is returning exactly zero records.  Ergo, EOF is true.&lt;BR&gt;&lt;BR&gt;Now...&lt;BR&gt;&lt;BR&gt;WHERE IS YOUR DEBUG????&lt;BR&gt;&lt;BR&gt;Specifically, where is your&lt;BR&gt;    Response.Write &quot;DEBUG SQL: &quot; &amp; strSQL &amp; &quot;&amp;#060;HR&amp;#062;&quot;&lt;BR&gt;or equivalent???&lt;BR&gt;&lt;BR&gt;And then, *AFTER* you see what Response.Write shows you, go try the *exact same query* in your DB tools and see what you get.&lt;BR&gt;&lt;BR&gt; </description>
		  <datePosted>7/3/2008 3:26:52 PM</datePosted>
		</item>
		
		<item>
		  <title>RE: Classic ASP to ASP.NET Getting Started (AndrewSQLDBA)</title>
		  <link>http://www.aspmessageboard.com/forum/showMessage.asp?F=20&amp;P=1&amp;M=897538</link>
		  <description>&lt;b&gt;Message by AndrewSQLDBA on 7/3/2008 3:15:18 PM EST&lt;/b&gt;&lt;br&gt;.NET has session variables. What is your code behind language? You can also do that in OOP&lt;BR&gt;&lt;BR&gt;Andrew SQLDBA </description>
		  <datePosted>7/3/2008 3:15:18 PM</datePosted>
		</item>
		
		<item>
		  <title>Either BOF or EOF is True... (robert475)</title>
		  <link>http://www.aspmessageboard.com/forum/showMessage.asp?F=20&amp;P=1&amp;M=897537</link>
		  <description>&lt;b&gt;Message by robert475 on 7/3/2008 3:13:08 PM EST&lt;/b&gt;&lt;br&gt;Hi everyone&lt;BR&gt;&lt;BR&gt;I seem to have a slight problem with this query:&lt;BR&gt;&lt;BR&gt;SELECT repno,monearly,monam,monpm,moneve,tueearly,tueam,tuepm,tueeve,&lt;BR&gt;wedearly,wedam,wedpm,wedeve,thuearly,thuam,thupm,thueve,&lt;BR&gt;friearly,friam,fripm,frieve,sat1am,sat1pm,sat2am,sat2pm,sat3am,&lt;BR&gt;sat3pm,sat4am,sat4pm,sunam,sunpm &lt;BR&gt;FROM permanent_shift_changes where repno = &apos;&quot;&amp;Session(&quot;reps&quot;)&amp;&quot;&apos;&lt;BR&gt;&lt;BR&gt;If i was to run this query in query analyzer it returns records, but when i aplly it to my asp page it returns the following error:&lt;BR&gt;&lt;BR&gt;Error Type:&lt;BR&gt;ADODB.Field (0x80020009)&lt;BR&gt;Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.&lt;BR&gt;&lt;BR&gt;Now the bizarre thing is that if i change the from clause - permanent_shift_changes to a similar table to (same table design but different records) the page will run.&lt;BR&gt;&lt;BR&gt;I think i have made the mistake in my coding along the lines, could someone help point out where i am going wrong please?&lt;BR&gt;&lt;BR&gt;Thanks very much.&lt;BR&gt;&lt;BR&gt;Code:&lt;BR&gt;&lt;BR&gt;SQLQuery = &quot;SELECT repno,monearly,monam,monpm,moneve,tueearly,tueam,tuepm,tueeve,wedearly,wedam,wedpm,wedeve,thuearly,thuam,thupm,thueve,friearly,friam,fripm,frieve,sat1am,sat1pm,sat2am,sat2pm,sat3am,sat3pm,sat4am,sat4pm,sunam,sunpm FROM permanent_shift_changes where repno = &apos;&quot;&amp;Session(&quot;reps&quot;)&amp;&quot;&apos;&quot;&lt;BR&gt;&lt;BR&gt;set psc = db.execute(SQLQuery)&lt;BR&gt;%&amp;#062;&lt;BR&gt;    &lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;monearly&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;monam&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;monpm&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;moneve&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;tueearly&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;tueam&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;tuepm&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;tueeve&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;wedearly&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;wedam&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;wedpm&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;wedeve&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;thuearly&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;thuam&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;thupm&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;thueve&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;friearly&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;friam&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;fripm&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;frieve&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;sat1am&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;sat1pm&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;sat2am&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;sat2pm&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;sat3am&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;sat3pm&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;sat4am&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;sat4pm&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;sunam&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;    &amp;#060;td bordercolor=&quot;#000000&quot;&amp;#062;&amp;#060;span class=&quot;style1&quot;&amp;#062;&amp;#060;%= psc(&quot;sunpm&quot;) %&amp;#062;&amp;#060;/span&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;  &amp;#060;/tr&amp;#062;&lt;BR&gt;&amp;#060;%&lt;BR&gt;reps.movenext&lt;BR&gt;Loop&lt;BR&gt;reps.close&lt;BR&gt;db.Close&lt;BR&gt;%&amp;#062;&lt;BR&gt;&amp;#060;/table&amp;#062;&lt;BR&gt;&amp;#060;/body&amp;#062;&lt;BR&gt;&amp;#060;/html&amp;#062;&lt;BR&gt; </description>
		  <datePosted>7/3/2008 3:13:08 PM</datePosted>
		</item>
		
		<item>
		  <title>RE: SQL Dates with decimals? (AndrewSQLDBA)</title>
		  <link>http://www.aspmessageboard.com/forum/showMessage.asp?F=20&amp;P=1&amp;M=897536</link>
		  <description>&lt;b&gt;Message by AndrewSQLDBA on 7/3/2008 3:13:06 PM EST&lt;/b&gt;&lt;br&gt;Do you need to store dates down to the millisecond level? If not, the change the data type to smalldatetime.&lt;BR&gt;&lt;BR&gt;The date range for SQL and the date range for VBScript are different. Also, you would want to either not show the milliseconds on your form. I would actually use a calender control, or a set of DDL&apos;s to let the user pick a date, and not allow them to type in a date. That way, they will input exactly what you want.&lt;BR&gt;&lt;BR&gt;Andrew SQLDBA </description>
		  <datePosted>7/3/2008 3:13:06 PM</datePosted>
		</item>
		
		<item>
		  <title>RE: Access DB and Select Between Problems.... (AndrewSQLDBA)</title>
		  <link>http://www.aspmessageboard.com/forum/showMessage.asp?F=21&amp;P=1&amp;M=897535</link>
		  <description>&lt;b&gt;Message by AndrewSQLDBA on 7/3/2008 3:08:02 PM EST&lt;/b&gt;&lt;br&gt;Anytime that you want to store dates in a database, use a column with a date data type. You will never get what you want by having those two columns as text.&lt;BR&gt;&lt;BR&gt;Change the data types and use the database like it was designed to be used.&lt;BR&gt;&lt;BR&gt;Bill Wilkinson explains it best. Bill, if you like, please tell them about proper database design and using the correct data types.&lt;BR&gt;&lt;BR&gt;Andrew SQLDBA </description>
		  <datePosted>7/3/2008 3:08:02 PM</datePosted>
		</item>
		
		<item>
		  <title>RE: ASP Drop Down (snrice)</title>
		  <link>http://www.aspmessageboard.com/forum/showMessage.asp?F=20&amp;P=1&amp;M=897534</link>
		  <description>&lt;b&gt;Message by snrice on 7/3/2008 2:32:25 PM EST&lt;/b&gt;&lt;br&gt;Thanks, for responding.  It&apos;s with the connection to the drop down boxes.  I&apos;m using ASP and SQL.  Here what I have and I&apos;m not sure what to do.  I need the page to connect to the SQL database and pull retieve the state.&lt;BR&gt;&lt;BR&gt;tr&amp;#062;&lt;BR&gt;&amp;#060;td align=left width=&quot;164&quot; height=&quot;25&quot;&amp;#062;Install Location State:&amp;#060;/td&amp;#062;&lt;BR&gt;&amp;#060;td align=left height=&quot;25&quot;&amp;#062;&amp;#060;input type =text name=&quot;tbInstallLocationState&quot; value=&quot;&amp;#060;%=Session(&quot;InstallLocationState&quot;)%&amp;#062;&quot; size=&quot;2&quot; maxlength=&quot;2&quot; &lt;BR&gt;style=&quot;width: 36px&quot;&amp;#062;&amp;#060;/td&amp;#062;&lt;BR&gt;&amp;#060;/tr&amp;#062; </description>
		  <datePosted>7/3/2008 2:32:25 PM</datePosted>
		</item>
		
		<item>
		  <title>This worked but why?? (eramgarden)</title>
		  <link>http://www.aspmessageboard.com/forum/showMessage.asp?F=36&amp;P=1&amp;M=897533</link>
		  <description>&lt;b&gt;Message by eramgarden on 7/3/2008 2:27:35 PM EST&lt;/b&gt;&lt;br&gt;1.If I create a hiddlen checkbox :&lt;BR&gt;&amp;#060;asp:CheckBox runat=&quot;server&quot; ID=&quot;CheckBox1&quot; OnCheckedChanged=&quot;chkSameAsBilling_CheckedChanged&quot; AutoPostBack=&quot;true&quot; style=&quot;display:none;&quot; /&amp;#062;&lt;BR&gt;&lt;BR&gt;2.remove autopostback from the original checkbox&lt;BR&gt;&lt;BR&gt;3. and do this:&lt;BR&gt;chkSameAsBilling.Attributes[&quot;onclick&quot;]  = &quot;if(btnValidate() &quot; + CheckBox1.ClientID + &quot;.click();&quot;&lt;BR&gt;&lt;BR&gt;that works..validates and does a post back.But why?? </description>
		  <datePosted>7/3/2008 2:27:35 PM</datePosted>
		</item>
		
		<item>
		  <title>Tried this as well but no postback (eramgarden)</title>
		  <link>http://www.aspmessageboard.com/forum/showMessage.asp?F=36&amp;P=1&amp;M=897532</link>
		  <description>&lt;b&gt;Message by eramgarden on 7/3/2008 2:16:26 PM EST&lt;/b&gt;&lt;br&gt;Changed the checkbox to this:&lt;BR&gt;&lt;BR&gt;[code language=&quot;VB.Net&quot;]&lt;BR&gt;&amp;#060;asp:CheckBox ID=&quot;chkSameAsBilling&quot; Text=&quot;Use Billing Address&quot; runat=&quot;server&quot;  onclick=&quot;chkSameAsBilling_CheckedChanged&quot;  Font-Size=&quot;12px&quot;  /&amp;#062;&lt;BR&gt;[/code]&lt;BR&gt;&lt;BR&gt;and the event to this:&lt;BR&gt;chkSameAsBilling.Attributes.Add(&quot;onclick&quot;, &quot;return btnValidate();&quot;);&lt;BR&gt;&lt;BR&gt;*** calls the javascript but doesnt do a post back.&lt;BR&gt; </description>
		  <datePosted>7/3/2008 2:16:26 PM</datePosted>
		</item>
		
		<item>
		  <title>Click event of a checkbox and Javascript (eramgarden)</title>
		  <link>http://www.aspmessageboard.com/forum/showMessage.asp?F=36&amp;P=1&amp;M=897531</link>
		  <description>&lt;b&gt;Message by eramgarden on 7/3/2008 1:46:49 PM EST&lt;/b&gt;&lt;br&gt;i have a checkbox like this:&lt;BR&gt;&lt;BR&gt;[code language = &quot;VB.Net&quot;]&lt;BR&gt;        &amp;#060;asp:CheckBox ID=&quot;chkSameAsBilling&quot; Text=&quot;Use Billing Address&quot; runat=&quot;server&quot; OnCheckedChanged=&quot;chkSameAsBilling_CheckedChanged&quot;  &lt;BR&gt;                                                        AutoPostBack=&quot;true&quot;  Font-Size=&quot;12px&quot;  /&amp;#062;&lt;BR&gt;[/code]&lt;BR&gt;&lt;BR&gt;I want to call a JS function first to make sure textboxes are not blank, then call the OnCheckedChanged event of the checkbox.&lt;BR&gt;&lt;BR&gt;I did this..this calls the JS, returns true but it doesnt do a post back. I tried several things..removed the autopostback, removed the event call from aspx page, used onclick. Any ideas:&lt;BR&gt;&lt;BR&gt;[code language=&quot;C#&quot;]&lt;BR&gt; // chkSameAsBilling.Attributes.Add(&quot;onclick&quot;, &quot;return btnValidate();&quot;);&lt;BR&gt;            chkSameAsBilling.Attributes[&quot;onclick&quot;] = &quot;return btnValidate();&quot; + chkSameAsBilling.Attributes[&quot;OnCheckedChanged&quot;];&lt;BR&gt;&lt;BR&gt;[/code]&lt;BR&gt; </description>
		  <datePosted>7/3/2008 1:46:49 PM</datePosted>
		</item>
		
		<item>
		  <title>Don&apos;t ever touch the one... (Xanderno)</title>
		  <link>http://www.aspmessageboard.com/forum/showMessage.asp?F=30&amp;P=1&amp;M=897530</link>
		  <description>&lt;b&gt;Message by Xanderno on 7/3/2008 1:36:50 PM EST&lt;/b&gt;&lt;br&gt;In the .Net Framework directory.   That&apos;s strictly the default configuration, and should never have application specific settings in it.   The only reason it should ever change is if the server administrator wants to make global policy changes.   If you&apos;re dealing with a setting for a website, or an application, that should always go in the web.config file in your application/site directory. </description>
		  <datePosted>7/3/2008 1:36:50 PM</datePosted>
		</item>
		
		<item>
		  <title>Access DB and Select Between Problems.... (sqlhunter)</title>
		  <link>http://www.aspmessageboard.com/forum/showMessage.asp?F=21&amp;P=1&amp;M=897529</link>
		  <description>&lt;b&gt;Message by sqlhunter on 7/3/2008 12:12:19 PM EST&lt;/b&gt;&lt;br&gt;...ok I know I am doing somthing simple wrong here, but I cant seem to reconcile it. I know you guys are smarter then me so here is an easy one for ya...&lt;BR&gt;&lt;BR&gt;I have a page that queries an access db to get a Range of data.&lt;BR&gt;&lt;BR&gt;Example: Select * from Table where SysDate Between SummaryStart and SummaryEnd Order by blah blah....&lt;BR&gt;&lt;BR&gt;What happens is sometimes I get Data that is NOT between the Start and Ends...Why?&lt;BR&gt;&lt;BR&gt;Here is the code: The field is a TEXT filed in Access, but I am storing Dates so maybe there is an issue...&lt;BR&gt;&lt;BR&gt;Select * from Tracker where SysDate between &apos;&quot; &amp; SummaryStart &amp; &quot;&apos; and &apos;&quot; &amp; SummaryEnd &amp; &quot;&apos; Order by SiteList, TaskType, Task ASC&lt;BR&gt;&lt;BR&gt;Some Sample Data from the Database:&lt;BR&gt;SysDate     Task               TaskType&lt;BR&gt;4/29/2008   Work my Butt Off   Maintenance&lt;BR&gt;4/30/2008   Work my Butt Off   Maintenance&lt;BR&gt;4/30/2008   Slacker            Maintenance&lt;BR&gt;5/7/2008    Sleeping           Enhancement&lt;BR&gt;5/7/2008    Crying             Enhancement&lt;BR&gt;5/9/2008    Nothing            Maintenance&lt;BR&gt;5/12/2008   Work my Butt Off   Enhancement&lt;BR&gt;&lt;BR&gt;Any thoughts on what I may be doing wrong would be appreciated. To Reiderate, I do a range say from 4/29/2008 to 5/7/2008 but I get data from eairler in the month of April and also in other months, I dont understand. Somtimes some of the dates that are returned dont even fall between the range at all, </description>
		  <datePosted>7/3/2008 12:12:19 PM</datePosted>
		</item>
		
		<item>
		  <title>RE: blocking form values (shadowvixen)</title>
		  <link>http://www.aspmessageboard.com/forum/showMessage.asp?F=20&amp;P=1&amp;M=897528</link>
		  <description>&lt;b&gt;Message by shadowvixen on 7/3/2008 11:13:25 AM EST&lt;/b&gt;&lt;br&gt;Hey Ken - you could use a standard from validation script but use instr to see if the string in your field contains either of your values.&lt;BR&gt;&lt;BR&gt;&lt;a href=&quot;http://www.w3schools.com/Vbscript/func_instr.asp&quot;&gt;http://www.w3schools.com/Vbscript/func_instr.asp&lt;/a&gt; </description>
		  <datePosted>7/3/2008 11:13:25 AM</datePosted>
		</item>
		
  </channel>
</rss>