sam
|
| Posted: 06/29/2003, 8:38 AM |
|
i'm using codecharge studio.
i have created a record in a page e and i have put as ReturnPage a different page in which there is a grid.
how can i pass the parameters that i put in the record to the page in which there is the grid?
sorry for my english
|
|
|
 |
sam
|
| Posted: 06/29/2003, 10:05 AM |
|
i want to pass these parameters because i have to use the parameters for the query of the grid
|
|
|
 |
rrodgers
|
| Posted: 06/29/2003, 6:44 PM |
|
You don't say what language you write in. ASP,PHP ???
Usually it is easier to keep the search form and the grid it is for on the same page. If this doesn't work for some reason you could try and hide the grid component when the search form is visible and then swap after the search. If this doesn't work for you then
To pass the value on the url when the search page calls the grid you need to modify the redirect variable before the "Response.Redirect Redirect" line is called
Or if you want to use a Session Variable you will have to populate it before this line.
rob
|
|
|
 |
to pass parameters t
|
| Posted: 06/30/2003, 1:20 AM |
|
i use php 4. but i don't have a search form but a record form
|
|
|
 |
Webracer
|
| Posted: 06/30/2003, 1:48 AM |
|
To sent parameters form a search to a grid CCS creates URL-parameters (s_Name)automatically. I had the same problem but solved it SESSION-parameters.
In the events for the SEARCH-button I've added On Click setvalue s_Name, SESSION, session_Name.
In the grid I've changed to parameter s_Name (url) to session_Name (SESSION).
This was working but sometimes the session variables contain a old value so you have to click twice on SEARCH and I haven't figured out to solve this problem.
|
|
|
 |
sam
|
| Posted: 06/30/2003, 2:10 AM |
|
i have a RECORD FORM not a search
|
|
|
 |
Jayme
|
| Posted: 08/18/2003, 3:33 AM |
|
CAn you please explain in more detail?
Are you saying that you have a field on a page named s_Name and you set this field equal to Session on the ONCLICK property of your button then this new session parameter/variable gets passed to your next page?
Please clarify.
|
|
|
 |