I have 2 data pages. 1 is a submission form and the other is a results page. I am passing parameters from the submission form so that the results page finds the correct information from the database for display.
My database records have several fields, but for the purpose of this question I will only use 3 of the fields.
Field 1: Store Name
Field 2: Category
Field 3: State
Some of the stores are located in multiple states. Many are in all 50 states.
Rather than creating a separate record for each store/category/state I have put all states for that store name into the state field, with each separated by a comma.
When I submit my search using a "contains" format I have no problem finding each record that I am searching for, but I don't want to display all of the text that can be found in the state field, I only want to display the parameter that was passed when I ran the search.
Is there any way to display the parameter on my results page and not the actual text found in the state field?
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
freshstart
I have 2 data pages. 1 is a submission form and the other is a results page. I am passing parameters from the submission form so that the results page finds the correct information from the database for display.
My database records have several fields, but for the purpose of this question I will only use 3 of the fields.
Field 1: Store Name
Field 2: Category
Field 3: State
Some of the stores are located in multiple states. Many are in all 50 states.
Rather than creating a separate record for each store/category/state I have put all states for that store name into the state field, with each separated by a comma.
When I submit my search using a "contains" format I have no problem finding each record that I am searching for, but I don't want to display all of the text that can be found in the state field, I only want to display the parameter that was passed when I ran the search.
Is there any way to display the parameter on my results page and not the actual text found in the state field?
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.