SP_TIMEPER

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


2 responses to “SP_TIMEPER

  1. Pingback: SP Metafunction | Viva Clipper !

  2. Pingback: SP Functions | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.