I am curious if anyone has determined how to get at the value of the fiscalperiodend field within VB code? The DH file defines this as a 13 element array. If I fetch bglsetup.fiscalperiodend(0) I am getting back a text string of " 515" when the first fiscal period ends on 0131. I tried datetostr(bglsetup.fiscalperiodend(0) and got back "05311901" which is not what I want. What I am trying to do is determine the month of the first fiscal period so that I can determine if the company uses a calendar fiscal year or not.
↧