Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is the best way to design a task selector.... 1

Status
Not open for further replies.

Pack10

Programmer
Feb 3, 2010
495
US
I am developing an app where a supervisor will be assigning tasks to staffers. What they want is some type of rolling ticker that automatically picks the next name in the list. What's the best design for something like that. (Would date/time assigned) be the way to go.
 
What "list"? How would a staffer become "next"? What do you mean by automatically picks?

Have you created any tables yet?

Do you need to track when a staffer might be on PTO/holiday/vacation/sick?






































Duane
Hook'D on Access
MS Access MVP
 
No tables have been created.
Items come into a mailbox. A supervisor will assign that to a staffer. By list, I mean the 6 staffers that can be assigned to. I guess it's like a stack. Next one on the stack gets the assignment. I am thinking of a table of the 6 names with a field for date/time selected. When selected store the date time in the record with the oldest date time value. Do you have a better design.
 
Are you building an Access application? If you have a database and a table

tblStaff
staffID
other staff fields

tblTasks
taskID
taskDescription
staffID_fk (foreign key relating a task to a staff member)
dtmAssigned (date assigned)

the next person can be determined as follows

qryNextAssign:

SELECT Top 1
tblStaff.StaffID,
tblStaff.LastName,
FROM
tblStaff LEFT JOIN tblTasks ON tblStaff.StaffID = tblTasks.staffID_fk
ORDER BY
tblTasks.dtmAssigned,
tblStaff.LastName;

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top