That is done automatically once you enter the records correctly.
Depending on how you use it. See this topic: