dragnsteph
Registered User.
- Local time
- Today, 10:04
- Joined
- Jun 18, 2015
- Messages
- 19
I am working as a volunteer this summer, and one of my projects is moving our database of volunteers from years of Excel spreadsheets to a database structure. I've worked in Access before, but it's been some years, and some versions, and none of my projects were as complex as this one.
I've managed to get the personal information sections working as I'd like, with tables for phone numbers, addresses, emergency contact info, etc all linked to a Names table, set up in subforms and tabbed so you can flip through them as the people are entered. It seems to work well, I haven't tested it exhaustively yet but it's working with the 5 or 6 records I've put in for testing purposes.
What I'm having trouble with is the part of the DB that is supposed to calculate hours worked per month, total them, and keep records for "previous years" "current year" and "all time hours". I can't seem to get sums to work. Now, I know in Excel I'd just be able to select the cells that need to be summed, put that formula in the cell and call it a day.
I've tried writing queries but I guess I don't understand them, precisely, and I've tried using Calculated Fields but even they don't seem to show the information in the form as I expected. I understand from what I've read that queries are preferable anyway.
What I'm wondering, I guess, is if I should have set up a whole separate table for JUST the hours information, instead of having it in my Volunteer Details table as 12 fields (one for each month). My query is returning hours by month, but then I can't figure out how to sum them. I'm not very familiar with SQL or other code (I'm a graphic artist by trade), so this is all pretty confusing smile.gif
Happy to post more information or samples of the tables if that would help me get some help - any pointers appreciated.
Thanks,
Stephanie
I've managed to get the personal information sections working as I'd like, with tables for phone numbers, addresses, emergency contact info, etc all linked to a Names table, set up in subforms and tabbed so you can flip through them as the people are entered. It seems to work well, I haven't tested it exhaustively yet but it's working with the 5 or 6 records I've put in for testing purposes.
What I'm having trouble with is the part of the DB that is supposed to calculate hours worked per month, total them, and keep records for "previous years" "current year" and "all time hours". I can't seem to get sums to work. Now, I know in Excel I'd just be able to select the cells that need to be summed, put that formula in the cell and call it a day.
I've tried writing queries but I guess I don't understand them, precisely, and I've tried using Calculated Fields but even they don't seem to show the information in the form as I expected. I understand from what I've read that queries are preferable anyway.
What I'm wondering, I guess, is if I should have set up a whole separate table for JUST the hours information, instead of having it in my Volunteer Details table as 12 fields (one for each month). My query is returning hours by month, but then I can't figure out how to sum them. I'm not very familiar with SQL or other code (I'm a graphic artist by trade), so this is all pretty confusing smile.gif
Happy to post more information or samples of the tables if that would help me get some help - any pointers appreciated.
Thanks,
Stephanie