943,724 Members | Top Members by Rank

Ad:
Nov 21st, 2008
0

MS Access Database

Expand Post »
Good day everyone and are there any Access geniuses out there who can help Jose and myself with some links, dates and logic for our HR database that we are stuck with? Cheers, Murdo
PS My ady is <EMAIL SNIPPE>
Last edited by peter_budo; Nov 28th, 2008 at 1:42 pm. Reason: Keep It On The Site - Do not post asking for an answer to be sent to you via email or PM.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
murdoduncan is offline Offline
10 posts
since Nov 2008
Nov 21st, 2008
0

Re: MS Access Database

I'd love to help. Can you tell me the details of what you need? I suggest you start a new thread for each issue.
Reputation Points: 27
Solved Threads: 29
Posting Whiz
timothybard is offline Offline
317 posts
since Mar 2007
Nov 22nd, 2008
0

MS Access Database

Here is our problem and if anyone can help, please let me know!!! We are trying to link up the two, one from our database and covers leave perids taken and the other, under Excel format, is an allowance we pay uniquely for period on location. The dates changes all the time, the allownac is estimated in advance then adjusted the following month etc. How can we only use Access to do all of this and not have a million things to update? Any advice will be gratefully received. Murdo
Attached Files
File Type: doc Access problem.doc (167.0 KB, 8 views)
Reputation Points: 10
Solved Threads: 0
Newbie Poster
murdoduncan is offline Offline
10 posts
since Nov 2008
Nov 22nd, 2008
0

Re: MS Access Database

Thank you for providing the attached file. However, I do have some questions about the document:

1) In the first image, what do the "days" columns refer to? Are they based on the Departure and Arrival dates?

2) What is the purpose of 'Estimate 11-2008'? Will an 'Actual 11-2008' section be needed?

3) How is the ADJ column calculated?

4) What are the meanings of the columns in the second image?

5) Which information is currently tracked in Access and which information is currently tracked in Excel?

I may be able to assist you further if I know the answers to those questions; however, my first thought as far as tracking this information in an Access database is below:

1) I would create a table called 'Leave' with the following fields: ID, person (FK), estimated departure date, estimated arrival date, actual departure date, estimated departure date, location (FK), ADJ

Since there is the location foreign key in the table, you can create a query from the table that groups by location, then, if there are actual values filled in, then the leave days are summed; otherwise, the estimated leave days are summed.

Please let me know if this helps; again, if you could explain the existing structure of your data and the meaning of the values in the attachment you provided, I can give you more help.
Reputation Points: 27
Solved Threads: 29
Posting Whiz
timothybard is offline Offline
317 posts
since Mar 2007
Nov 24th, 2008
0

Re: MS Access Database

Hiya and many thanks again for your reply. Let me try and explain the two attachments in a word document and then the series of events, which will give you the full picture. "spead" to you later and many thanks for taking an interest in our small company!!! Cheers, Murdo
PS We are open to any suggestions, even to revamp both tables and look forward to having some new ideas from outside the box!
Attached Files
File Type: doc Access problem.doc (170.5 KB, 9 views)
Reputation Points: 10
Solved Threads: 0
Newbie Poster
murdoduncan is offline Offline
10 posts
since Nov 2008
Nov 24th, 2008
0

Re: MS Access Database

Thank you for the additional information. From the information you provided I would create a database with the following structure:

Person: ID(PK), Name, Address, etc
Rotation: ID(PK), Person(FK), Period State Date, Period End Date
Leave: ID(PK), Rotation(FK), Departure Date, Arrival Date
Allowance: ID(PK), Person(FK), Month, Monthly Allowance, Days Allowance Covers

Using that structure, you would first record the person in the database. You would then record the rotations that have been contracted. For each rotation, the person will acquire leave days; the leave days would be recorded in the leave table. Lastly, each month, the allowance can be recorded and later updated if needed.

To find out the number of days a person is on site and will receive an allowance, you could join the person table to the allowance table. You then go through each record and loop through the Leave table for the current person. Next, you can loop through each day on the allowance month and see if the person is on leave for that day. If they are not, then you increment the "days owed allowance" by one. Calculating the days the allowance covers will be VBA code that updates the "Days Allowance Covers" field.
Reputation Points: 27
Solved Threads: 29
Posting Whiz
timothybard is offline Offline
317 posts
since Mar 2007
Dec 2nd, 2008
0

Re: MS Access Database

Hiya Timothy and we'll certainly give it a go. I also need to start another thread about a different table problem, again regarding dates, to see if anyone can help us thre too! Cheers and have a nice day! Murdo
Reputation Points: 10
Solved Threads: 0
Newbie Poster
murdoduncan is offline Offline
10 posts
since Nov 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in MS Access and FileMaker Pro Forum Timeline: Expression Builder : MS ACCESS FORMS
Next Thread in MS Access and FileMaker Pro Forum Timeline: Who is here at Christmas





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC