R
Ron A.
I have a database that tracks quality control inspections. The inspection
data is entered with a form and a subform is used to enter the mechanics Man
No on the work order. Is there a way to have access not accept man no's not
already in the employee tbl and give a warning message to that effect. My
tables are set up like this:
ShopCodedtbl:
[shopcode] <-- primary key -- one to many with [shopcode] in EmployeeManNotbl.
[shopname]
EmployeeManNotbl:
[ManNo] <-- primary key -- one to many with [ManNo] in EmployeeInsptbl.
[LastName]
[FirstName]
[Position]
[Section]
[ShopCode]
EmployeeInsptbl:
[ID] <-- one to many with [ID] in InspRecordstbl.
[ManNo]
InspRecordstbl:
[ID] <-- primary key
[RegNo]
[W/O No]
[DateInsp]
[W/O Closed]
[InspBy]
[Pass] <--Check Box
[Fail] <--Check Box
[Discrepancies]
I have reports based on date queries to show inspections and sorted by
Employee Man No and when I run them with Man No's in the EmployeeInsptbl that
are not in the EmployeeManNotbl, the report comes up blank or is short
records. Any help is greatly appreciated.
data is entered with a form and a subform is used to enter the mechanics Man
No on the work order. Is there a way to have access not accept man no's not
already in the employee tbl and give a warning message to that effect. My
tables are set up like this:
ShopCodedtbl:
[shopcode] <-- primary key -- one to many with [shopcode] in EmployeeManNotbl.
[shopname]
EmployeeManNotbl:
[ManNo] <-- primary key -- one to many with [ManNo] in EmployeeInsptbl.
[LastName]
[FirstName]
[Position]
[Section]
[ShopCode]
EmployeeInsptbl:
[ID] <-- one to many with [ID] in InspRecordstbl.
[ManNo]
InspRecordstbl:
[ID] <-- primary key
[RegNo]
[W/O No]
[DateInsp]
[W/O Closed]
[InspBy]
[Pass] <--Check Box
[Fail] <--Check Box
[Discrepancies]
I have reports based on date queries to show inspections and sorted by
Employee Man No and when I run them with Man No's in the EmployeeInsptbl that
are not in the EmployeeManNotbl, the report comes up blank or is short
records. Any help is greatly appreciated.