Hi folks
I can handle ASP, but I'm a bit of a novice at Javascript.
I have a working javascript slide show function. I want to pass a URL from a hidden form field into the script like so:
Pic[1] = '<%=request.form("picture2")%>'
This puts the URL of the picture into the script, but strips...
Hi folks
I'm new to jmail - I can get it to return the contents of fields from an access database - but not from a memo field. All it returns is a comma.
I've Googled for ideas, but got nowhere. Any ideas?
Thanks
Gerard
Hi folks
I have a simple form with a hidden value:
<form method="POST" enctype="multipart/form-data" action="edit_comment.asp" name=submitform>
input type=hidden name="email" value="wrg">
input type=SUBMIT name="submit" value="Edit the message">
But for some reason the value is not being...
BDC
Thanks - I hadn't noticed that I'd moved it - the script has been changed so many times trying to make it work.
Now it doesn't hang, but with a numeric value passed in the URL (blah.asp?ID=46)it won't delete the file.
response.write Request.QueryString("folder") &...
Hi
The following script works fine if the variable passed the the URL is text. If I make the variable a number (ID) then the script hangs with no error message. I've tried removing the & "'" but it makes no difference.
Can anyone help?
sql_fields = "SELECT * FROM categories...
Davejam
Tried that and it didn't work. It was the most obvious thing: I'd cut a pasted the code from the graphical query tool - which had introduced line breaks into the code.
My stupid fault.
Gerard
Hi
I have constructed the following SQL statement using the graphical query tool in Access (the query works fine).
sql_fields ="SELECT categories.category_name AS categories_category_name, Count(items.category_name) AS items_category_name
FROM items INNER JOIN categories ON...
Foxbox, you're a star.
The full script for anyone who wants to create a backup (in this case of a database)to a separate folder, date it and number each version sequentially is as follows:
<%
dim backedfile
Set fso = CreateObject("Scripting.FileSystemObject")
'change the following to...
I've adapted the function to write the correct version of the backup (if the response.write comes after the fso.copyfile it writes the current file plus one increment)
I can't work out what variable to put in the brackets after if fso.FileExists to make the script report "file backed...
Sorry - it's been a long day of progamming :)
Set fso = CreateObject("Scripting.FileSystemObject")
sDate = Date
sDate = Replace(sDate, "/", "")
sourceFile = "c:\upload\test.html"
destFile = "c:\upload\backup\backup_"& sDate &".html"...
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.