|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Linking from Query Results...
Sorry about the title... I'm not sure what to put there.
What I'm trying to do is run a search query and dynamically display the results (CamperID, and Name). Once displayed, I want to either select via a radio button or a link on the CamperID field to further query and display all related info for that camper. Here is a basic html table with what the results for a search will look like (more than 2 results will appear frequently). http://student.cob.ohiou.edu/pm2033...ain_camper.html Trying to work the logic out is confusing me. How can I hold the CamperID for each successive display? Do I need an array to count the radio buttons and CamperID so that I know which was selected? I'm not even sure I'm wording my question correctly. And for those wondering... yes this is a class project. A quarter long project that requires developing a system for a business. We are allowed to utilize outside resources. Thanks, Phil |
|
#2
|
|||
|
|||
|
Before anwering anything, i just want to make sure that I am going the right way about this.
You basically want to be able to select a camper and all the information on that selected camper to appear on another page by using a radio button? |
|
#3
|
|||
|
|||
|
That is correct.
|
|
#4
|
|||
|
|||
|
Did I mention that I have a tendency to overanalyze things? To serve my purpose... all I had to do was use the ID variable as the radio button value and then query on that value.
~shrugs~ I hate it when I get tripped up on simple things. |
|
#5
|
|||
|
|||
|
dont worry mate, I have done plenty of times before,
Just a thought what about changing the radio button to a checkbox button then that way they can display the details of 2 campers instead of the selected one. Just a thought. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Linking from Query Results... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|