473,395 Members | 1,972 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Employee Schedule

[IMG]Hello, This is my first post and I'd really appreciate any help I can get. Sorry this is so long but it's complicated. I'm a USAF Officer and I'm attempting to make a shared MS Access DB that contains Training, Certification and Scheduling of Crew Members. I've got most of the back-end done (Tables with Relationships) and I'm happy with the Training and Certification sections. I'm having trouble with the Scheduling Part.

The Table is simple enough and I'd be done if I wanted to schedule Crews one day at a time, but I want to schedule a whole month from one Data Entry Form for one crew; the scheduling part will have to be abandoned otherwise.

I expect to need to use VBA and probably SQL to accomplish this task. I have a form now that looks and acts the way I need it to but with one Major Glitch... I can't enter or update the information because I'm using OUTER JOINS to query the Schedule Table and return the results in the way I want. I've uploaded screen shots of the Form and Table but I don't understand how to insert thier links.

[IMG]schedule_form.jpg[/IMG]
[IMG]Schedule_Table.JPG[/IMG]

Basicly the form is an unbound Outer Form with Crew (Alapha, Bravo...) and Date (January 06, Febuary 06...) information and Bound SubForms where thier Recordsource will be set using VBA code. Imagin a spreadsheet with employee names in Column A and Columns B-B+30 are the days of the month. Column A is a Subform showing all employees for the month working in Crew X (no duplicates) and Subforms B-XX are the Days of the month showing a date and Checkbox indicating the member in SF A is scheduled to work.

So now that you have the set-up, here's how I want to use it. I select the Crew and Month to schedule, I then choose a Crew Member from a combo box, and then start checking off what days that month he's going to work. Every day that I check ends up making an entry in the Schedule table with the members id, Date, Crew, and Worked...etc fields. Logiclly it sounds simple, in practice I am stumped.

Again, That was a really long post, I'm sorry and am prepared to accept the hate and angry comments if I've broken any rules of engagement.

Thanks
-Trevor
Attached Images
File Type: jpg Schedule_Form.JPG (20.3 KB, 1704 views)
File Type: jpg Schedule_Table.JPG (32.6 KB, 1463 views)
Aug 6 '06 #1
3 8729
MMcCarthy
14,534 Expert Mod 8TB
The only thing I can suggest is that you keep this form as is but create another form to add new scheduling events without the outer joins in the record source.
Aug 8 '06 #2
Thanks mmccarthy that may be just what I'll have to settle for... I hate settling :). Anyway, I thought I'd mention another way to discribe my objective. I'm basiclly attempting to create a form that looks like a Pivot Table but allows me to modify or create records. If anyone knows how I might accomplish this, please point me in the right direction.

-Trevor
Aug 9 '06 #3
comteck
179 100+
I'm sorry.. but I don't see anywhere where it's mentioned exactly what your problem is.

As well, could you provide a little more detail. What relationships are set up between the tables? What fields are included in the tables? What are the PKs, and/or FKs?

Thanks.
comteck
Aug 10 '06 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Morten Gulbrandsen | last post by:
USE company; DROP TABLE IF EXISTS EMPLOYEE; CREATE TABLE EMPLOYEE ( # PK SSN CHAR(9) NOT NULL, # FK SUPERSSN CHAR(9), DNO INT NOT NULL DEFAULT 1, CONSTRAINT EMPPK
0
by: argniw | last post by:
I have a schedule of annual events that need to occur in different locations throughout the year. Each event has a due date associated with it. I also have an optimal schedule that consolidates...
1
by: greg7224 | last post by:
I am currently working on a C# project that uses the Janus schedule controls, and am having trouble getting it to print correctly in Day view. The problem is that it will not print out the owners...
17
by: RSH | last post by:
I am really trying to grasp the concept of OOP as it applies to C#. I am looking at trying to set up a simple Employee Class but I am having trouble conceptualizing what this class should look...
3
by: jhhbr549 | last post by:
Can some help me with this. Please review this code for errors. I can not get it to complie. Here is my Code .. This is an abstract class that is used in conjuntion with 4 other classes.. ...
7
by: hgirma | last post by:
Hello Gurus, Is it possible to schedule a task to run an application deployed using ClickOnce? The executable changes location with each update.. and if i were to run the executable directly,...
1
by: jobs | last post by:
I have a growning list of stored procedures that accept a single string as a parameter. The list and parameters are maintained in a table with two columns. Some of the Stored procedures take...
14
lotus18
by: lotus18 | last post by:
Hello all I have these records on my Day Table for my complete database table please click here 1. M 2. T 3. W 4. TH 5. F 6. S
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.