<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1012587" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1012587</link>
    <description></description>
    <language>en</language>
          <item>
    <title>WE DID IT!!!!!</title>
    <link>https://www.webmaster-forums.net/serverside-scripting/its-me-again-maneging-datebase#comment-1073139</link>
    <description> &lt;p&gt;Wee are the champions weeeeee....... &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Finaly, I found the error! I am not sure, if that was what you ment Peter, but I tryed to only have 1 strSQL statement in every connection, and after a while, I made it work!!!&lt;/p&gt;
&lt;p&gt;I could close the thread now, but naah, I think that it would be a shame &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt; First of all you probably want the solution, so I will offcorse give you that &amp;amp;~}&lt;/p&gt;
&lt;p&gt;Ehhmm... New question &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt; How do I set a cookie? If it is hard to do, I will just leave it, but if it is posible, I would like to know:&lt;/p&gt;
&lt;p&gt;1: How do I write a variable to a cookie on the users computer?&lt;/p&gt;
&lt;p&gt;2: How do I get the same cookie back, in a avriable?&lt;/p&gt;
&lt;p&gt;Ýou might think now, that I totaly forgot to give you the code, but I just wanted to get you all exited &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Ok, like Christmas, you will first get the code when: ... Ohh what the f*** here it is: &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;dim spq&lt;br /&gt;spq = Request.Form(&amp;quot;spqnummer&amp;quot;)&lt;br /&gt;&lt;br /&gt;&amp;#039;getting the variables, needed further in the script!&lt;br /&gt;&lt;br /&gt;dim streng1, streng2, sti, AccessDataBase&lt;br /&gt;	sti = &amp;quot;c:\asp&amp;quot;&lt;br /&gt;	Streng1 = &amp;quot;PROVIDER=MSDASQL;DRIVER={Microsoft Access Driver (*.mdb)};DBQ=&amp;quot;&lt;br /&gt;	Streng2 = &amp;quot;\poll.mdb;UID=admin;PWD=;&amp;quot;&lt;br /&gt;	AccessDataBase = Streng1 &amp;amp; sti &amp;amp; Streng2&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;dim strSQL, dbconnection, rsRecordSet&lt;br /&gt;	strSQL = &amp;quot;SELECT * FROM poll1&amp;quot;&lt;br /&gt;Set dbConnection = Server.CreateObject(&amp;quot;ADODB.Connection&amp;quot;)&lt;br /&gt;dbConnection.Open AccessDataBase &lt;br /&gt;Set rsRecordSet = Server.CreateObject(&amp;quot;ADODB.RecordSet&amp;quot;)&lt;br /&gt;rsRecordSet.Open strSQL, dbConnection, 2, 3 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;dim count, spq1, spq2, spq3&lt;br /&gt;count = rsRecordSet(spq) + 1&lt;br /&gt;spq1 = rsRecordSet(&amp;quot;spq1&amp;quot;)*1&lt;br /&gt;spq2 = rsRecordSet(&amp;quot;spq2&amp;quot;)*1&lt;br /&gt;spq3 = rsRecordSet(&amp;quot;spq3&amp;quot;)*1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;rsRecordSet.Close &lt;br /&gt;Set rsRecordSet = nothing &lt;br /&gt;dbConnection.Close &lt;br /&gt;Set dbConnection = nothing &lt;br /&gt;&lt;br /&gt;&amp;#039;connection determained&lt;br /&gt;&lt;br /&gt;&amp;#039;making new copnnection, to use for the update&lt;br /&gt;&lt;br /&gt;strSQL = &amp;quot;UPDATE poll1 SET &amp;quot; &amp;amp; spq &amp;amp; &amp;quot; = &amp;quot; &amp;amp; count&lt;br /&gt;Set dbConnection = Server.CreateObject(&amp;quot;ADODB.Connection&amp;quot;)&lt;br /&gt;dbConnection.Open AccessDataBase &lt;br /&gt;Set rsRecordSet = Server.CreateObject(&amp;quot;ADODB.RecordSet&amp;quot;)&lt;br /&gt;rsRecordSet.Open strSQL, dbConnection, 2, 3 &lt;br /&gt;&lt;br /&gt;rsRecordSet.Close &lt;br /&gt;Set rsRecordSet = nothing &lt;br /&gt;dbConnection.Close &lt;br /&gt;Set dbConnection = nothing &lt;br /&gt;&lt;br /&gt;&amp;#039;determaining the connection&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;That simple, yet we used that much time on it...&lt;/p&gt;
&lt;p&gt;Then I would like to thank Max and Peter for there help in this matter, I would never had come this far without your help! Maybe I should allso thank : &lt;a href=&quot;http://hotwired.lycos.com/webmonkey/&quot; class=&quot;bb-url&quot;&gt;http://hotwired.lycos.com/webmonkey/&lt;/a&gt; for all there toturials, that allso helped me to better understanding, in this last fase; I found an FAQ where they had a link to: &lt;a href=&quot;http://www.4guysfromrolla.com/webtech/faq/Databases/faq3.shtml&quot; class=&quot;bb-url&quot;&gt;http://www.4guysfromrolla.com/webtech/faq/Databases/faq3.shtml&lt;/a&gt; which explained very good to me, how it works... Maybe Max should read this, they say what will happend if you drop the &quot;WHERE&quot; statement, very usefull indead!&lt;/p&gt;
&lt;p&gt;My poll is finished, now all it ´needs is a bit shining up, and perhaps a little cookie, to veryfy if the user has allready signed it...&lt;/p&gt;
&lt;p&gt;THHHHHHANK YOU!!!!&lt;/p&gt;
&lt;p&gt;I ow you both one &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;A lucky&lt;br /&gt;
Casper!!!&lt;/p&gt;
 </description>
     <pubDate>Sat, 21 Oct 2000 15:01:14 +0000</pubDate>
 <dc:creator>hotcut</dc:creator>
 <guid isPermaLink="false">comment 1073139 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Makes no sence!</title>
    <link>https://www.webmaster-forums.net/serverside-scripting/its-me-again-maneging-datebase#comment-1073133</link>
    <description> &lt;p&gt;Hi Peter&lt;/p&gt;
&lt;p&gt;I tryed to implement your code to my script, but I got a lot of failures; The code I wrote before, was just a part of my script; I will allso need to make all the contents of the other fields into variables, a well! I didnt write that, maybe I should have done that, but I didnt thourght that it would be nessesary...&lt;/p&gt;
&lt;p&gt;The problem IS in this line:&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
strSQL = &quot;UPDATE poll1 SET &quot; &amp;amp; spq &amp;amp; &quot;=&#039;&quot; &amp;amp; Count &amp;amp;&quot;&#039; WHERE row=&#039;1&#039;&quot;&lt;br /&gt;
&lt;/strong&gt;&lt;br /&gt;
I am not sure of what the problem actually is here, but I am not even sure if this line is activated! It seems like, nomatter what I write (allmost) in that line, the script doesnt repond to it!&lt;/p&gt;
&lt;p&gt;My hope for a solution, is fading away... &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Can you see other problems in my script? Or maybe I should post the intire code here in this forum...&lt;/p&gt;
&lt;p&gt;Casper&lt;/p&gt;
 </description>
     <pubDate>Sat, 21 Oct 2000 14:16:30 +0000</pubDate>
 <dc:creator>hotcut</dc:creator>
 <guid isPermaLink="false">comment 1073133 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/its-me-again-maneging-datebase#comment-1073130</link>
    <description> &lt;p&gt;hotcut,&lt;/p&gt;
&lt;p&gt;The thing I don&#039;t like about your code is that you&#039;re making two calls to the database just to update the poll. Your first call is to get the previous value so you can add 1 to it, then your second call is to save that new value to the poll, why not just do it in one step?&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;spq &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Request&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Form&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;spqnummer&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;AccessDataBase &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;PROVIDER=MSDASQL;DRIVER={Microsoft Access Driver (*.mdb)};DBQ=c:\asp\poll.mdb;UID=admin;PWD=;&quot;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Set dbConnection &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Server&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;CreateObject&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;ADODB.Connection&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;dbConnection&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Open AccessDataBase &lt;br /&gt;Set rsRecordSet &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Server&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;CreateObject&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;ADODB.RecordSet&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;With rsRecordSet&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;ActiveConnection &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;dbConnection&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;CursorType &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;3 &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;adOpenKeyset&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .LockType = 2 &#039;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;adLockOptimistic&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Source &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;Poll1&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Filter &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;WHERE id = 1&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Open&lt;br /&gt;End With&lt;br /&gt;&lt;br /&gt;Select &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;Case &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;spq&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;Case &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;spq1&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;rsRecordSet&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Fields&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;spq1&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) = &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;rsRecordSet&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Fields&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;spq1&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) + &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;Case &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;spq2&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;rsRecordSet&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Fields&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;spq2&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) = &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;rsRecordSet&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Fields&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;spq2&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) + &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;Case &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;spq3&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;rsRecordSet&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Fields&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;spq3&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) = &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;rsRecordSet&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Fields&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;spq3&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) + &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;Case Else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;error handling goes here&lt;br /&gt;End Select&lt;br /&gt;&lt;br /&gt;With rsRecordSet&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .Update&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .MoveFirst&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .Close&lt;br /&gt;End With&lt;br /&gt;&lt;br /&gt;Set rsRecordSet = nothing&lt;br /&gt;dbConnection.Close&lt;br /&gt;Set dbConnection = nothing&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;That code makes more sense to me since it only makes a single call to the database.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;
Peter J. Boettcher&lt;/p&gt;
 </description>
     <pubDate>Sat, 21 Oct 2000 13:37:11 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1073130 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/its-me-again-maneging-datebase#comment-1073122</link>
    <description> &lt;p&gt;Hi there&lt;/p&gt;
&lt;p&gt;I keep trying, and trying... but with no result!&lt;/p&gt;
&lt;p&gt;The only thing, that I am sure that works, is the form; I get the ansver right, with the info I need!&lt;/p&gt;
&lt;p&gt;I will [again]post some of my code [/again] so that you might see the error...&lt;/p&gt;
&lt;p&gt;I will allso this time, try to explain all the variales, there functions and so on!&lt;/p&gt;
&lt;p&gt;Here it goes:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;dim AccessDataBase&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;strSQL&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;dbconnection&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;rsRecordSet&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;strong&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Here I define the first set of variables&amp;lt;/strong&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AccessDataBase = &quot;PROVIDER=MSDASQL;DRIVER={Microsoft Access Driver (*.mdb)};DBQ=c:\asp\poll.mdb;UID=admin;PWD=;&quot; &lt;br /&gt;&amp;lt;strong&amp;gt;&#039;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;modifying the variable &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;accessdatabse&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;to further &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;use&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;strong&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;strSQL &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;SELECT * FROM poll1&quot;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;strong&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;choosing what table I want to use&amp;lt;/strong&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Set dbConnection = Server.CreateObject(&quot;ADODB.Connection&quot;)&lt;br /&gt;Set rsRecordSet = Server.CreateObject(&quot;ADODB.RecordSet&quot;)&lt;br /&gt;&amp;lt;strong&amp;gt;&#039;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Creating some standard connections&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;strong&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;dbConnection&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Open AccessDataBase &lt;br /&gt;rsRecordSet&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Open strSQL&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;dbConnection&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;3 &lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;strong&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;opening some connections&amp;lt;/strong&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;dim spq, count, formervalue&lt;br /&gt;&amp;lt;strong&amp;gt;&#039;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;defining a few more variables to further &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;use&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;strong&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;spq &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Request&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Form&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;spqnummer&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)&lt;br /&gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;strong&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;getting the value of &quot;spqnummer&quot; The values will be: spq1 or spq2 or spq3&amp;lt;/strong&amp;gt;&lt;br /&gt;&lt;br /&gt;count = rsRecordSet(spq) + 1&lt;br /&gt;&amp;lt;strong&amp;gt;&#039;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;adding 1 to the former count&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, for &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;the set line called &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;spqx&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;where x is the value from the lines above&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;strong&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;strSQL &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;UPDATE poll1 SET &quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;amp; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;strong&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;spq&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;strong&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt; &amp;amp; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;=&#039;&quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;amp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Count &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&#039; WHERE row=&#039;1&#039;&quot; &lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
&lt;strong&gt;&#039;Here I am updating the table, where the first bold part is the value of the variable called &quot;spq&quot;.&lt;br /&gt;
The cell is updated to the value of the variable called &quot;count&quot;&lt;br /&gt;
The row is something I actually doesnt undertsand how works, but it shoul tell the script, what row it is, according to the field called &quot;id&quot; which the numer 1&lt;br /&gt;
&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;That was the code here.&lt;/p&gt;
&lt;p&gt;I just hope that you see the ansver... I am feeling a bit lost here; Why doesnt the script work ? &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/at-wits-end.png&quot; title=&quot;Mad&quot; alt=&quot;Mad&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;[hopefull]HELP?![hopefull]&lt;/p&gt;
&lt;p&gt;Casper&lt;/p&gt;
 </description>
     <pubDate>Sat, 21 Oct 2000 08:08:56 +0000</pubDate>
 <dc:creator>hotcut</dc:creator>
 <guid isPermaLink="false">comment 1073122 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/its-me-again-maneging-datebase#comment-1073105</link>
    <description> &lt;p&gt;hotcut-&lt;/p&gt;
&lt;p&gt;you keep missing this part&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;dim spq, count, formervalue&lt;br /&gt;spq = Request.Form(&amp;quot;spq&amp;quot;)&lt;br /&gt;formervalue = rsRecordSet(spq)&lt;br /&gt;count = formervalue + 1&lt;br /&gt;&lt;br /&gt;strSQL = &amp;quot;UPDATE poll1 SET &amp;quot; &amp;amp; spq &amp;amp; &amp;quot;=&amp;#039;&amp;quot; &amp;amp; Count &amp;amp;&amp;quot;&amp;#039; WHERE row=&amp;#039;1&amp;#039;&amp;quot; &lt;br /&gt;&amp;lt;strong&amp;gt;rsRecordSet.Open strSQL, rsConnection, 2, 3 &amp;lt;/strong&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
 </description>
     <pubDate>Fri, 20 Oct 2000 20:57:11 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1073105 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/its-me-again-maneging-datebase#comment-1073099</link>
    <description> &lt;p&gt;Hmmm... You didnt understand it...&lt;/p&gt;
&lt;p&gt;I suppose that whats confusing you is this:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;br /&gt;
	sti = &quot;c:\asp&quot;&lt;br /&gt;
	Streng1 = &quot;PROVIDER=MSDASQL;DRIVER={Microsoft Access Driver (*.mdb)};DBQ=&quot;&lt;br /&gt;
	Streng2 = &quot;\poll.mdb;UID=admin;PWD=;&quot;&lt;br /&gt;
	AccessDataBase = Streng1 &amp;amp; sti &amp;amp; Streng2&lt;br /&gt;
&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;It is actually the same as saying:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;br /&gt;
AccessDataBase = &quot;PROVIDER=MSDASQL;DRIVER={Microsoft Access Driver (*.mdb)};DBQ=c:\asp\poll.mdb;UID=admin;PWD=;&quot;&lt;br /&gt;
&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Maybe I will have to explain this too:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;br /&gt;
&#039;1:&lt;br /&gt;
dim spq, count, formervalue&lt;br /&gt;
&#039;2:&lt;br /&gt;
spq = Request.Form(&quot;spq&quot;)&lt;br /&gt;
&#039;3:&lt;br /&gt;
formervalue = rsRecordSet(spq)&lt;br /&gt;
&#039;4:&lt;br /&gt;
count = formervalue + 1&lt;br /&gt;
&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;1: Here I define all the variables at once&lt;/p&gt;
&lt;p&gt;2:getting the value from the form, wich will be: spq1, spq2 or spq3 This will later on be used, to define where in the databse I want to change something&lt;/p&gt;
&lt;p&gt;3: Getting the old value, from the sell,´mathing the same name, as the asver was.&lt;/p&gt;
&lt;p&gt;4: Adding &quot;1&quot; to the value, of the results.&lt;/p&gt;
&lt;p&gt;That should ansver that. Do you get the idea, of THAT now? Else, I will try to explain that a bit better.&lt;/p&gt;
&lt;p&gt;The code, you gave me, was filled with errors, but the idea was the same, as in my script.&lt;/p&gt;
&lt;p&gt;You were asking of what cells I had in my database.&lt;/p&gt;
&lt;p&gt;I have told that before in this thread, but I wont mind doing it again &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;I have the database called &quot;poll.mdb&quot; inside that database, I have 1 table, called &quot;poll1&quot; inside that table, I have the following:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +-----------------------+&lt;br /&gt;Field name:&amp;nbsp; |id | spq1 | spq2 | spq3|&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |-----------------------|&lt;br /&gt;Field value: |1&amp;nbsp; | 3&amp;nbsp;&amp;nbsp;&amp;nbsp; | 1&amp;nbsp;&amp;nbsp;&amp;nbsp; | 2&amp;nbsp;&amp;nbsp; |&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +-----------------------+&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;Thats it!&lt;/p&gt;
&lt;p&gt;I dont think that you need more info... If you do, just ask me, and if you want, I can send you the intire script, including database, and all so that you can see you self.&lt;/p&gt;
&lt;p&gt;I hope that someone in here can help me out...&lt;/p&gt;
&lt;p&gt;Casper&lt;/p&gt;
 </description>
     <pubDate>Fri, 20 Oct 2000 16:52:13 +0000</pubDate>
 <dc:creator>hotcut</dc:creator>
 <guid isPermaLink="false">comment 1073099 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/its-me-again-maneging-datebase#comment-1073094</link>
    <description> &lt;p&gt;Hmmm, your code seems a little strange, I would write it out the following way:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt; Dim rsConnection&lt;br /&gt;&amp;nbsp;&amp;nbsp; Dim rsRecordSet&lt;br /&gt;&amp;nbsp;&amp;nbsp; Dim spq&lt;br /&gt;&amp;nbsp;&amp;nbsp; Dim count&lt;br /&gt;&amp;nbsp;&amp;nbsp; Dim formervalue&lt;br /&gt;&amp;nbsp;&amp;nbsp; Dim strSQL&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; spq &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Request&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Form&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;spq&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Set rsConnection &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Server&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;CreateObject&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;ADODB.Connection&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Set rsRecordSet &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Server&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;CreateObject&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;ADODB.Recordset&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;rsConnection &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;PROVIDER=MSDASQL;DRIVER={Microsoft Access Driver (*.mdb)};DBQ=c:\asp\poll.mdb;UID=admin;PWD=;&quot;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;strSQL &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;UPDATE poll1 SET spq = spq + 1 WHERE row=&#039;1&#039;&quot;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;rsRecordSet&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Open strSQL&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;rsConnection&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;3&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; rsRecordSet&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Close &lt;br /&gt;&amp;nbsp;&amp;nbsp; Set rsRecordSet &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;nothing &lt;br /&gt;&amp;nbsp;&amp;nbsp; rsConnection&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Close &lt;br /&gt;&amp;nbsp;&amp;nbsp; Set rsConnection &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;nothing &lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;It would help if we knew what your fields were called, do you have a field called row?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;
Peter J. Boettcher&lt;/p&gt;
 </description>
     <pubDate>Fri, 20 Oct 2000 14:56:02 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1073094 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>WHY???</title>
    <link>https://www.webmaster-forums.net/serverside-scripting/its-me-again-maneging-datebase#comment-1073093</link>
    <description> &lt;p&gt;Thanks for your repley(s) again.&lt;/p&gt;
&lt;p&gt;Eealyer in this thread, I have written all my code out to you, where it allso said, that I actually executed those strings!&lt;/p&gt;
&lt;p&gt;Now I hope, that there are 2 people able to help me now, so I will write you the code, that I think is the importgant part.&lt;/p&gt;
&lt;p&gt;I am getting all the info. right from the form, so I won&#039;t bother you with thaty. The writing out the result, works, so you wont need that either...&lt;/p&gt;
&lt;p&gt;Whats left is now the code, that opens the databse, gets the info, and saves the date. Here it is:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;%&lt;br /&gt;dim streng1, streng2, sti, AccessDataBase, strSQL, rsconnection, rsRecordSet&lt;br /&gt;&lt;br /&gt;	sti = &amp;quot;c:\asp&amp;quot;&lt;br /&gt;	Streng1 = &amp;quot;PROVIDER=MSDASQL;DRIVER={Microsoft Access Driver (*.mdb)};DBQ=&amp;quot;&lt;br /&gt;	Streng2 = &amp;quot;\poll.mdb;UID=admin;PWD=;&amp;quot;&lt;br /&gt;	AccessDataBase = Streng1 &amp;amp; sti &amp;amp; Streng2&lt;br /&gt;&lt;br /&gt;	strSQL = &amp;quot;SELECT * FROM poll1&amp;quot;&lt;br /&gt;Set rsConnection = Server.CreateObject(&amp;quot;ADODB.Connection&amp;quot;)&lt;br /&gt;Set rsRecordSet = Server.CreateObject(&amp;quot;ADODB.RecordSet&amp;quot;)&lt;br /&gt;rsConnection.Open AccessDataBase&lt;br /&gt;rsRecordSet.Open strSQL, rsConnection, 2, 3&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;dim spq, count, formervalue&lt;br /&gt;spq = Request.Form(&amp;quot;spq&amp;quot;)&lt;br /&gt;formervalue = rsRecordSet(spq)&lt;br /&gt;count = formervalue + 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;strSQL = &amp;quot;UPDATE poll1 SET &amp;quot; &amp;amp; spq &amp;amp; &amp;quot;=&amp;#039;&amp;quot; &amp;amp; Count &amp;amp;&amp;quot;&amp;#039; WHERE row=&amp;#039;1&amp;#039;&amp;quot; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;#039;then I have deleted the part, writnig out the contents&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;rsRecordSet.Close &lt;br /&gt;Set rsRecordSet = nothing &lt;br /&gt;rsConnection.Close &lt;br /&gt;Set rsConnection = nothing &lt;br /&gt;&lt;br /&gt;%&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;Thats it!&lt;/p&gt;
&lt;p&gt;Does any of you, know what I am doing wrong? If you want, I can maíl you my files, and you cancheck it out on your own machine...&lt;/p&gt;
&lt;p&gt;A lost&lt;br /&gt;
Casper&lt;/p&gt;
&lt;p&gt;[Edited by hotcut on 10-20-2000 at 10:11 AM]&lt;/p&gt;
 </description>
     <pubDate>Fri, 20 Oct 2000 14:06:58 +0000</pubDate>
 <dc:creator>hotcut</dc:creator>
 <guid isPermaLink="false">comment 1073093 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Always close your connections....</title>
    <link>https://www.webmaster-forums.net/serverside-scripting/its-me-again-maneging-datebase#comment-1073090</link>
    <description> &lt;p&gt;Max,&lt;/p&gt;
&lt;p&gt;While the connection and recordset will eventually timeout they will not be erased when the script has finished executing. Until the database server receives a close response from the client it will assume you are still using the recordset. This could be deadly with a busy site. So for this example you would:&lt;/p&gt;
&lt;p&gt;rsRecordSet.Close&lt;br /&gt;
Set rsRecordSet = nothing&lt;br /&gt;
rsConnection.Close&lt;br /&gt;
Set rsConnection = nothing&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;
Peter J. Boettcher&lt;/p&gt;
 </description>
     <pubDate>Fri, 20 Oct 2000 12:44:08 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1073090 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/its-me-again-maneging-datebase#comment-1073074</link>
    <description> &lt;p&gt;Here are the last two line of your first query:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;dbConnection.Open AccessDataBase&lt;br /&gt;rsRecordSet.Open strSQL, dbConnection, 2, 3&lt;/code&gt;&lt;/div&gt;&#039;&lt;br /&gt;
The first line opens the connection to the DB.&lt;br /&gt;
The second line executes the query.&lt;/p&gt;
&lt;p&gt;because you don&#039;t close the connection later, we can use it again.  So all you have to do is copy the last line to the end of your second query.&lt;/p&gt;
&lt;p&gt;Ideally, you would say:&lt;br /&gt;
set rsConnection = Nothing&lt;br /&gt;
set rsRecordSet = Nothing&lt;br /&gt;
This just cleans things up.  But this isn&#039;t neccessary, because they&#039;ll be erased when the script is done executing.  If you don&#039;t understand this last paragraph, ignore it, you don&#039;t need it.&lt;/p&gt;
 </description>
     <pubDate>Fri, 20 Oct 2000 01:13:52 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1073074 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
