Problems creating subform

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I have an existing training records database. These are the three tables:

tblEmployees
EmployeeID (PK)
FirstName
LastName
etc.

tblTrainingSession
SessionID (PK)
Topic
Instructor
etc.

tblAttendance (junction table)
AttendanceID (PK)
EmployeeID (FK)
SessionID (FK)
SessionDate

There is a main form (frmSession) based on tblTrainingSession, and subform
(fsubAttendance) based on tblAttendance. fsubAttendance has a combo box
with tblEmployees as its row source, bound to EmployeeID.

All is well with this, but perhaps background will help with my question.

I am trying to expand this database's scope to include employment summaries,
which include Employer, StartDate, and EndDate for current and former
employers. I have created a table (tblSummary) to include this information.

tblSummary
SummaryID (PK)
EmployeeID (FK)
Employer
StartDate
EndDate

I have built a form (frmEmployee) based on tblEmployees, and a subform
(fsubSummary) based on tblSummary. I have established relationships between
PK fields and their namesake FK fields, including EmployeeID in tblEmployees
and in tblSummary. After I inserted the subform into frmEmployee, when I
attempt to start a subform record I receive the error message that there was
a problem communicating with the OLE server or ActiveX control. After doing
some research and learning that corruption could be a problem, I went to
another copy of the database and tried again. This time I had no
difficulties, and so far everything is behaving -- I have employment summary
records associated with each employee. It's the "so far" part that has me
worried. Is this a problem waiting to crop up again? Is there anything I
am doing that is increasing the risk of corruption? By the way, I don't
have Norton antivirus (I understand the error message can result from
conflicts with Norton).




.



Relevant Pages

  • Re: Need help with Tables Design and Relationships
    ... > AssigneeID in Both of those tables. ... > BoardTaskAssignments table. ... > AssigneeID (do a lookup of EmployeeID from tblEmployees) ...
    (microsoft.public.access.tablesdbdesign)
  • help with turnover query
    ... it is counting every employeeID, even those who will be marked as inactive. ... I'll be dividing the number who quit in that time period by the proper amount ... of active workers at that time. ... tblEmployees: EmployeeID, DateHired ...
    (microsoft.public.access.queries)
  • Need a bit of help
    ... it is counting every employeeID, even those who will be marked as inactive. ... I'll be dividing the number who quit in that time period by the proper amount ... of active workers at that time. ... tblEmployees: EmployeeID, DateHired ...
    (microsoft.public.access.queries)
  • Re: Need a bit of help
    ... FROM tblEmployees as E LEFT JOIN tblResignation as R ... That should count everyone still employed as of the cutoff date. ... > it is counting every employeeID, even those who will be marked as inactive. ...
    (microsoft.public.access.queries)
  • Re: Problems with subforms
    ... Main Table is made with TblEmployees ... CourseName (Tbl Courses) ... Subform linked to main form by Employee ID fields. ... I have linked the forms by EmployeeID. ...
    (microsoft.public.access.forms)