chrisinparra
Technical User
I don't know what I am doing wrong here. It is doing my head in but hopefully it is something simple.
I have a query as follows
SELECT [Count List].Barcode, [Count List].[No Units in Carton], [Count List].[No Cartons], [Count List].[No Singles], [_Item List Current QRY].LastOfDescription, [_Item List Current QRY].[LastOfUnit Sale Price], [Count List].[Order No]
FROM [_Item List Current QRY] INNER JOIN [Count List] ON [_Item List Current QRY].[Barcode] = [Count List].[Barcode]
WHERE ((([Count List].[Order No])=[Forms]![Order Detail]![txtOrderID]));
I have this query as the record source for a listbox on a form. When I open the form, I want the form to open with the listbox showing the records for the relevant order. But instead, before the form opens, an input box comes up asking for 'Enter Parameter Value?' with the reference [Forms]![Order Detail]![txtOrderID]
I have tried referring to both a textbox on the form being opened, and a listbox on the form prior and I get the same popup. What am I doing wrong?
I have a query as follows
SELECT [Count List].Barcode, [Count List].[No Units in Carton], [Count List].[No Cartons], [Count List].[No Singles], [_Item List Current QRY].LastOfDescription, [_Item List Current QRY].[LastOfUnit Sale Price], [Count List].[Order No]
FROM [_Item List Current QRY] INNER JOIN [Count List] ON [_Item List Current QRY].[Barcode] = [Count List].[Barcode]
WHERE ((([Count List].[Order No])=[Forms]![Order Detail]![txtOrderID]));
I have this query as the record source for a listbox on a form. When I open the form, I want the form to open with the listbox showing the records for the relevant order. But instead, before the form opens, an input box comes up asking for 'Enter Parameter Value?' with the reference [Forms]![Order Detail]![txtOrderID]
I have tried referring to both a textbox on the form being opened, and a listbox on the form prior and I get the same popup. What am I doing wrong?