phper
Posts: 4
|
Posted: 03/10/2004, 6:47 AM |
|
I have a grid/edit form setup to display only specific results based on parameters passed. When my users select an item from the grid to edit, if they cancel or update, the grid displays all records in the table. This is not what I want it to do.
How do I stop this? If user cancels or updates I still only want to display records based on parameters passed to the grip initially.
|
|
|
sho
Posts: 2
|
Posted: 04/13/2004, 1:15 PM |
|
Make sure that
- the grid form "inputs" and transmits all "search" parameters
- the edit form "inputs" and transmint all "search" parameters
A more advanced approach in ASP language (even takes page number and sort order into account):
Put
SetVar "TransitParams", "q=" & ToURL(request.servervariables("QUERY_STRING"))
in the grid form Open Event
then in the edit form Open Event
if GetParam("q") > "" then
sParams = GetParam("q")
end if
|
|
|
|