-o flag

Laura Brody laura at hvcomputer.com
Thu Feb 15 14:36:12 PST 2007


Quoting Chris Rendall <CRendall at teamind.com>:

> When you use the -o flag with rreport, is filePro creating a demand
> index on the record number?  When I go into Index Maintenance it shows
> an index "Built 02/15/07 on Field(s) <>".
>
> I'm curious on what filePro is using to create the demand index.

  filePro asks you for that when you run *report. I'm guessing
that you didn't answer those prompts.....

  Most people use it to run a report with a selection set on
an index, and "save" the result in a demand index so that the
next report will use the new demand index to quickly process
the required records. i.e. select some records for printing,
then archive them to another file. Do this as two commands
in a menu action line so you don't have to depend on the
user to put the same selection info into both reports. In
this case you would use the "-On" flag (such as -O3) to tell
fP to send the output index to demand index 3.

Example:

   dreport myfile -f outputfile -ia -s selectionset -o3
   dreport myfile -f archiveme -i3

  Does this help?

--
Laura Brody
+------------- Hudson Valley Computer Associates, Inc ----------+
| PO Box 859 120 Sixth Street    http://www.hvcomputer.com      |
| Verplanck, NY 10596-0859       Voice mail: (914) 739-5004     |
+------ PC repair locally, filePro programming globally --------+


More information about the Filepro-list mailing list