Jump to content
  • 0

Passing Parameters When Multiple Results are Shown



My problem exist in my search functionality:

Currently if I search for a specific ID3 ie #11611 my paramaters are passed correctly all the way through my main interface page.

My problem is when I search in a different field ie (Name) and multiple ID's are related. If i click on a specific ID#, similar to what is done above but this time their are many ID numbers to click on, it will not pass parameters correctly.

What am I doing wrong?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

This way you should pass the name as the parameter and receive it in the report. You will get couple names with different IDs. What is the reason of searching by name? If you want to look for a specific record then you need to pass a unique field to pull it up. Name is not usually unique though.

Link to comment
Share on other sites

  • 0

Are you passing the parameters through URL? You can pass more than one parameter as in the example below:

http://www.domain.com/myresults.htm?par ... er2=number

Also if any of these parameters may be blank and the results must ignore that parameter you should add &cbResetParam=1 to the end of the parameter in order to tell the browser to clear the cache otherwise browser remembers the previously passed parameter if the parameter in the current session is left blank.


Link to comment
Share on other sites

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.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...