SELECT [T_Job Info].[Job Number], [T_Job Info].[Job Name], [T_Job Info].[Date
Entered], T_DBaseUsers.[Database User], T_Originator.Originator, [T_Status
Type Descriptions].Status, [T_Work Type Descriptions].[Work Type],
T_Departments.Department, [T_Contract Type Descriptions].[Contract Type]
FROM T_Estimators, [T_Work Type Descriptions] INNER JOIN ([T_Status Type
Descriptions] INNER JOIN (T_Originator INNER JOIN (T_Departments INNER JOIN
(T_DBaseUsers INNER JOIN ([T_Job Info] INNER JOIN [T_Contract Type
Descriptions] ON [T_Job Info].[Contract Type ID] = [T_Contract Type
Descriptions].[Contract Type ID]) ON T_DBaseUsers.[DBUser ID] = [T_Job
Info].[DBUser ID]) ON T_Departments.[Department ID] = [T_Job
Info].[Department ID]) ON T_Originator.[Originator ID] = [T_Job
Info].[Originator ID]) ON [T_Status Type Descriptions].[Status ID] = [T_Job
Info].[Status ID]) ON [T_Work Type Descriptions].[Work Type ID] = [T_Job
Info].[Work Type ID]
WHERE ((([T_Job Info].[Job Number])=[Please Enter Job Number]));
Duane Hookom said:
How about sharing your SQL view of your query?
--
Duane Hookom
MS Access MVP
Yes the job number is the primary key, and no - there is only one record
per
number.
:
Is 'job #' the primary key for the table? It sounds like it should be. If
it
isn't, have you actually looked at the table to see if there are not in
fact
many duplicates of this record?
--
Chaim
:
I have a query including fields job #, job name, DBuser, date entered.
It
works fine until I enter criteria [Please enter job number] for the
user to
enter the job number to view a record. When I enter the criteria it
show me
about 50 "copies" of the same record. I have never run across this
before.
any help is appreciated.