Thank you so much for all of your help. :) I think I am getting much closer, but have run into a bit of a snag. I am using Response.redirect to go back to the other page, but am unable to figure out how to display a message box when the user gets redirected. Do I put it in the Redirect...
Hello. :)
1) The script works if I send an empty field (I get the message box that tells me that it needs a value)
2) I do not get the error icon on the left bottom of my browser
3) The value that is in the regNum variable is what the user searches for. It does not change if you change...
Hello. Thanks again for you response. :) Actually, I am not getting an error message, but it is not working how I want it to. Instead of not allowing them to update, it does allow them to. What is happening is that the page comes up with the text boxes filled in from the database based on...
Hello. Thank you so much for your response. :) I tried the code that you gave me, but it still did not work, unfortunately. Here is the code I put into my page:
var regNum = <%=(rsRegDetails.Fields("Regulator").Value) %>;
function checktheboxes() {
if...
Hello. :) I am creating some ASP pages to add, change and delete. In my change pages, I need to check to see if they have entered a value in a specific text box. Then, I need to check to see if they have changed the value that was already in the text box when it was loaded up. If it was...
I had already fixed my script to the correct javascript syntax. Here is the code that I am using:
<script language="JavaScript">
<!--
// Declaring valid date character, minimum year and maximum year
var dtCh= "/";
var minYear=1900;
var maxYear=2100;
function isInteger(s){...
Hello. :) Thank you so much for your response. I tried the code that you suggested but am unable to get it to work correctly. My page actually includes more than just the three date fields. It contains other text fields that are either numbers or characters. However, all I want to do is to...
Hello. :) I am creating some asp pages. On one of the pages, a modification page, I am trying to perform a date validation function. I know the function works, but I have been unsuccessful at getting it to work on multiple fields. For example, if one of the text boxes is empty, it says that...
Hello. :) I have been looking through this forum to find a possible solution to a problem I have been having with a delete query. I would like to be able to delete from two tables joined together by a field in one of the tables. I have tried several statements but none of them seem to work...
Hello. :) I am trying to create a view using fields in a table. I need to pad spaces with zeros after the field. For example, if the field is: 1234 and the length of the field must be ten digits long, I need it to appear like this: 1234000000. I am able to pad zeros before the field by...
Thank you so much for your response. :) Have you tried this at all with straight ASP instead of using Dreamweaver? If so, could you give me some suggestions or tips. :) Thank you so much again for your response.
Hello. I am trying to check if a record already exists before I insert it into a table in SQL using ASP. Here is the code that I added:
SQL = SQL + " IF EXISTS(SELECT 'True' From department WHERE DeptName = '" & inputDeptName & "')"
SQL = sQL + " BEGIN "
SQL =...
Hello. :) Thank you so much for your response. I did end up deciding to use straight ASP instead of Dreamweaver. It ended up being much easier. However, I am still unable to solve my problem. I create a Select statement like the one you show:
SQL = SQL + " SELECT DeptName From...
Hello. :) I am creating some pages in Dreamweaver UltraDev to allow users to be able to add, modify and delete records in a database. I would like the user to be able to add records to a database (such as name, location, etc.), but I need to check whether the name already exists in the...
Hello. :) I am creating some pages in Dreamweaver UltraDev to allow users to be able to add, modify and delete records in a database. I would like the user to be able to add records to a database (such as name, location, etc.), but I need to check whether the name already exists in the...
Hello. :) I am writing some ASP pages where I would like the user to be able to enter in a subject and description. Then, I would like to insert the subject and description into a SQL Server 2000 table. However, if the user enters an apostrophe or single quote in the subject or description...
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.