After driving myself crazy I have come up with the code below to put a recordset into an array. It produces the required result but I know that there has got to be an easier way to do this. Any help is very appreciated.
Brian
Function FncEmpList()
Dim rs
Set cmdListEmp =...
Please help!! When I run the stored procedure in SQL I get the proper return values for "1", "2", and "3", but when I execute the ASP code I only get return values when they are equal to "1" and equal to "2". The return value for "3"...
Is there anyway to make this code run more efficient? I have added my APS calling code and the SQL stored procedure. Thanks for any help or input, it is very appreciated.
Brian
------------------ASP Code------------------
Dim cmdGetCust, varLogin, varPassword, strID, strFirstName...
Is there a way to find out the name of the web page that the user just came from? I have a little script I am writing and I need to make sure the user came from a certain page. Thanks in advance for any help.
Brian
I will do my best not to make this confusing, I hope.
I have an order page that passes values to another ASP page to reconstruct the values passed into html format for emailing. Before I create the email format I make calls out to SQL stored procedures which imports and exports data from my...
I will do my best not to make this confusing, I hope.
I have an order page that passes values to another ASP page to reconstruct the values passed into html format for emailing. Before I create the email format I make calls out to SQL stored procedures which imports and exports data from my...
Is there a way that I can retrieve all of the html code that is shown in a web page? I am using innerHTML to get the html code from one of my web pages and I can retrieve all of the html code except that which is in a frameset in the middle of the page. Any help is greatly appreciated.
Thank...
I need to figure out a way to take a page that varies in length each time and read the html code and place it into a variable so the page that i forward to can request the data. Any help is greatly appreciated.
Thanks,
Brian
What am I missing here? Im at a loss. Any help is appreciated.
Thanks,
Brian
Function custInfo2(Address1,Address2,Apt1,Apt2)
Dim Ap1, Ap2
If Apt1 <> "" Then
Ap1 = " Apt. " & Apt1
Else
Ap1 = ""
End If
If Apt2 <> "" Then
Ap2 =...
I have a client side vbscript that returns the value for the selected dropdown item. I want to pass the value to a function that will run a stored procedure and return the values to the web page, but I cant get the value to pass to the function properly. I tried putting the RUNAT=Server in the...
I am beating my haed against the wall ive tried everything i can think of and still i cant grab the value of this dropdown. Any help is greatly appreciated.
Brian
varID = document.form.PHY_1.options(document.form.PHY_1.options.selectedIndex).value
I am beating my haed against the wall ive tried everything i can think of and still i cant grab the value of this dropdown. Any help is greatly appreciated.
Brian
varID = document.form.PHY_1.options(document.form.PHY_1.options.selectedIndex).value
I cant seem to get this code to work. Input is just a login user name (@Login) and password (@Password). It returns the proper values for the user information but I cant get the OUTPUT variable (@RETVAL) to return the correct value. Any help would be greatly appreciated, Ive worked on this for a...
Sorry for this stupid question but I have looked everywhere and tried everything I can think of but for some reason I am drawing a blank. All I need to do is figure out how to line the "Country" field to match up with the rest of the form. I have two problems, first, I can’t make the...
My problem is that I get a -1 returned to my ASP page from my SP, but in the Query Analyzer it works properly. Basicly I am just returning the code and writing the response until I figure this out. Below I have listed the SP (Thanks to Terry Broadbent) and my ASP code. Any help is greatly...
I am trying to build a WHERE clause within a store procedure. Depending on the int value passed to @ID (the employee id number) it looks to see if the value of empAdmin is "YES" or "NO". The problem is that the @RETURN_VALUE is not returning anything for @Admin, but the SP...
I am trying to build a WHERE clause within a store procedure. Depending on the int value passed to @ID (the employee id number) it looks to see if the for varchar value of empAdmin is "YES" or "NO". The problem is that the @RETURN_VALUE is not returning anything, but the SP...
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.