CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Multi Step Search

Print topic Send  topic

Author Message
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!
View profile  Send private message
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
View profile  Send private message
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!
View profile  Send private message
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
View profile  Send private message
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!
View profile  Send private message
Waspman

Posts: 948
Posted: 04/27/2006, 2:11 AM

:-D 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
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.