|
I wouldn't use a green screen. I'd use a browser and let query or whatever
worry about it!
But the qsort could be coded to reverse the sort order fairly easily - or
for that matter just write and extra procedure - they are all pretty much
clones of one another so no big deal.
Frankly I don't find the criteria realistic. Users usually want one thing
or another. As long as they can easily go tot he end of a list I'm not
convinced ascending and descending is useful Just because you _can_ do
something doesn't mean you should!
No matter what technique you use - qsort or Bruce's API reference or SQL
you still have a lot of work to do.
On Dec 14, 2019, at 1:06 AM, Booth Martin <booth@xxxxxxxxxxxx> wrote:Click either heading and sort by that column. Clicking a column heading a
1. State-up, City-up
2. State-up, City-down
3. State-down, City-up
4. State-down, City-down
5. City-up, State-up
6. City-up,State-down
7. City-down, State-up
8. City-down, State-down
State-up, City-up != City-up,State-up
Here is the practice exercise: A two-column subfile; State & City.
second time reverses the sort. Maintain the current sorting order for the
non-clicked column. This is the same behavior that we see and are used to
in our e-mail folders.
and B in A. Unless you also need A only and B only. That would be four
On 12/13/2019 6:57 PM, Jon Paris wrote:
If you have two keys the worst case scenario is 2 procedures, A in B,
procedures but could be achieved by just two and short circuit logic when a
single key was needed.
--questions.
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
link: https://amazon.midrange.com
Help support midrange.com by shopping at amazon.com with our affiliate
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.