I have inherited a database application. The app has 70 procedures, which run quarterly. The client would like the 4 quarters run so that the output is sent to a separate database for each quarter. The procs are updated every quarter with client requests.
Currenlty I have 4 databases where...
I am trying to open a new window without the toolbar and put the focus on field1. I would like to close the old window as well. What is currently happening is the new window is opening and I guess the onload event keeps oepening new widnows...etc. How do I stop multiple onloads ?
abc.asp...
What is exactly the difference in use ?
I know err.number needs the On Error Resume Next statement at the top of the ASP page but does objConn.error also need this as well ?
I have code like this that checks for database errors:
IF objConn.Errors.count > 0 THEN
For Each...
I am comparing session variables to null. I am getting different results dependending on how I code the if statement below :
<%....
if isempty(session("x")) then ... ;this seems to work INcorrectly if x is null
if isempty(response.write(session("x"))) then ... ;this works...
Ok typos fixed.....
do not quite get what you mean but I changed my code as follows and it did not work :
<HTML>
<HEAD></head>
<body>
...
....
If objRS.EOF Then
objRS.Close
Set objRS = Nothing
Set objCommand = Nothing
DO I NEED TO CALL THE JAVASCRIPT...
do not quite get what you mean but I changed my code as follows and it did not work :
<HTML>
<HEAD></head>
<body>
...
....
If objRS.EOF Then
objRS.Close
Set objRS = Nothing
Set objCommand = Nothing
DO I NEED TO CALL THE JAVASCRIPT FUNCTION FROM HERE...
I am checking if a number exists in the database on the server side using ASP. If that number is not found I would like to send a messge to the screen via an alert (or document.write). then I would like the original screen back with the invalid field highlighted..I tried this but when the alert...
currently I have a form with 2 nested tables , table1 and table 2. table 2 is dynamicly created, I would like to add table 3 which is a menu of submit buttons :
=====================table1======2 x 8=====================
=======================================================...
How can I put a table next to another table when the table on the left is fixed at 1 column by 9 rows and the table on the right is 4 columns by n rows ?
thanks
hanton
Yes I think you can do that...but I would like to dot some think like this..
<form namd=form1 action="x.asp" <%if confirmation then 'set all input tags to readonly'%> <%end if%>>
I have a form with 96 fields. I need to find a way to create an SQL Update statement for all these fields without explicitly specify each field in my asp file.
Can this be done from the form collection ?
I know you can get the form element values like this :
For Each MyItem in Request.Form...
Yes that would work, however,
I am using a common name for all my buttons - NextAction - and then checking the values in the main driver.
Could I use a hidden value to set the name to submit1 ?
or could I qualify the button more uniquely by the form id ?
hanton
I have a main.asp driver program that checks what the NextAction is and based on this 'value' will call another program.
There are 4 pages each of which has a submit button with value='submit' (this is what the users want). So, I have 4 submit buttons and each has a value=submit. In the driver...
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.