I want to have input from user
so I did something like this:
declare @param int
SELECT dbo.tblOrders.MedicineNum
FROM dbo.tblOrders INNER JOIN
dbo.tblMedicine ON dbo.tblOrders.MedicineNum = dbo.tblMedicine.MedicineNum
GROUP BY dbo.tblOrders.MedicineNum
HAVING (COUNT(dbo.tblOrders.MedicineNum) > @param)[/color blue]
but it doesn't show me a box or anything to write an input!!!
can anyone help me with this?
so I did something like this:
declare @param int
SELECT dbo.tblOrders.MedicineNum
FROM dbo.tblOrders INNER JOIN
dbo.tblMedicine ON dbo.tblOrders.MedicineNum = dbo.tblMedicine.MedicineNum
GROUP BY dbo.tblOrders.MedicineNum
HAVING (COUNT(dbo.tblOrders.MedicineNum) > @param)[/color blue]
but it doesn't show me a box or anything to write an input!!!
can anyone help me with this?