On access 2013 I have 3 level on navigationcontrol
1st for the year. name: navigationcontrolyear
2015 2016 2017
2nd for the month. name: navigationcontrolmonth
01 02 03 04 05 06 07 08 09 10 11 12
3rd for the file with the same subform. name: navigationcontrololfile
01 02 03 04 05 06 07
the subform name on every 84/year navigationbutton is frmfilelookonly
I have a function for navigation where cause to get the correct ID from the selected tab of all 3 navigation control.
This is on a subform on a lot client form and I need on a current event from the main form to select the current month one, and later the 01 from the 3rd line because on the 11 (today) are no subform.
I have try .setfocus .tabs = month(date) .index
I read that docmd.navigateto is working but can't find a way
1st for the year. name: navigationcontrolyear
2015 2016 2017
2nd for the month. name: navigationcontrolmonth
01 02 03 04 05 06 07 08 09 10 11 12
3rd for the file with the same subform. name: navigationcontrololfile
01 02 03 04 05 06 07
the subform name on every 84/year navigationbutton is frmfilelookonly
I have a function for navigation where cause to get the correct ID from the selected tab of all 3 navigation control.
This is on a subform on a lot client form and I need on a current event from the main form to select the current month one, and later the 01 from the 3rd line because on the 11 (today) are no subform.
I have try .setfocus .tabs = month(date) .index
I read that docmd.navigateto is working but can't find a way