Hi,
I have a form which carries out a filter / search on a table and displays it in a subform using via query. The search essentially uses criteria selected on the form to filter down the data.
What I want to do is in the subform showing the filtered results, double click the record selector (or anywhere on the record line) and have that record "appended" to a table to temporarily house the data. I then want to be able to repeat this on another record and append that one to the same table etc.
Here is the SQL taken from the query which is used on the subform (Order_Product_Search subform) to display the filtered result set, this is displayed on the form (Purchase_Requisition):
I want it to append the record to the "Order_Holding" table, this destination table essentially ahs the exact same fields as the query.
Thanks in advance for your help!!!
Jon
I have a form which carries out a filter / search on a table and displays it in a subform using via query. The search essentially uses criteria selected on the form to filter down the data.
What I want to do is in the subform showing the filtered results, double click the record selector (or anywhere on the record line) and have that record "appended" to a table to temporarily house the data. I then want to be able to repeat this on another record and append that one to the same table etc.
Here is the SQL taken from the query which is used on the subform (Order_Product_Search subform) to display the filtered result set, this is displayed on the form (Purchase_Requisition):
Code:
SELECT Products.Product_ID, Products.Supplier, Products.Principle, Products.Category, Products.Item, Products.Description, Products.Product_Code, Products.Price_£, Products.ISO_17025_Certified, Products.Notes
FROM Products
WHERE (((Products.Supplier) Like "*" & [Forms]![Purchase_Requisition]![Supplier_Search] & "*") AND ((Products.Principle) Like "*" & [Forms]![Purchase_Requisition]![Principle_Search] & "*") AND ((Products.Category) Like "*" & [Forms]![Purchase_Requisition]![Category_Search] & "*") AND ((Products.Retired_Date) Is Null))
ORDER BY Products.Supplier, Products.Principle, Products.Category;
I want it to append the record to the "Order_Holding" table, this destination table essentially ahs the exact same fields as the query.
Thanks in advance for your help!!!
Jon