CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 Passing search values to another page?

Print topic Send  topic

Author Message
airman
Posted: 07/17/2002, 11:24 AM

I need to pass the current search values to another page using CCS/asp with
templates. This probably isn't that hard, I just don't know how?

i.e. Page one has a search form that populates a grid (row). I then need to
click on an "Expand" button to populate a grid (columnar) on another page
with the same set of records.

Thanks for any help

donb
Posted: 07/17/2002, 3:25 PM

The easiest way is to go to the "source/parameters" property for the form
that contains your button. Add the necessary parameters there and they will
be passed to the "expand" page. which you will then use to modify the
datasource feeding the grid so it selects the correct record(s) for the
expanded view.

You could code in session variables and pass things around that way, but
unless they need to persist for awhile, that's not as good as the first
approach (i.e., it's more work).

don

"airman" <resumes@jobs.zzn.com> wrote in message
news:ah4cpf$k49$1@news.codecharge.com...
> I need to pass the current search values to another page using CCS/asp
with
> templates. This probably isn't that hard, I just don't know how?
>
> i.e. Page one has a search form that populates a grid (row). I then need
to
> click on an "Expand" button to populate a grid (columnar) on another page
> with the same set of records.
>
> Thanks for any help
>
>

airman
Posted: 07/18/2002, 2:21 PM

Thanks Don. Actually, I figured out that all I had to do is put a Form Link
Control somewhere on the first page pointing to the second page and set the
Preserve Parameters to GET and walla, it worked.


"donb" <dbweb2@premiersi.com> wrote in message
news:ah4qsi$e3b$1@news.codecharge.com...
> The easiest way is to go to the "source/parameters" property for the form
> that contains your button. Add the necessary parameters there and they
will
> be passed to the "expand" page. which you will then use to modify the
> datasource feeding the grid so it selects the correct record(s) for the
> expanded view.
>
> You could code in session variables and pass things around that way, but
> unless they need to persist for awhile, that's not as good as the first
> approach (i.e., it's more work).
>
> don
>
> "airman" <resumes@jobs.zzn.com> wrote in message
>news:ah4cpf$k49$1@news.codecharge.com...
> > I need to pass the current search values to another page using CCS/asp
> with
> > templates. This probably isn't that hard, I just don't know how?
> >
> > i.e. Page one has a search form that populates a grid (row). I then need
> to
> > click on an "Expand" button to populate a grid (columnar) on another
page
> > with the same set of records.
> >
> > Thanks for any help
> >
> >
>
>


   


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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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