hello, I am new to access, so I know nothing apart from the information I need to make my project.
my question is this:
I have a receipt type of form, with a sub-form that gives me a list of products being purchased within that one invoice which is the relationship to the main form.
I have a third table with codes, and prices of all products which is not connected to that form at the moment. it is joined to the sub-form table as a one to many relationship, by the item code.
what I cant find anywhere, is how to make this function: when I type in a code in the sub-form, it will look into the third table, find the product and fill in the "price" field for that row, equal to that in the third table.
I probably don't know what this action is called, which is why I cant find it anywhere.
also, since I don't know much about access, I need more than just a line of code, I will need an explanation of how to put it in and so on.
thank you.
my question is this:
I have a receipt type of form, with a sub-form that gives me a list of products being purchased within that one invoice which is the relationship to the main form.
I have a third table with codes, and prices of all products which is not connected to that form at the moment. it is joined to the sub-form table as a one to many relationship, by the item code.
what I cant find anywhere, is how to make this function: when I type in a code in the sub-form, it will look into the third table, find the product and fill in the "price" field for that row, equal to that in the third table.
I probably don't know what this action is called, which is why I cant find it anywhere.
also, since I don't know much about access, I need more than just a line of code, I will need an explanation of how to put it in and so on.
thank you.