M
Microsoft News
I am using a form with a subform to perform a query on an Access database.
The sub-form performs the following query:
SELECT DISTINCTROW Payments.* FROM Payments WHERE
(((Payments.WorkorderID)=[forms]![Workorders by Customer]![Workorders by
Customer Subform].[form]![WorkorderID]));
So I have a subset of a single table filtered by WorkorderID. I then want to
be able to add new records directly from the datasheet but I cannot get them
in the table. I have checked the rules on adding to queries and I cannot see
how this fails.
Seems to me the new record needs to have a forced item (ie. the filter
condition) of the WorkorderID (the item used to filter the recordset).
Any help appreciated.
Barry.
The sub-form performs the following query:
SELECT DISTINCTROW Payments.* FROM Payments WHERE
(((Payments.WorkorderID)=[forms]![Workorders by Customer]![Workorders by
Customer Subform].[form]![WorkorderID]));
So I have a subset of a single table filtered by WorkorderID. I then want to
be able to add new records directly from the datasheet but I cannot get them
in the table. I have checked the rules on adding to queries and I cannot see
how this fails.
Seems to me the new record needs to have a forced item (ie. the filter
condition) of the WorkorderID (the item used to filter the recordset).
Any help appreciated.
Barry.