I've muddled through trying to put together a query that takes info from a table and another query so that I can input a Part# and have in spit back all the vendors and prices in US Dollars.
SELECT [PartName], [Part#], [Vendor], [In US Dollars] AS [Price/Unit]
FROM [Euros to Dollars]
UNION SELECT [PartName], [Part#], [Vendor], [Price/Unit]
FROM [Parts]
WHERE [Currency]="Dollars";
I've gotten this far. This asks for a PartName. I could put in "shoe" and it will list parts as having the name "shoe" and spit the list out at me in no particular order. Needles to say this isn't a useful function. I've also added further fields to the query and it asks for a value for them as well.
How do I get it to ask for a Part# and just spit out that info without asking anything else? Preferably aranged from lowest to highest Price/Unit?
Thanks!
SELECT [PartName], [Part#], [Vendor], [In US Dollars] AS [Price/Unit]
FROM [Euros to Dollars]
UNION SELECT [PartName], [Part#], [Vendor], [Price/Unit]
FROM [Parts]
WHERE [Currency]="Dollars";
I've gotten this far. This asks for a PartName. I could put in "shoe" and it will list parts as having the name "shoe" and spit the list out at me in no particular order. Needles to say this isn't a useful function. I've also added further fields to the query and it asks for a value for them as well.
How do I get it to ask for a Part# and just spit out that info without asking anything else? Preferably aranged from lowest to highest Price/Unit?
Thanks!