Hi,
I have an asp page which needs to open an existing file for reading. But I always get an error saying the file does not exist.
Here's my code:
<%
dim oFS
set oFS = Server.CreateObject ("Scripting.FileSystemObject")
dim text
set text = oFS.OpenTextFile...
thanks for your reply!
i did exactly the same thing as you showed them, but i am now getting an error saying that
"ADODB.Recordset (0x800A0BCD)
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record."
and i found out that my...
hi,
thanks for all the quick responses!!
i tried out the code in the article about paging recordsets, but I got the following error
"ADODB.Recordset (0x800A0E7D)
Operation is not allowed on an object referencing a closed or invalid connection."
when I clicked on previous/next link...
i have an .asp page which executes a SQL query. Everything is working fine with the sql and the returned recordset. Now, I am trying to display the recordset 1000 rows at a time. My goal is to display the first 1000 rows, then add some buttons (depending on how many records returned) so user can...
When I call CreateTextFile("temp.txt"), where does temp.txt reside by default? I don't seem to be able to find it anywhere? The funny thing is FileExists("temp.txt") returns true, but the link <a href="temp.txt"> is always not openable.
any suggestions?
Hi,
I am new at this vbscript. Please HELP!! Here's what I am trying to do:
I use vbscript to run some SQL code to access the database. I want to put the query result in a file (newly created just as the SQL code is run). I use CreateTextFile to create a file, I can read from and write to...
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.