snowman
Posts: 6
|
| Posted: 04/22/2006, 9:55 PM |
|
I have a database of items which come in various sizes, etc. I would like to first do a search for the items that match the criteria provided – then allow the user to select that item and present the details of the various sizes, etc.
How do I link to the second search and pass the matching item ID?
Thanks for answering a newbe question!
|
 |
 |
Waspman
Posts: 948
|
| Posted: 04/24/2006, 12:58 AM |
|
Is it a second search or just a detail page?
_________________
http://www.waspmedia.co.uk |
 |
 |
snowman
Posts: 6
|
| Posted: 04/24/2006, 7:12 AM |
|
It's a new search using the item chosen to pull up the size and color option detatils.
Thanks!
|
 |
 |
Waspman
Posts: 948
|
| Posted: 04/25/2006, 2:17 AM |
|
I get round this using hidden "holder" fields which have the same name as the required parameter so populate automatically and are passed on when you submit the second search.
HTH
_________________
http://www.waspmedia.co.uk |
 |
 |
snowman
Posts: 6
|
| Posted: 04/25/2006, 7:10 PM |
|
Hmmm - I sort of understand, but a bit vague on the details. Would you have a code sippet you could share.
I am pretty good at cut and paste!
Thanks!
|
 |
 |
Waspman
Posts: 948
|
| Posted: 04/27/2006, 2:11 AM |
|
That's just what I said to someone yesterday when they asked me how long I'd been programming [LOL]
It's very simple to do this (I don't do complcated), parameters passed to the second search either by the frist search or a link, are stored in hidden fields of the same name that are in the second search form. These are then passed by the second search automactically.
You can populate the hidden fields using the event "retrieve value for control" if this is better.
Sorry if this not clear, it's easy when you know how
If you still have problems I'll do an example so you can download it.
_________________
http://www.waspmedia.co.uk |
 |
 |