Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fiscal calendar tool for macros in ACCPAC

Status
Not open for further replies.
Aug 11, 2004
7
CA
I am coding a macro and was just wondering if there was a tool in ACCPAC that will list the fiscal year information when a drop down box is clicked?
 
Sure, it's the AccpacPeriodPicker control. Drop it on your form, then initialize like this:

Set Me.pdPick.DBLink = mDBLinkCmpRW
mDBLinkCmpRW.GetFiscalCalendar.GetPeriod Date, sCurPer, sCurYear

Me.pdPick.SetValueByDate mDBLinkCmpRW.Session.SessionDate


Jay Converse
IT Director
Systemlink, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top