[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.j pg[/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
3 8739 MMcCarthy 14,534
Recognized Expert Moderator MVP
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.
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
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
Sign in to post your reply or Sign up for a free account.
Similar topics |
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
|
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 events by location,
by quarter of the year.
Therefore, I have two flat files.
This one shows what is allowed by quarter of the year:
|
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 of the
appointments unless I set the ShowAllDayArea parameter to true. When I
do this, a large and unsightly grey box is drawn above the actual
schedule in day view, wasting space and making things look generally
ugly.
I am using the built in...
|
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 like. I was hoping
someone might be able to simply outline what I envision my class to look
like:
Basically I am envisioning a Class called Employee:
I imagine it would have many properties(?) such as:
|
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.. They are Hourly, IAm, Salaried, Sales.
import java.util.*;
//Constructors
//Constructor
public abstract class Employee
| |
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, it's not considered as a network
deployed application and it's not able to use any of the update
features programatically.. any ideas? workarounds?
thank you,
|
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 hours to complete.
procedures and the page come right back and recording infomation about
the stored procedure (like a job number) that can later be used to
report what stored procedures are still running.
|
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
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |