What I need to do is create a page that reads and displays hundreds of records. I dont want a page that is too long to scroll so I am going to use a recordcount to display 50 (or whatever) at a time and page through the recordset.
Rather than continually looping through it with a movenext I...
Ok, I have set this up to open a recordset but it still returns -1 for a recordcount. I tried a number of syntaxes on this thing too. What do you think?
set rs = Server.CreateObject("ADODB.recordset")
rs.Open sTr,xConn,,2
cnt=rs.recordcount
I have a simple script that I have used more times than I can count to connect to a database. I now need a recordset that is dynamic instead of forward only. I have tried many different syntaxes to no avail. Does anyone have an idea of how to configure this code to be a dynamic set?
Set...
I have decided to blow up the header, it looks better (and less work). When I set the overflow:auto; to the right hand column it forces the image background to flicker when scrolling, both columns scroll.
Here is the code for the 2 columns:
#logs {width:23%;
float:left;}
#content {float...
That set a scrollbar at the bottom of the left column. But the whole page was still scrolling vertically. I would like the left side to remain fixed and have the rest scroll.
I still get the problems when they exist. The weirdest part is that it works fine with FF. This is the first problem I've encountered with js cross-browser issues.
Hi All,
I have a simple page that uses an anchor link to to call a function to take values from one field and drop it into another in the same form. Of course the code works in Firefox but not in IE6. IE bombs when it loads and wants to debug the calling line. Here is the function:
function...
I actually will be using this as a webserver. The problem is there is I can ping the ip from the internet but the server does not respond to any requests.
I just setup a 2003 server and was able to see it through the internet. I installed Black Ice Defender and it has done nothing but crash the system (25+ times already). It appears to be completely removed (no files, no service). I want to do a trial on Kaspersky (any opinions on this?) so I...
I just installed MySQL and the installed never completed because it could not start the service. So i had to cancel out and try to start it manually which of course did not work. Any ideas here? Its never been installed on this machine before!
Thanks in advance,
Jack :D
I know its non-conventional, but that does not mean it will not work. With this code I can already get the javascript to loop through the asp recordset and display the results in an alert box. All that needs to be done is clear the second box and populate it with the results. The problem is...
I have a select box that I am trying to clear and then repopulate. It is dynamic built on a recordset. I have tested the records and got alert boxes to popup with the correct data. I have searched the internet now for hours and cannot find anything that tells me how to repopulate the select...
I am trying to get the most basic of things accomplised: get a vbscript sub to give me a msgbox. I am trying to call the sub from a selectbox. I keep getting nothing and it is driving me nuts! The code is below.
<SCRIPT LANGUAGE="VBScript">
Sub ez_onchange
msgbox "hello"
End Sub
</script>...
I need to open a file that I have created in write through an asp webpage. I have tried response.redirect "file.txt" and all this does is open the data file in the browser. Is there a way to force it to open in wordpad?
thanks,
Jack :D
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.