Returns the ordinal position of a period within an application’s base frequency, and also returns the ID of the base frequency.
<HsvPeriods>.GetFrequency lPeriod, plFreq, plPeriodNumInFreq
The following example tests whether July is the first period in the base frequency. If so, then GetFrequency’s plPeriodNumInFreq argument returns 0, and any code placed within the If structure would be executed.