I use following functions to centrally change FYs. I use these functions in my queries.
Function getFromFY() As String
getFromFY = "FY 10"
End Function
Function getToFY() As String
getToFY = "FY 12"
End Function
But sometimes I have had to change the range. So does it mean that I need to create more functions or can I use these functions and use these so that I add or substract FY from an existing function. For example if I want to change the 'gettoFY' funmction by one more FY to FY 13, how could that be achieved in a query without having to create more functions?
Function getFromFY() As String
getFromFY = "FY 10"
End Function
Function getToFY() As String
getToFY = "FY 12"
End Function
But sometimes I have had to change the range. So does it mean that I need to create more functions or can I use these functions and use these so that I add or substract FY from an existing function. For example if I want to change the 'gettoFY' funmction by one more FY to FY 13, how could that be achieved in a query without having to create more functions?