R
Robert Painter
Good morning,
Not sure why but I am struggling with forms using 3 tables.
I have a form with all details of employees(frmEmployees) and am now adding
email address and CV (resume) to this form. In order to keep normalisation
i created 2 new tables: tblEmail and tblCV and added relationships
EmployeeID - EmployeeIDFK.
When I tried to create a form using:
SELECT tblEmployees.CustomisedID, tblEmployees.Title,
tblEmployees.FirstName, tblEmployees.EmployeeName, tblEmployees.Address,
tblEmployees.City, tblEmployees.PostalCode, tblEmployees.HomePhone,
tblEmployees.MobilePhone, tblEmployees.DrivingLicenceExpires,
tblEmployees.EmploymentStatus, tblEmployees.Notes, tblEmployees.Driver,
tblEmployees.[Full/Part Time], tblEmployees.[Temp/Permanent work],
tblEmployees.Salary, tblEmployees.[Date of Registration],
[tblEmailAddress/CV].[E-mail Address], [tblEmailAddress/CV].CVfilepath,
tblEmployees.EmployeeID, tblCVfilePath.CVfilepath FROM tblCVfilePath,
tblEmployees INNER JOIN [tblEmailAddress/CV] ON tblEmployees.EmployeeID =
[tblEmailAddress/CV].EmployeeIDFK;
I can see all in design and datasheet view but in form view the form is
blank.
Whilst I have sat and tried to solve this problem I have found all ok if I
have tblEmployees and TblEmail but when adding tblCV then the form blanks.
I thought tblCV may have been at fault because it has CVID - Autonumber;
CVfilepath - hyperlink; EmployeeIDFK so added cvfiledpath to tblEmail
thinking the hyperlink had something to do with it but that worked fine if
tblcv was removed from sql statement.
I have just deleted tblCV then re-created it and added successfully to
tblEmployees then added relationships and all still seems ok.
Is anyone able to tell me why ??
I hate it when these things happen and i cannot sort it out.
Robert
Not sure why but I am struggling with forms using 3 tables.
I have a form with all details of employees(frmEmployees) and am now adding
email address and CV (resume) to this form. In order to keep normalisation
i created 2 new tables: tblEmail and tblCV and added relationships
EmployeeID - EmployeeIDFK.
When I tried to create a form using:
SELECT tblEmployees.CustomisedID, tblEmployees.Title,
tblEmployees.FirstName, tblEmployees.EmployeeName, tblEmployees.Address,
tblEmployees.City, tblEmployees.PostalCode, tblEmployees.HomePhone,
tblEmployees.MobilePhone, tblEmployees.DrivingLicenceExpires,
tblEmployees.EmploymentStatus, tblEmployees.Notes, tblEmployees.Driver,
tblEmployees.[Full/Part Time], tblEmployees.[Temp/Permanent work],
tblEmployees.Salary, tblEmployees.[Date of Registration],
[tblEmailAddress/CV].[E-mail Address], [tblEmailAddress/CV].CVfilepath,
tblEmployees.EmployeeID, tblCVfilePath.CVfilepath FROM tblCVfilePath,
tblEmployees INNER JOIN [tblEmailAddress/CV] ON tblEmployees.EmployeeID =
[tblEmailAddress/CV].EmployeeIDFK;
I can see all in design and datasheet view but in form view the form is
blank.
Whilst I have sat and tried to solve this problem I have found all ok if I
have tblEmployees and TblEmail but when adding tblCV then the form blanks.
I thought tblCV may have been at fault because it has CVID - Autonumber;
CVfilepath - hyperlink; EmployeeIDFK so added cvfiledpath to tblEmail
thinking the hyperlink had something to do with it but that worked fine if
tblcv was removed from sql statement.
I have just deleted tblCV then re-created it and added successfully to
tblEmployees then added relationships and all still seems ok.
Is anyone able to tell me why ??
I hate it when these things happen and i cannot sort it out.
Robert