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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accpac Macro finding period

Status
Not open for further replies.

Greggpb88

Programmer
May 18, 2010
26
ZA
Hi Guys is the any way to get the Year and Period from the a date in vba beside hardcoding whar the periods are ?
 
.Browse the CS0002 view, or add an Accpac PeriodPicker to a form, and use something like this:

a4wLinkRead.GetFiscalCalendar.GetPeriodDates Me.pdPickFrom.Year, Me.pdPickFrom.period, , , bOpen

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top