Hi all, I am trying to compare output from DB The code below works on 1 check, but I require to do this on multiple products like so `if rowProduct("GRPCODE") <> "Cross Hire" or rowProduct("GRPCODE") <> "Boiler Ancillaries" then` etc but the above line does not work as I have coded it? What is the problem with the code. Thanks in advance if rowProduct("GRPCODE") <> "Cross Hire" then ' Elimination unwanted code if not rowStock.eof then ' stock found do while not rowStock.eof ' loop through stocl if instr(RemoveItems, "," & rowStock("ITEMNO") & ",") = 0 then ' item not …

Member Avatar
Member Avatar
+0 forum 1

The following code is producing this error `Microsoft VBScript compilation error 800a03f6 Expected End ` followed by `/stock/availability-quick/availability2.asp, line 130` I think it is a if else error. I have looked over the code and i don't see the error and would benefit from an expert pair of eyes to look over it. Thanks in advance David <%@LANGUAGE="VBSCRIPT"%> <!--#include file="../../includes/functions/insphire.asp"--> <!--#include file="../../includes/functions/logaccess.asp"--> <!--#include file="../../includes/functions/stock.asp"--> <% if request("Allow") = "f875eba08594178509bd3482dc0294" then ' security check passed %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Administration - Stock - Status</title> </head> <body> …

Member Avatar
+0 forum 0

Hi there!! I would like to know if is possible to have routing in a website made with classic asp... In stead of showing this web address : www.website.com/mypage.asp?id=1 i would love to show this one (like MVC): www.website.com/mypage/1 Is it possbile? Thanks to all

Member Avatar
Member Avatar
+0 forum 5

I've written a small asp function that query's my database and returns data. I've tested the function and it does return the data correctly. I'm trying to figure out how I can then take that data and store it into my javascript array. I have this below but I can't figure out how to get the data there. <script type="text/javascript"> $(function(){ var availableTags = []; $("input[name='name_search']").change(function() { if($(this).val == "First Name") { availableTags.push = <%= GetEmpFName() %> } else { availableTags.push = <%= GetEmpLName() %> } }); }); </script>

Member Avatar
Member Avatar
+0 forum 4

Hi all, I have to update some classic ASP code and I need to add an if statment to compare if a uppercase value is == "N/A" and to compare value with request("productLink") line 8 and if it is it should by pass validation on line 16. Any further information required please let me know Thanks in advance David <%@LANGUAGE="VBSCRIPT"%> <!--#include file="../../includes/functions/insphire.asp"--> <!--#include file="../../includes/functions/stock.asp"--> <!--#include file="../../includes/functions/logaccess.asp"--> <% if request("Allow") = "f875eba085941cc78509bd3482dc0294" then ' security check passed categorycodeSQL = "SELECT StockExpectedCategoryCode FROM StockExpectedCategories WHERE StockExpectedCategoryProductID = '" & replace(request("ProductLink"), "heaters", "heater") & "'" set rowCategoryCode = returnrecordsetstock(categorycodeSQL) if not rowCategoryCode.eof then …

Member Avatar
Member Avatar
+0 forum 3

Who else believes that they should continue to make dbz episodes GOD i miss them and i've seem them all wish theyd keep making them though for real!

Member Avatar
Member Avatar
+0 forum 7

I have created a page which is supposed to pull some information from a mysql database and display them. Another page is supposed to save the data to the database. The problem is, that I am not even able to get the data in Persian or Arabic displayed correctly, instead I receive ? for each character. I have the following codes in my asp: @CODEPAGE=65001 LANGUAGE = "VBScript" Response.CodePage = 65001 Response.Charset = "UTF-8" Response.ContentType = "text/html" Response.AddHeader "Content-Type", "text/html;charset=UTF-8" The html output file has the proper meta tag also, at least I believe. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> The …

Member Avatar
Member Avatar
+0 forum 1

My vb6 to vb.net converted application performs about twice as slow as the classic ASP version. Here is the setup: I have an old ASP application that uses for most of its function calls a vb6 dll of 30000 + lines of code. I managed to convert the dll into a vb.net dll, built in caching for dataset retrieval, got rid of all interop calls (no more ODBC, but using datasets). The application is a Content Management system, an oldie, but very complete Still, the application, running the same web site on the same server, is twice as slow (6 …

Member Avatar
Member Avatar
+0 forum 5

i'm new to this kind of community.. so i don't know what to do.. i've been trying for months now. i'm having the same problem.. sometimes.. my taskbar changes to classic then you cannot connect to the internet and the sound is disabled. if i restart it.. it goes back to normal.. but eventually my taskbar will change to classic again.. i followed what is said in user punitmanik's thread ([url]http://www.daniweb.com/hardware-and-software/microsoft-windows/viruses-spyware-and-other-nasties/threads/363540[/url]) up to the combofix.. when i ran the combofix... it said that "rootkit activity was detected and reboot is needed" please if you can find time to help, i'd …

Member Avatar
Member Avatar
+0 forum 22

hello Friends i m having problem My Query that on a classic ASP page i have a form. In that form one drop down list is there. If i select any value from this list menu Then this selected value should check with database and pass value to the textbox on a same page.

Member Avatar
Member Avatar
+0 forum 1

The End.