Thanks George,
I just had to change the code as follows and it worked wonders. I really appreciate the prompt reply.
<%
Dim SOrder, SKey
SOrder=Trim(rs("SortOrder"))
Response.Write (Sorder)
SKey=Trim(Request.QueryString("current"))
Response.Write (SKey)
If SOrder = SKey Then
Response.Write...
Hi All,
I am having a tough time with something that I figured (once again erroneously) would be quite simple. I want to compare two variables, one in a querystring and one in the database. I have the following which, when the page displays, shows me the two variables side by side. The problem...
Hello,
I am sure this is simple for somoen but it is sure giving me a headache today. I want to do the following...
<%
GetState(s_State)
if s_State = "CO" or _
s_state "Colorado" then
Response.write ("CO")
End If
%>
My function is as follows...
function GetState(s_state)
sql = "select *...
Hello,
I am new to PHP and I am trying to do something that I could do in ASP with my eyes closed, but PHP is so much different. Here are the two things I thought would be simple...
1.) I want to display data from the database according to a start and end date. In ASP I would use the...
Hello,
This may sound very basic to most but it is something that I have not had to do before and I would like to start using this. Here is what I want to do. I have built a web site with many pages. It is user based and a user has to sign in to get access to the inner pages. The sign in works...
http://www.tek-tips.com/viewthread.cfm?qid=1038621
Hello Lee,
Thanks for your help. Here is what I have done and the results. First, I tried to use the code as you submitted it but that didn't work, I got an error saying that Server.Variable was not supported. I changed your code as follows...
Hello,
This may sound very basic to most but it is something that I have not had to do before and I would like to start using this. Here is what I want to do. I have built a web site with many pages. It is user based and a user has to sign in to get access to the inner pages. The sign in works...
Hello Sheco,
Thanks so much for the reply. I do want this to happen before the posting is submitted, when the visitor submits the form. I think I have a better understanding now, and by the looks of things I may not be able to do what I want to on the page I want to do it on. Here are the...
Ok, here is the deal... I may be asking the wrong questions but I really don't think so.
1.) The purchase.asp page is the form. What I want it to do is check the request.form("NumberPurchased") when Submit is pressed against Available and if NumberPurchased is larger than Available then it will...
Hello,
This form is very long, there are a lot of fields in it. I have taken the three fields out that are rlevant to what I am doing and hope this is enough. If not then please let me know and I will post the entire code here... the problem is it is over 1400 lines of code without wordwrap set...
Hello,
I guess I didn't make myself clear... I have hit a wall, I am looking for help on the Submit part. I don't know how to make this work when the submit button is pressed. I have spent literally hours searching and reading trying to find the script that would run but no luck. If you can just...
Hello,
This is an awesome site, I am hoping one of you wizards have the answer to my quandry. I have a form that has two fields I need to calculate and validate. What I want is something like this...
Background: Access 2000 Database
Form developed in ASP
Total of many fields but only two are at...
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.