PC Review


Reply
Thread Tools Rate Thread

Can I assign tasks

 
 
=?Utf-8?B?cmFzY2Fs?=
Guest
Posts: n/a
 
      29th Apr 2006
I have a database that has 3 tables: Associates, Tasks and Schedules. The
associates table has a list of the associates and the individual tasks, if
the particular task has a check mark in the box that means the associate can
peform that task. What I would like to do, if possible, is have a module
that looks to see if the associate is working that day (from the schedules
table) and check to see if the associate can peform that task and if so
automatically assign that task to that associate. However to ensure that all
associates get their turn at the various tasks, it needs to look at the
previous task asignments and not schedule them again to a particular
associate until it has cycled through all the other associates. There all
about 30 associates and 15 tasks. Can this be done in access? and if so how?
Thanks for any help or suggestions.
 
Reply With Quote
 
 
 
 
strive4peace
Guest
Posts: n/a
 
      30th Apr 2006
Hi Rascal,

I am assuming you are using a bunch of checkboxes... there
is a better way

*Associates*
AssocID, autonumber
Firstname, text
Lastname, text
etc

*Tasks*
TaskID, autonumber
Task, text

*AssociateTasks*
AssocTaskID, autonumber
AssocID, long integer
TaskID, long integer

*Schedules*
SchedID, autonumber
SchedDate, date
AssocID, long integer, DefaultValue--> =null
TaskID, long integer

create the records in Schedules that need to be performed
(that is why you should set the DefaultValue of AssocID to
null so there is not a problem with records not being filled
out with AssocID when referential integrity is enforced)

make a query showing the Tasks that each Accocite has
already performed (or is assigned to):

Name --> qryAssociateTasksPerformed

SELECT DISTINCT AssocID, TaskID FROM Schedules

First, figure out which associated have not been assigned
tasks that need to be done I assume you are using the QBE
grid to make your queries

1. make a new query
2. add qryAssociateTasksPerformed and Schedules for your
fieldlists

field --> AssocID
table --> qryAssociateTasksPerformed
criteria --> Is Null

field --> TaskID
table --> Schedules

field --> AssocID
table --> Schedules
criteria --> Is Null

this will give you a list of Associates that have not yet
performed that task

Hopefully, this gives you some food for thought and gets you
thinking about a path you can take to solve your problem.

Warm Regards,
Crystal
MVP Microsoft Access

remote programming and training
strive4peace2006 at yahoo.com
*
Have an awesome day


rascal wrote:
> I have a database that has 3 tables: Associates, Tasks and Schedules. The
> associates table has a list of the associates and the individual tasks, if
> the particular task has a check mark in the box that means the associate can
> peform that task. What I would like to do, if possible, is have a module
> that looks to see if the associate is working that day (from the schedules
> table) and check to see if the associate can peform that task and if so
> automatically assign that task to that associate. However to ensure that all
> associates get their turn at the various tasks, it needs to look at the
> previous task asignments and not schedule them again to a particular
> associate until it has cycled through all the other associates. There all
> about 30 associates and 15 tasks. Can this be done in access? and if so how?
> Thanks for any help or suggestions.

 
Reply With Quote
 
=?Utf-8?B?cmFzY2Fs?=
Guest
Posts: n/a
 
      30th Apr 2006
Thanks Crystal:
I will try it that way and see how it goes and whether I can take it to the
next step.

"strive4peace" wrote:

> Hi Rascal,
>
> I am assuming you are using a bunch of checkboxes... there
> is a better way
>
> *Associates*
> AssocID, autonumber
> Firstname, text
> Lastname, text
> etc
>
> *Tasks*
> TaskID, autonumber
> Task, text
>
> *AssociateTasks*
> AssocTaskID, autonumber
> AssocID, long integer
> TaskID, long integer
>
> *Schedules*
> SchedID, autonumber
> SchedDate, date
> AssocID, long integer, DefaultValue--> =null
> TaskID, long integer
>
> create the records in Schedules that need to be performed
> (that is why you should set the DefaultValue of AssocID to
> null so there is not a problem with records not being filled
> out with AssocID when referential integrity is enforced)
>
> make a query showing the Tasks that each Accocite has
> already performed (or is assigned to):
>
> Name --> qryAssociateTasksPerformed
>
> SELECT DISTINCT AssocID, TaskID FROM Schedules
>
> First, figure out which associated have not been assigned
> tasks that need to be done I assume you are using the QBE
> grid to make your queries
>
> 1. make a new query
> 2. add qryAssociateTasksPerformed and Schedules for your
> fieldlists
>
> field --> AssocID
> table --> qryAssociateTasksPerformed
> criteria --> Is Null
>
> field --> TaskID
> table --> Schedules
>
> field --> AssocID
> table --> Schedules
> criteria --> Is Null
>
> this will give you a list of Associates that have not yet
> performed that task
>
> Hopefully, this gives you some food for thought and gets you
> thinking about a path you can take to solve your problem.
>
> Warm Regards,
> Crystal
> MVP Microsoft Access
>
> remote programming and training
> strive4peace2006 at yahoo.com
> *
> Have an awesome day
>
>
> rascal wrote:
> > I have a database that has 3 tables: Associates, Tasks and Schedules. The
> > associates table has a list of the associates and the individual tasks, if
> > the particular task has a check mark in the box that means the associate can
> > peform that task. What I would like to do, if possible, is have a module
> > that looks to see if the associate is working that day (from the schedules
> > table) and check to see if the associate can peform that task and if so
> > automatically assign that task to that associate. However to ensure that all
> > associates get their turn at the various tasks, it needs to look at the
> > previous task asignments and not schedule them again to a particular
> > associate until it has cycled through all the other associates. There all
> > about 30 associates and 15 tasks. Can this be done in access? and if so how?
> > Thanks for any help or suggestions.

>

 
Reply With Quote
 
strive4peace
Guest
Posts: n/a
 
      1st May 2006
you're welcome, Rascal

Warm Regards,
Crystal
MVP Microsoft Access

remote programming and training
strive4peace2006 at yahoo.com
*
Have an awesome day


rascal wrote:
> Thanks Crystal:
> I will try it that way and see how it goes and whether I can take it to the
> next step.
>
> "strive4peace" wrote:
>
>
>>Hi Rascal,
>>
>>I am assuming you are using a bunch of checkboxes... there
>>is a better way
>>
>>*Associates*
>>AssocID, autonumber
>>Firstname, text
>>Lastname, text
>>etc
>>
>>*Tasks*
>>TaskID, autonumber
>>Task, text
>>
>>*AssociateTasks*
>>AssocTaskID, autonumber
>>AssocID, long integer
>>TaskID, long integer
>>
>>*Schedules*
>>SchedID, autonumber
>>SchedDate, date
>>AssocID, long integer, DefaultValue--> =null
>>TaskID, long integer
>>
>>create the records in Schedules that need to be performed
>>(that is why you should set the DefaultValue of AssocID to
>>null so there is not a problem with records not being filled
>>out with AssocID when referential integrity is enforced)
>>
>>make a query showing the Tasks that each Accocite has
>>already performed (or is assigned to):
>>
>>Name --> qryAssociateTasksPerformed
>>
>>SELECT DISTINCT AssocID, TaskID FROM Schedules
>>
>>First, figure out which associated have not been assigned
>>tasks that need to be done I assume you are using the QBE
>>grid to make your queries
>>
>>1. make a new query
>>2. add qryAssociateTasksPerformed and Schedules for your
>>fieldlists
>>
>>field --> AssocID
>>table --> qryAssociateTasksPerformed
>>criteria --> Is Null
>>
>>field --> TaskID
>>table --> Schedules
>>
>>field --> AssocID
>>table --> Schedules
>>criteria --> Is Null
>>
>>this will give you a list of Associates that have not yet
>>performed that task
>>
>>Hopefully, this gives you some food for thought and gets you
>>thinking about a path you can take to solve your problem.
>>
>>Warm Regards,
>>Crystal
>>MVP Microsoft Access
>>
>> remote programming and training
>> strive4peace2006 at yahoo.com
>> *
>> Have an awesome day
>>
>>
>>rascal wrote:
>>
>>>I have a database that has 3 tables: Associates, Tasks and Schedules. The
>>>associates table has a list of the associates and the individual tasks, if
>>>the particular task has a check mark in the box that means the associate can
>>>peform that task. What I would like to do, if possible, is have a module
>>>that looks to see if the associate is working that day (from the schedules
>>>table) and check to see if the associate can peform that task and if so
>>>automatically assign that task to that associate. However to ensure that all
>>>associates get their turn at the various tasks, it needs to look at the
>>>previous task asignments and not schedule them again to a particular
>>>associate until it has cycled through all the other associates. There all
>>>about 30 associates and 15 tasks. Can this be done in access? and if so how?
>>>Thanks for any help or suggestions.

>>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I assign tasks to others and myself? Lorizt Microsoft Outlook Discussion 2 1st Oct 2008 11:31 PM
assign tasks show up as complete in Inbox but not tasks =?Utf-8?B?Um9iZXJ0?= Microsoft Outlook Discussion 0 27th Jul 2007 12:40 PM
Outlook tasks, assign subtasks, or related tasks =?Utf-8?B?UEo=?= Microsoft Outlook Discussion 1 8th Feb 2006 01:45 PM
Assign Tasks =?Utf-8?B?VGFzayBRdWVlbg==?= Microsoft Outlook Discussion 0 20th Jan 2006 10:16 PM
how to assign tasks =?Utf-8?B?bXVycmF5?= Microsoft Outlook Discussion 1 5th Jun 2004 04:51 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:53 PM.