I have this little inconvenience. In a program that I am modifying, 2 parameters are sent as a QueryString and they are retrieved.
dim WorkOrder : WorkOrder = request.querystring("workorder")
dim CustomerPO : CustomerPO = request.querystring("customerpo")
I want that when clicking a search button these variables disappear or leave them as empty string(""). I'm trying to use javascript to do this, to detect when that button is pressed:
response.write vbcrlf & "</script>"
response.write vbcrlf & "function recibir(){"
response.write vbcrlf & " var prueba =
document.getElementById('txtWorkOrder').value;"
response.write vbcrlf & "console.log(prueba);"
response.write vbcrlf & "}"
response.write vbcrlf & "</script>"
but I don't have much experience with classic ASP, can someone help me? Thank you
What I did was make a query with SUM in the DB and making that query with the String Query as parameters in the Where condition.
If the condition was met and a value greater than 0 was returned, data existed and those String Query were sent without problems, if the value was greater than 0 those variables were cleaned, leaving them as an empty string("")