I will do this on the input form, leaving the insert page to deal only with the insertion.
I will do something like this (just the basic code):
Put an onchange on the select box:
<select name="fullName" onchange="ChangeSelect(this)">
<script...
I have heard that Apache server can also support asp. I do not know however how true this is, seeing that I have not investigating this.
Office notice: The beatings won't stop until morale improves
I am not sure what you mean, but I would do something loke this:
<%
if lcase(trim(strName)) = "index.html" then
show the file info here
end if
%>
try to include the index file at the end to show it (haven't tried it, but it should work)
right at the end of your asp page...
Another way to do this will be:
on Error Resume Next
err.clear()
--put code here, if something goes wrong (even during the DB part an error number will be generated )
--
if err.number <> "0" then
--put error handling here
end if
Personally I don't like to use "on Error...
vbkris is right, it is not possible.
Just maybe a little more explanation for volcano to clarify the matter more:
Always remember that the javascript runs at the client (person viewing the webpage) and the asp/DB query code at the server. By the time the page loads at the client all the asp/DB...
I am totaly going to take a stab in the dark at this one. I have seen that asp sometimes get confused as to whatit has to do, so maybe it is trying to add values mathematically
(asp's errormessages are not always that accurate)
try replacing the + with &
Before:
newURL = newURL &...
Take a look at the following thread that was posted by celaka:
Title: Need Help ( How to call Dos program using ASP)
posted on: 03/11/03
It should explain everything (it is about 8 threads down from this one )
Use ASP to send out the e-mail and not the user's e-mail program. That way you can give the user a text area where he can edit etc. the message and then click a send/submit (or whatever) button that will mail the info and update the DB
There are a couple of ways to do this.
1.
You can use Session_OnStart and Session_OnEnd in the Global.asa file:
Session_OnStart will be executed when the user first arrives at the site
Session_OnEnd will be executed when the user leaves the site
In the global.asa file add the following...
Try writing a vbs file that gets kicked of by a batch file that is executed when the message is posted . Have used it in the past and it works just fine.
I would like to get other peoples view on the next statement. Good or bad, I think that a lot of people can benefit from this.<br>
I could not help but notice how many people uses session variables on this thread. Also a lot of replies inform people to use session variables. My opinion about...
Try "forcing" iNumRec to be an integer
iNumRec = cint(iNumRec) + 1
I know this looks trivial, seeing that you have already stated that iNumRec = 0, but I have seen stranger things happen and sometimes ASP get a bit confused when working with mathematical processes.
How can I launch a vbs file shell from ASP? My situation is this:
I am writing a mass e-mail program to mail out product catelogues to clients who requested them. This list can become quite long, so I want to kick off a vbs file that runs in the background and takes care of all the mails, thus...
This might seem like an odd question, but maybe my explanation will clear it up.
Is there any way of checking if an Object is available to use?
The scenario is this:
I want to use a class ie. set myVal = new MyClass
I want to know if the class "MyClass" is included in this ASP page...
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.