raghuprabhu
Registered User.
- Local time
- Today, 08:07
- Joined
- Mar 24, 2008
- Messages
- 154
Hi All,
I have attached a small database. There are three tables “tblFYear” , “tblPayPeriodAndDates” and two forms “frmMain” and “frmPayPeriodAndDates”.
The data source for frmMain is the “qryPayPeriodAndDates”. This shows the next pay day is 04-Aug-2011 and we are in pay period 03/2012
Question 1. How do I dynamically change the tick box in "frmPayPeriodAndDates" from 04-Aug-2011 to 18-Aug-2011 after 04-Aug-2011 when the database is opened?
Question 2. According to the table “tblFYear “ we are in financial year 2012 ie today lies between 01-Jul-2011 and 30-Jun-2012.
When the frmMain loads, it checks to see if a folder “Reports” is there. If not it creates new folder “Reports”.
Then it checks to see if the folder FYear2012 is there. If not it creates a folder “FYear2012”. How do I dynamically make the folder depending on the financial year?
After 30-Jun-2012 I want it to create folder “FYear2013”
Similarly we are in pay period 03/2012 according to the table “tblPayPeriodAndDates”. It has to create folder “PP0312” After 04-Aug-2011 it must create folder “PP0412”. How do I dynamically create the folders?
Thanks for your help in advance.
Raghu Prabhu
Melbourne, Oz
I have attached a small database. There are three tables “tblFYear” , “tblPayPeriodAndDates” and two forms “frmMain” and “frmPayPeriodAndDates”.
The data source for frmMain is the “qryPayPeriodAndDates”. This shows the next pay day is 04-Aug-2011 and we are in pay period 03/2012
Question 1. How do I dynamically change the tick box in "frmPayPeriodAndDates" from 04-Aug-2011 to 18-Aug-2011 after 04-Aug-2011 when the database is opened?
Question 2. According to the table “tblFYear “ we are in financial year 2012 ie today lies between 01-Jul-2011 and 30-Jun-2012.
When the frmMain loads, it checks to see if a folder “Reports” is there. If not it creates new folder “Reports”.
Then it checks to see if the folder FYear2012 is there. If not it creates a folder “FYear2012”. How do I dynamically make the folder depending on the financial year?
After 30-Jun-2012 I want it to create folder “FYear2013”
Similarly we are in pay period 03/2012 according to the table “tblPayPeriodAndDates”. It has to create folder “PP0312” After 04-Aug-2011 it must create folder “PP0412”. How do I dynamically create the folders?
Thanks for your help in advance.
Raghu Prabhu
Melbourne, Oz