If im not mistaken, you are setting your variable to zero, which does not equal a null value it equals zero. If you want to set something to nothing I use the variable = String.Empty and have had no problems. You may also want to look into vbNullString. Hope this helps you.
SuperCyber
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...
All I want to do is take a web page that has a frame set in it and pull all of the html code from the entire page (including the code that is showing to the user from the frameset) into a variable. Hope I am explaining this correctly.
Thanks,
Brian
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...
Thank you for your response. Sorry, I should of said that I need the HTML code, tags included, at the submitting of the page. So at the end of the site when the user clicks on the submit button, I want to put all of the body html code into a variable so I can reference it on the page it will be...
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
This is the ELSEIF Statement I am using to call the Function.
Thanks again,
Brian
<%If ((Address1 = Address2) AND (Apt1 = Apt2)) Then%>
<%call custInfo1(Address1,Apt1)%>
<%ElseIF ((Address1 = Address2) AND (Apt1 <> Apt2)) Then%>
<%call custInfo2(Address1,Address2,Apt1,Apt2)%>...
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 =...
Yes, thank you, I would like any examples you can give, but how do I get the value passed into the <% ASP %> code from javascirpt or vbscript to use in a database call? I need to get the value of a drop down box into a variable so I can use it as an input variable in a SQL SP. But I would like...
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...
sorry after looking at my post i felt i needed to be a little more specific, I am using a javascript onClick command to issue the new request each time the value changes. Then I am running asp code inside the javascript code to pull the value of the selected dropdown item and then pass it to my...
I am using a javascript onClick command to issue the new request each time the value changes. Then I am running asp code inside the javascript code to pull the value of the selected dropdown item and then pass it to my SQL SP. Then once I get the return values I pass them back to the javascript...
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
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.