Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

variable to count occurrences

Status
Not open for further replies.

stevesd

Technical User
Dec 26, 2000
74
US
I need help with the syntax for a variable. I have assigned a variable that I want to use to count the number of times an account has certain restrictions occurring during the last month. For example, Numbervar counter := 0 to initialize. Then I need some proper syntax to add one to the variable named 'counter' when the account occurs again. The output is sorted by account number. Then I need to print only those where the variable is 4 or above.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top