captain crash
New member
- Local time
- Today, 08:40
- Joined
- Jun 18, 2008
- Messages
- 7
Hello, I am learning access and VB as i go along so please forgive any obvious questions i may be asking.
I have a personnel table where records are entered in via a form.
Some fields are: Last name, first name, and title (position in the company).
Every time someone gets promoted their title changes and as a result their pay is increased.
For billing purposes i need to keep track of their old position as well. To do this i have added two fields to the table: Start, End.
Start records the date when the time is created using the now() operator.
Whenever i create a new employee i would like a macro to check if this person is already in the employee list, and if so then use the now() operator to fill in the end field of his old entry. This way i will have multiple entries for the same employee but with different titles, and hence different billing rates.
My sub-question here which will greatly help me in the rest of my project is how do you refer to table names and fields when writing VB code, using forms.
If i need to search a list of entries what is the equivalent of using a row pointer in excell and then implementing the row pointer so it searches the whole list.
I've tried researching this but am lost. Help!
Thanks in advance.
I have a personnel table where records are entered in via a form.
Some fields are: Last name, first name, and title (position in the company).
Every time someone gets promoted their title changes and as a result their pay is increased.
For billing purposes i need to keep track of their old position as well. To do this i have added two fields to the table: Start, End.
Start records the date when the time is created using the now() operator.
Whenever i create a new employee i would like a macro to check if this person is already in the employee list, and if so then use the now() operator to fill in the end field of his old entry. This way i will have multiple entries for the same employee but with different titles, and hence different billing rates.
My sub-question here which will greatly help me in the rest of my project is how do you refer to table names and fields when writing VB code, using forms.
If i need to search a list of entries what is the equivalent of using a row pointer in excell and then implementing the row pointer so it searches the whole list.
I've tried researching this but am lost. Help!
Thanks in advance.