KB-29384: Resetting a Counter Tag.

Question:

How can I reset a Counter Tag?

Solution:

To do so, you must first make sure the tag’s ResetCounterWhenEnable is set as True. Then, add a script to disable and then re-enable the tag.

The example below was made with a button’s Click method:

Sub btResetCounter_Click()
Application.GetObject(“Data.CounterTag1”).Enabled = False
Application.GetObject(“Data.CounterTag1”).Enabled = True
End Sub
Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Deixe seu Comentário

Seu endereço de e-mail não será publicado. Campos marcados com asterisco são obrigatórios *