Hi guys,
I have a question regarding linking tables together. I've run out of my expertise for this, so I'm hoping someone here has a solution (as you always do - almost).
I have a table (LabNumber) with a primary key (OldLabNumber) and a field (CompanyID). I want to link that to a table (Reports) with no primary key, but with an autonumber field (ReportID) and a number field (CompanyID), linking on the CompanyID fields. Try as I might, I can't get this to work. I have tried redefining the Reports table with the CompanyID field as a primary key (that didn't work) and defining the ReportID field as a primary key (that didn't work either).
The need here is to link one more table beyond this (a company data look up table), also with a CompanyID field for use on a Crystal report. The third and last table, and the Reports table are serving as sort of look up tables. Am I overlooking something simple here?
I have a question regarding linking tables together. I've run out of my expertise for this, so I'm hoping someone here has a solution (as you always do - almost).
I have a table (LabNumber) with a primary key (OldLabNumber) and a field (CompanyID). I want to link that to a table (Reports) with no primary key, but with an autonumber field (ReportID) and a number field (CompanyID), linking on the CompanyID fields. Try as I might, I can't get this to work. I have tried redefining the Reports table with the CompanyID field as a primary key (that didn't work) and defining the ReportID field as a primary key (that didn't work either).
The need here is to link one more table beyond this (a company data look up table), also with a CompanyID field for use on a Crystal report. The third and last table, and the Reports table are serving as sort of look up tables. Am I overlooking something simple here?