|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Query for each checkbox that is checked
<i><b>Originally posted by : Steve Gooch (SteveGo@Attachmate.com)</b></i><br />I have a form on page1.asp. it has several checkboxes. When submitted to page2.asp I want to loop through each of the "checked" checkboxes and use each checkbox.value for a query.<br />I was thinking of using the "For Each" command but I am not sure how to use it. <br /><br />Any suggestions on how to accomplish this is greatly appriciated.<br />-Steve <br />
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : steve</b></i><br /><br />http://www.aspfree.com/authors/adrian/MultipleCheckboxes.asp <br />check out this demo is has a routine you might be looking for<br /><br />steve<br /><br />------------<br />Steve Gooch at 3/28/2000 8:51:57 AM<br /><br />I have a form on page1.asp. it has several checkboxes. When submitted to page2.asp I want to loop through each of the "checked" checkboxes and use each checkbox.value for a query.<br />I was thinking of using the "For Each" command but I am not sure how to use it. <br /><br />Any suggestions on how to accomplish this is greatly appriciated.<br />-Steve <br />
|
|
#3
|
|||
|
|||
|
<i><b>Originally posted by : Steve Gooch (SteveGo@Attachmate.com)</b></i><br />Good suggestion Steve, But I am more interested in how to use the values of the checkboxes in a query on the second page. I want to use the value of each checked box in a query.<br />-Steve<br /><br /><br />------------<br />steve at 3/28/2000 8:54:54 AM<br /><br /><br />http://www.aspfree.com/authors/adrian/MultipleCheckboxes.asp <br />check out this demo is has a routine you might be looking for<br /><br />steve<br /><br />------------<br />Steve Gooch at 3/28/2000 8:51:57 AM<br /><br />I have a form on page1.asp. it has several checkboxes. When submitted to page2.asp I want to loop through each of the "checked" checkboxes and use each checkbox.value for a query.<br />I was thinking of using the "For Each" command but I am not sure how to use it. <br /><br />Any suggestions on how to accomplish this is greatly appriciated.<br />-Steve <br />
|
![]() |
| Viewing: ASP Free Forums > Programming > ASP Development > Query for each checkbox that is checked |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|