Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SuperLib 3.50 - function timeper() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FUNCTION TIMEPER()

  Short:
  ------
  TIMEPER() Time Period (date sensitive) DBF analysis

  Returns:
  --------
  Nothing

  Syntax:
  -------
  TIMEPER([aFields,aDescript],[aIndexes])

  Description:
  ------------
  Does a menu-driven time/date sensitive analysis of a
  DBF based on DATE type fields in the DBF, by sorting data into
  time periods

  Time periods can be:

       A By Week
       B Week to Date
       C By Month
       D Month to Date
       E By Year
       F Year to date
       G User defined

  Additional numeric fields may be tallied within each
  time period.

  [aFields]   array of field names

  [aDescript] array of field descriptions

  [aIndexes]  array of currently open indexes for
  re-opening on exit

  Examples:
  ---------
   TIMEPER(aFields,aDesc,aIndexes)

  Warnings:
  ----------
  Restore your indexes after using this function, as it
  creates a new index and you will lose the SET INDEX...unless you
  pass the third param as an array of open indexes

  Source:
  -------
  S_TIME.PRG


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson