Ben_Entrew
Registered User.
- Local time
- Today, 07:37
- Joined
- Dec 3, 2013
- Messages
- 177
Hi all,
I got one months table containing a reporting_month ,timeperiod and an Index column ID with data type Autonumber.
Basically I want to search through the table whenever the User types in a new reporting month or timeperiod over the dialogue.
Now I want to realize the following options:
1. The user types in a new reporting month, when a record in the months table exists with a timeperiod and a blank reporting month field, it should be assigned there. For example the User types in reporting month = 032014 it should be assigned to the Time_Period Value = 042014-032015
2. Vice versa, the user types in a time period. This value shuold be assigned to the blank field beneath the existing reporting month.
Can someone help me here,how can I realize this in Access VBA?
Thanks in advance.
Regards,
Ben
Months Reporting_Month Time_Period ID 102013 112013-102014 1 112013 122013-112014 2 012014 022014-012015 3 022014
4
042014-032015 5
I got one months table containing a reporting_month ,timeperiod and an Index column ID with data type Autonumber.
Basically I want to search through the table whenever the User types in a new reporting month or timeperiod over the dialogue.
Now I want to realize the following options:
1. The user types in a new reporting month, when a record in the months table exists with a timeperiod and a blank reporting month field, it should be assigned there. For example the User types in reporting month = 032014 it should be assigned to the Time_Period Value = 042014-032015
2. Vice versa, the user types in a time period. This value shuold be assigned to the blank field beneath the existing reporting month.
Can someone help me here,how can I realize this in Access VBA?
Thanks in advance.
Regards,
Ben
Months Reporting_Month Time_Period ID 102013 112013-102014 1 112013 122013-112014 2 012014 022014-012015 3 022014
4
042014-032015 5