Re: Sort file by computed field

From: Howard Brazee (howard_at_brazee.net)
Date: 06/14/04


Date: Mon, 14 Jun 2004 14:45:09 GMT


On 13-Jun-2004, Sally Pascoe <sallypascoe@hotmail.com> wrote:

> I want to sort records for a report in descending order of a computed
> field.
>
> How do I sort records in a file based on a computed field based on two
> fields in that file but the computed field is not in the file?
>
> Even a keyword for the command so I had something to look for would be
> a help.

Seeing that this is a COBOL newsgroup - how about using a COBOL sort? That is
precisely the reason to use an internal sort.



Relevant Pages

  • Re: Sort file by computed field
    ... You say that you are to sort on a computed field that is not in the ... would appear as the first record of the output file along with all the ... something like all between one value and the next group minus one. ...
    (comp.lang.cobol)
  • Re: Sort file by computed field
    ... >How do I sort records in a file based on a computed field based on two ... You use the SORT verb. ... The OUTPUT PROCEDURE prints the report. ...
    (comp.lang.cobol)
  • Re: Sorting Months
    ... Add a computed field that returns the month number (either the Month ... function, or format as mm, not m). ... Sort on that field, even if you don't ... > instead of by calendar order. ...
    (microsoft.public.access.reports)
  • Re: Sort Ascending
    ... Easiest solution would be to add a computed field to the query, and sort on ... there are some entries that do not have any dates. ... ascending sort. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Sort by Month
    ... Add a computed field to your query, and sort by it. ... > format of dd/mm/yy. ...
    (microsoft.public.access.queries)