473,508 Members | 2,216 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Automatically updating info in tables

Thanks to this forum, I was FINALLY able to create an employee
scheduling database on Access 97 having zero experience doing this
kind of thing. Now that I'm about 95% there, I have two final issues.

We have a temporary labor company. The three primary tables that I
used are a) one with all the client/unit location information; b) one
with the employee name and their status (active or inactive) and c)
the skill level required for the job. From this I created a 4th table
and accompanying form that incorporates all this data to generate a
daily report of who is scheduled to go where the following day. So
here are my two problems:

1. As this is a temporary labor company, employees regularly come and
go and come back again. What do I need to do to make sure that if I
enter an employee's name on the scheduling form and that name is not
already on the employee table that it will automatically update the
employee table by adding that employee's name?

2. After I run my scheduling report for tomorrow's schedule, how do I
then run a report that shows ONLY active employees who are NOT already
assigned for the next day so we know what's left in the pool to choose
from as jobs becomes available.

Again, thanks for all the help in getting me this far! If anyone can
recommend a good book or training dvd on Access 97 for realllllll
dummies, please let me know!

sk*******@yahoo.com
Nov 13 '05 #1
1 1223
skgolden wrote:
1. As this is a temporary labor company, employees regularly come and
go and come back again. What do I need to do to make sure that if I
enter an employee's name on the scheduling form and that name is not
already on the employee table that it will automatically update the
employee table by adding that employee's name?
Suppose you select the employee from a combobox. If you set the
LimitToList property (to true), and the user--you?--enters a name that
is not in the list, the NotInList event fires. You can do what it takes
to add your new employee, the name entered is in the NewData parameter
for the event; after you've done, set the Response parameter to
acDataErrAdded
2. After I run my scheduling report for tomorrow's schedule, how do I
then run a report that shows ONLY active employees who are NOT already
assigned for the next day so we know what's left in the pool to choose
from as jobs becomes available.


See if the Unmatched query wizard helps you in the right direction, to
solve the "not assigned" part. I suppose you figured out how to filter
on 'active'.

I'd be glad to provide more detailed instructions if you need them, but
I must know a little more of your data structure then. Where the
assignments are stored, names of this table (I presume it's a table).
--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea
Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
2479
by: Paige | last post by:
I have a database on my local machine that I make entries and corrections on. I'd like to be able to upload that to my server and have that update the database that's on the server. What I've been...
3
4805
by: LouD | last post by:
I have 5 tables in my db and when i bring up the linked form I get my product lists Tbls are tbStock, which contain unitcost, sellprice n qty tblProduct, contains ID, medicalname n genericname...
1
1442
by: Rosy | last post by:
I have a form that brings in the customer address info. On this form I would like to put a sub-form that displays the Peachtree ID for this customer. This works fine. However, when I create a...
2
4560
by: Chris Langston | last post by:
I have a Web Server running IIS 5 or 6 on Windows 2K and Windows 2003 Server that is experiencing strange shutdown problems. We are using ASP.NET v1.1 and our application is written in VB.NET ...
1
1024
by: Robert | last post by:
I sent this last week, but am unable to go that far back in the newsgroup to read the answer, so I'm posting again: I'm using the Jet.Oledb to connect to an Access 2002 database. I have a form...
10
5627
by: jaYPee | last post by:
does anyone experienced slowness when updating a dataset using AcceptChanges? when calling this code it takes many seconds to update the database SqlDataAdapter1.Update(DsStudentCourse1)...
4
2360
by: Geoff | last post by:
Hi I'm hoping somebody can help me with the following problem that has occurred to me. Suppose I have two tables in an SQL Server database. Let's call these tables A and B. Assume that A has...
14
9741
by: John T Ingato | last post by:
I have a contacts table with name address and such but are missing all phone numbers in the phone number fields. I have just received an updated customer list in Excel and have imported into a new...
6
3667
by: Dave | last post by:
I want to put the information that the user selects in my combo boxes into a subform that lies on the same form as the combo boxes. Thanks for your help already, Dave
0
7331
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
7391
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
7501
tracyyun
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...
0
5633
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,...
0
4713
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...
0
3188
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1564
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 ...
1
768
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
424
bsmnconsultancy
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...

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.