E
Ed Cohen
I have created a procedure in Access using the query tab, as follows:
PROCEDURE CasesToBottles [NumCases] IEEEDouble, [ItemNumber] Text ( 255 );
SELECT DISTINCT Round(([NumCases] * (Select BottlesPerCase FROM Items WHERE
ProdNumber = [ItemNumber])),0) AS NumBottles
FROM Sales;
I saved this "query" as qryCasesToBottles. I want to call this query from
within other queries. But so far, I can't get the syntax right. Can anyone
help? thank you
Ed Cohen
PROCEDURE CasesToBottles [NumCases] IEEEDouble, [ItemNumber] Text ( 255 );
SELECT DISTINCT Round(([NumCases] * (Select BottlesPerCase FROM Items WHERE
ProdNumber = [ItemNumber])),0) AS NumBottles
FROM Sales;
I saved this "query" as qryCasesToBottles. I want to call this query from
within other queries. But so far, I can't get the syntax right. Can anyone
help? thank you
Ed Cohen