Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. JustWondering

    Checkbox value

    snowboardr, I have tried your way yet but How do I get the strChecked or strUnChecked? <%Do While NOT RsData.EOF%> <tr> <td><input type=&quot;hidden&quot; <td>Status<input type=&quot;checkbox&quot; name=&quot;chkStatus&quot...
  2. JustWondering

    Checkbox value

    Thank you so much GacyC123. It really works this time.
  3. JustWondering

    Checkbox value

    Since you change the checkbox name to chkStatus<%=rs(&quot;ID&quot;)%> The For loop need to change to: For i=1 to Request(&quot;chkStatus<%=RsData(&quot;TaskID&quot;)%>&quot;).count but it gave me syntax error
  4. JustWondering

    Checkbox value

    Actually, I use this to update: for i=1 to request(&quot;chkStatus&quot;).count SQL=&quot;Update Table Set Status = &quot; & CInt(Request(&quot;chkStatus&quot;)(i)) & &quot; Where ID = &quot; & CInt(Request(&quot;txtID&quot;)(i)) cn.execute mysql
  5. JustWondering

    Checkbox value

    Select * from Table where Status = 0 Items to be displayed: ID Status 55 0 68 0 77 0 The IDs are displayed in as lable, Status as checkboxes. User can update the table by checking the box.
  6. JustWondering

    Checkbox value

    Yes, the value of status is o 0r 1 in the table. However, my SQL statement only those that have Status = 0 to display. SQL=&quot;Select from Table where Status=0&quot; Let say it returns 10 records. Now user check 5 of them. The Update statement should update the right 5 records. Right now, it...
  7. JustWondering

    Checkbox value

    The values of all the checkboxes when the form is load are zeros. If the a box is check, how can I change its value to zero? <%Do While NOT RsData.EOF%> <tr><td>Status<input type=&quot;checkbox&quot; name=&quot;chkStatus&quot; value=0> <%RsData.MoveNext Loop%>
  8. JustWondering

    Checkbox value

    I think the value of the checkbox was lost. When I check the box and try to catch its value, it return False or 0.
  9. JustWondering

    Checkbox value

    Thanks for all the inputs. Each job and status are fileds in a record. ID Job# Status Date All the records are displayed in 1 form with same submit button. CInt(Request(&quot;chkStatus&quot; & i)) : This won't work either.
  10. JustWondering

    Checkbox value

    I also tried this: for i=1 to request(&quot;chkStatus&quot;).count SQL=&quot;Update Table Set Status = &quot; & CInt(Request(&quot;chkStatus&quot;)(i)) & &quot; Where ID = &quot; & CInt(Request(&quot;txtID&quot;)(i)) cn.execute mysql ...not working...Anyone know why???
  11. JustWondering

    Checkbox value

    Thank you kifaro. Your code works great!
  12. JustWondering

    Checkbox value

    Let me explain what I'm trying to achieve. First I select and display those records which have the Status=0. Job5 Status=0 Job7 Status=0 Job11 Status=0 Then I update them, depends on their values if users checked them or not. Each records has a ID. And I'm trying to update each records based...
  13. JustWondering

    Checkbox value

    Thank you for your response. Yes, they are all in a form. The form is in a table. And I have submit button to do the update. The method=post action=samepage.
  14. JustWondering

    Checkbox value

    Hi, I have an SQL update based on the value of the checkboxes: SQL=&quot;Update Table Set Status = &quot; & CInt(Request(&quot;chkStatus&quot;)) & &quot; Where ID = &quot; & IntID But I couldn't get the value of the checkboxes. I always update with checkbox's value = 0. Here is my...
  15. JustWondering

    focus()

    So the answer is NO. Thank you.
  16. JustWondering

    focus()

    Hi: What is the eqhivalent ASP code in server site for this statement: Document.Form.txtName.focus() ? Thanks
  17. JustWondering

    Single quote in insert statement

    Hi, When I tried to insert a value with a postrophe, it became &quot;&quot; in my table. name= Kelly's Pan strSQL=&quot;INSERT INTO mytable &quot; & _ &quot;VALUES ('&quot; & name & &quot;','&quot; & email & &quot;') &quot; How can I avoid this and still doesn't effect other values(without...
  18. JustWondering

    I have a secure web site all my pag

    ifeyinwa, my site has some http and some https. If I want change all the page to https, what do I need to take precaustion? I have lots of graphic, included files....
  19. JustWondering

    Encyption

    any one?
  20. JustWondering

    Encyption

    I'm still having problems with &quot;https&quot; I'm in &quot;http&quot; page, when I hit submit button, it depends on the conditions, I will be direct to different &quot;https&quot; page: If Cond1 then redirect https 1: Works great If Cond2 then redirect https 2: Works great If Cond3 then...

Part and Inventory Search

Back
Top