W
Wayne
I have a main form called PrintRequisition with the
following query as its record source:
SELECT Print_Requisition.PrintReqID,
Print_Requisition.ProjectID, Projects.ProjectName,
Projects.EmployeeID, [LastName] & ", " & [FirstName] AS Expr1
FROM Employees RIGHT JOIN (Print_Requisition INNER JOIN
Projects ON Print_Requisition.ProjectID =
Projects.ProjectID) ON Employees.EmployeeID =
Projects.EmployeeID
ORDER BY [LastName] & ", " & [FirstName];
I then have a sub form called PrintReq_Subform with this
query as its record source:
SELECT [PrintReq_Sub Query1].PrintSubID,
PrintReq_Sub.PrintReqID, PrintReq_Sub.Date,
PrintReq_Sub.PrintsFor, PrintReq_Sub.RequestedBy,
PrintReq_Sub.Description, PrintReq_Sub.Type,
PrintReq_Sub.PaperSize, PrintReq_Sub.FirstQuantity,
PrintReq_Sub.Copies, PrintReq_Sub.PrintFee,
PrintReq_Sub.Postage, PrintReq_Sub.PostageFee
FROM PrintReq_Sub INNER JOIN [PrintReq_Sub Query1] ON
PrintReq_Sub.PrintSubID = [PrintReq_Sub Query1].PrintSubID
WITH OWNERACCESS OPTION;
This query refers to a sub query:
SELECT PrintReq_Sub.PrintSubID, PrintReq_Sub.PrintReqID
FROM Print_Requisition LEFT JOIN PrintReq_Sub ON
Print_Requisition.PrintReqID = PrintReq_Sub.PrintReqID
WHERE
(((PrintReq_Sub.PrintReqID)=[Print_Requisition].[PrintReqID]));
This was the only solution I could find so that the correct
data is displayed in the sub form according to the current
record in the main for.
The problem is that this query/subform only displays the
current data. It will not let me change any existing data
or add new records.
Can someone please tell me what i've done wrong and how to
fix this problem??
Thanks
following query as its record source:
SELECT Print_Requisition.PrintReqID,
Print_Requisition.ProjectID, Projects.ProjectName,
Projects.EmployeeID, [LastName] & ", " & [FirstName] AS Expr1
FROM Employees RIGHT JOIN (Print_Requisition INNER JOIN
Projects ON Print_Requisition.ProjectID =
Projects.ProjectID) ON Employees.EmployeeID =
Projects.EmployeeID
ORDER BY [LastName] & ", " & [FirstName];
I then have a sub form called PrintReq_Subform with this
query as its record source:
SELECT [PrintReq_Sub Query1].PrintSubID,
PrintReq_Sub.PrintReqID, PrintReq_Sub.Date,
PrintReq_Sub.PrintsFor, PrintReq_Sub.RequestedBy,
PrintReq_Sub.Description, PrintReq_Sub.Type,
PrintReq_Sub.PaperSize, PrintReq_Sub.FirstQuantity,
PrintReq_Sub.Copies, PrintReq_Sub.PrintFee,
PrintReq_Sub.Postage, PrintReq_Sub.PostageFee
FROM PrintReq_Sub INNER JOIN [PrintReq_Sub Query1] ON
PrintReq_Sub.PrintSubID = [PrintReq_Sub Query1].PrintSubID
WITH OWNERACCESS OPTION;
This query refers to a sub query:
SELECT PrintReq_Sub.PrintSubID, PrintReq_Sub.PrintReqID
FROM Print_Requisition LEFT JOIN PrintReq_Sub ON
Print_Requisition.PrintReqID = PrintReq_Sub.PrintReqID
WHERE
(((PrintReq_Sub.PrintReqID)=[Print_Requisition].[PrintReqID]));
This was the only solution I could find so that the correct
data is displayed in the sub form according to the current
record in the main for.
The problem is that this query/subform only displays the
current data. It will not let me change any existing data
or add new records.
Can someone please tell me what i've done wrong and how to
fix this problem??
Thanks