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

 Maintaining Sort Order

Print topic Send  topic

Author Message
Peter Annandale
Posted: 02/21/2003, 3:46 PM


Hi,
Can someone please asssit me.. I am trying to maintain the sort and page
when editing or adding a record.

How can I return to the same page with the samne sort order. I have looked
at the examples on goto.com but they don't work, I get errors ststing
variables are not defined ie. GetParam, sParams and sActionFileName.

I can substitute CCGetParam this works but the others I don't know.

Can someone please assit me...

Regards
Peter



DonB
Posted: 02/21/2003, 4:53 PM

One way is to keep everything on the same page. I wrote up a way to do this
at www.codechargers.com. Basically, I put code in the before-show events to
hide the record control except while editing. I added a parameter on the
hyperlinks for "add" and "edit" clicks to put an extra parameter onto the
URL, which I then looked for in the before-show code to tell me to hide
whichever control I did not need to see. This is a handy approach also
because it halves the number of pages required. I use this technique often,
to hide the "search" part of a combined seach/grid/record page while editing
is in progress.

Of course, hiding is not actually necessary - you can let the app wizard
build the page in this manner without any coding at all.



DonB


"Peter Annandale" <peter.annandale@eds.com> wrote in message
news:b36dpc$65d$1@news.codecharge.com...
>
> Hi,
> Can someone please asssit me.. I am trying to maintain the sort and
page
> when editing or adding a record.
>
> How can I return to the same page with the samne sort order. I have looked
> at the examples on goto.com but they don't work, I get errors ststing
> variables are not defined ie. GetParam, sParams and sActionFileName.
>
> I can substitute CCGetParam this works but the others I don't know.
>
> Can someone please assit me...
>
> Regards
> Peter
>
>
>
>


   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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