Hello Everyone:
I've tried a bunch of distros on my ThinkPad i1465, but all of my installation attempts have failed. Debian came back with a weird error message and Fedora and Ubuntu both hang. Could it be that my hard drive has a partition on it (left over from XP), that I couldn't get rid...
Well, it's really weird! I took your code, put it in a new page, then added my code in, line-by-line and it runs O.K. now!!!! I added all of my code back in, so I don't know what was causing the the failure??? Really strange....
Hi Kaht,
You are correct. Your code works correctly. It's something in my code that's causing the JavaScript to fail.
It's not the code snippet above, so I'm ripping my code down, piece by piece, to figure out what's causing the problem.
Thanks.
Hi Kaht,
I didn't just "plunk" it into my program. I changed the references, but I'm still getting the error message. Could the problem be that I'm generating multiple checkboxes from my database:
<tr>
<%do while not tl_org.EOF%>
<td><input type="checkbox" name="TL_ORG"...
Could it not be working because I'm using multiple checkboxes (under the same checkbox name) that are being populated from a database?
<table>
<tr>
<% do while not tl_org.EOF %>
<td><input type="checkbox" name="TL_ORG" value="<% = tl_org("ORGANIZATION") %>"...
Hello All:
I want to make a Submit Button disappear when a check box is checked on a form. Does anyone know how to do this or can anyone point me to a similar example that I could adapt to my usage?
Thanks!
Hello All:
I want to make a Submit Button appear when a check box is checked on a form. Does anyone know how to do this or can anyone point me to a similar example that I could adapt to my usage?
Thanks!
It's working now. I'm using the hidden input field and a plain request on the following page:
updateStmt = conn.ExecuteSQL("UPDATE REQ_REQUIREMENTS SET ASSIGNED_POC = '"&request("assigned_poc")&"' WHERE pkey = "&request("pkey_value"))
Thanks!
Well, this is taking the "pkey" value passed from a prior page and pulling up the name of the current page:
set RequestName = conn.CreateDynaSet(_
"Select REQUEST_NAME from REQ_REQUIREMENTS where pkey= '"&Request.QueryString("pkey")&"'", Cint(0))
Then, I'm trying to pass the same "pkey"...
I have to use the integer one:
updateStmt = conn.ExecuteSQL("UPDATE REQ_REQUIREMENTS SET ASSIGNED_POC = '"&request("assigned_poc")&"' WHERE pkey = "&request("pkey"))
because I'm using an auto-increment trigger.
What is the syntax for the response.write on my sql query?
Thanks.
Hi Creto,
I'm requesting my variable from a form.
What I'm trying to figure out is how to pass "pkey" as an integer (I think it's passing through a character). Or, maybe it's just easier to change my data field to a VARCHAR2.
Hello All:
I can't seem to get the syntax correct on an UPDATE statement. The "pkey" value is an integer and the statement runs o.k. with an integer value, but not with my "request" statement nested in it.
updateStmt = conn.ExecuteSQL("UPDATE REQ_REQUIREMENTS SET ASSIGNED_POC =...
I finally figured it out. It was just a syntax error. And your conn.ExecuteSQL does work (but no "set" statement is needed nor is the "Cint(0)").
Thanks again, DNG!
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.