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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have a table of employees. I hav 1

Status
Not open for further replies.

CindiN

Instructor
Jan 30, 2001
98
US
I have a table of employees. I have a table of courses by level, category and courses i.e., Level 1, (Category) Human Resourses, (Courses) Performance Management & Compensation and Benefits. Then I have a table that shows each employee, the courses they've taken and if they passed or failed.

I created a form that has a combo box lookup, so that the user can either type or hit the drop down to look up a paticular employee. Then the form will bring up that employee's information, like Division, Location etc. I put a command button on this form that takes me to another form that shows all the Categories and Courses (within ea. category) AND everything on this form is just for Level 1. I'll make a separate form for Level 2 and Level 3. This form is created from a query that has been copied with the criteria changed for each Category so only the courses for that particular catetory show up. Another words, on the form, I have a Label Called HR. Next to that a Unbound text box that has a query for the Record Source, and it's criteria is only the HR courses. Then the next Category Label is listed with another Unbound text box using the same query in the Record Source, except the criteria is changed for that particular category, and so forth down the form.

What I am trying to accomplish is to add the pass/fail results by employee by course. I've tried adding it to the query in the Unbound text boxes that list the courses for each category; and I've tried adding another Unbound text box next to each course with an IIF statement. None seem to work. I'll show an example below:

Employee Name: Joe Schmoo

Human Resources: Performance Management Completed
Compensation & Benefits Needed

Leadership: Conflict Resolution Needed
Speaking/Presentations Completed
(etc)

I hope this all makes sense. I've tried posting this question with less detail, but I can't seem to explain it correctly that way. Thank you for your help.
P.S. I'm not very familiar with writing code or SQL.
Thank,
CindiN
 
Hey guys,
Can someone pleeeese help me with this?
I would really appreciate it!
CindiN
 
Hi again CindiN,

If you can't get any help on this today pop a sample file through to me at Alex_McCarthy@intuit.com and I'll have a proper look for you
 
Thanks RivetHed, I'm trying to send, but may have to zip it.

CindiN
 
CindiN

What kind of error are you getting? Your form (or subform) should have as it's record source the 'table' that includes the Employee ID and Pass/Fail field. You will not be able to update the table using a query of the table.

I suspect your tables are arranged as follows:

tblCourses: courseID, level, category, course
tblCoursesTaken: courseID, employeeID, passFail
tblEmployees: employeeID, name, divisionID, locationID
... etc

I think you will need to use a subform with the main form using unbounded fields to select the course by selecting three drop down criteria (level, category and course). The subform would contain a continuous form listing all the employees enrolled in the course (set up previously or at the same time) and a field to indicate the Pass/Fail.(Y/N check box).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top