Aloha!
Sorry for beeng a newie, maybe this is the wrong category for this post..
I'm just starting to try and learn Access 2007.
I have a table named Pricelist wit the fields [Company], [Resource] and [Price].
In another table named [Orders] I also have these fields but when I type in the Company and Resource I would like to get the price automaticy from the Price table.
So far I've created this question:
What I would like to to is somehow exange "ACME" and "1281" (wich I typed manually in the query) with the coresponding values from the field Company and Resource from the same record row in the Orders table?
Does this make any sense at all?
Sorry for my bad english.
Sorry for beeng a newie, maybe this is the wrong category for this post..
I'm just starting to try and learn Access 2007.
I have a table named Pricelist wit the fields [Company], [Resource] and [Price].
In another table named [Orders] I also have these fields but when I type in the Company and Resource I would like to get the price automaticy from the Price table.
So far I've created this question:
Code:
SELECT Pricelist.Price, Pricelist.Company, Pricelist.Resource
FROM Pricelist
WHERE (((Pricelist.Company)="ACME") AND ((Pricelist.Resource)="1281"));
What I would like to to is somehow exange "ACME" and "1281" (wich I typed manually in the query) with the coresponding values from the field Company and Resource from the same record row in the Orders table?
Does this make any sense at all?
Sorry for my bad english.