Apr 24, 2003 #1 ScottWood Technical User May 31, 2001 81 GB I have created a variable that counts the number of records, but i would like the counter to reset back to 0 when it reaches 5, how would i do this? Cheers
I have created a variable that counts the number of records, but i would like the counter to reset back to 0 when it reaches 5, how would i do this? Cheers
Apr 24, 2003 #2 Naith Programmer May 14, 2002 2,530 GB WhilePrintingRecords; NumberVar YourCounter; If Counter >= 5 Then Counter := 0 Else <Your Current Formula Here> You could also achieve this in a running total, by setting the conditional reset functionality to >= 5. Naith Upvote 0 Downvote
WhilePrintingRecords; NumberVar YourCounter; If Counter >= 5 Then Counter := 0 Else <Your Current Formula Here> You could also achieve this in a running total, by setting the conditional reset functionality to >= 5. Naith
Apr 24, 2003 Thread starter #3 ScottWood Technical User May 31, 2001 81 GB Thats worked great thanks for that. Upvote 0 Downvote