This is untested, but should get you what you need: Dim curTimeId As
Integer = api.Pov.Time.MemberIdDim lastPerPYId As Integer =
api.Time.GetLastPeriodInPriorYear(curTimeId)Dim lastPerPY As String =
api.Time.GetNameFromId(lastPerPYId)Dim curYear As S...
Hello - you should just be able to change the code to reference Account
(or another dimension) as well as the particular text field you are
looking to retrieve: Dim acct As String = api.Pov.Account.NameDim acctId
As Integer = api.Pov.Account.MemberId...