I have a connected database that I want to be able to create a selection box on, which once filled out I can click on a button and update my connected SQL Query. This is the query and it is fairly simple. I want to be able to change the item in the where statement. Anyone ever do this? I have found online where someone did something like this but I really did not understand the process described.
select ITM.Item, ITM.Descr as 'Description', ITM.PurchPrice as 'Purchase Price', ITM.EAI, ITM.OrdQtyEOQ as 'EOQ', ITM.Buyer, IW.[QtyOnHand] as 'Quantity on Hand', ITM.InvOnOrder as 'On Order', IW.[WH] as 'Warehouse'
From SpectraData.dbo.Items as ITM
left outer join SpectraData.[live].[RV_InvItemWH] as IW on
ITM.Item = IW.Item
where ITM.item = '90947689'
Thanks everyone!
select ITM.Item, ITM.Descr as 'Description', ITM.PurchPrice as 'Purchase Price', ITM.EAI, ITM.OrdQtyEOQ as 'EOQ', ITM.Buyer, IW.[QtyOnHand] as 'Quantity on Hand', ITM.InvOnOrder as 'On Order', IW.[WH] as 'Warehouse'
From SpectraData.dbo.Items as ITM
left outer join SpectraData.[live].[RV_InvItemWH] as IW on
ITM.Item = IW.Item
where ITM.item = '90947689'
Thanks everyone!