D
Derek Brown
Hi All
When I delete a record from the main form, a query that selects data for the
subform asks for a parameter value that is normally obtained from a toggle
button within the subform. How can I stop this?
This is the SQL of the sub-subform
SELECT Item.InvoiceCode, Item.ItemNumber, Item.ProductID, Item.Product,
Item.Description, Item.Quantities, Item.RetailPrice, Item.WholesalePrice,
Item.Category, Item.Quantity, [Quantity]*[RetailPrice] AS TotalItem,
Item.InvoiceNumber, Item.Paid
FROM Item
WHERE (((Item.Paid)=0 Or
(Item.Paid)=[Forms]![SchoolsForm]![InvoiceForm].[Form]![ItemForm].[Form]![ActivityFrame]));
When I delete a record from the main form, a query that selects data for the
subform asks for a parameter value that is normally obtained from a toggle
button within the subform. How can I stop this?
This is the SQL of the sub-subform
SELECT Item.InvoiceCode, Item.ItemNumber, Item.ProductID, Item.Product,
Item.Description, Item.Quantities, Item.RetailPrice, Item.WholesalePrice,
Item.Category, Item.Quantity, [Quantity]*[RetailPrice] AS TotalItem,
Item.InvoiceNumber, Item.Paid
FROM Item
WHERE (((Item.Paid)=0 Or
(Item.Paid)=[Forms]![SchoolsForm]![InvoiceForm].[Form]![ItemForm].[Form]![ActivityFrame]));