I want to transfer data from a field on one form to a field on another. I assume I would use the following to transfer:
ItemID_AfterUpdate:
Me.ItemCharge = Forms!PriceList.ItemCharge
But here is where I am having the problem. PriceList is a continuous form that has ItemID and ItemCharge. So I need to transfer the ItemCharge where the ItemId's match. I was thinking something like this, but appear to be way off:
ItemID_AfterUpdate:
Me.ItemCharge = Forms!PriceList.ItemCharge WHERE "[ItemID]=" & Me![ItemID]
I know WHERE is not the right thing to use, but that is the only way I could explain what I want to accomplish. I hope I made it clear and can get some help on this. Thank you.
ItemID_AfterUpdate:
Me.ItemCharge = Forms!PriceList.ItemCharge
But here is where I am having the problem. PriceList is a continuous form that has ItemID and ItemCharge. So I need to transfer the ItemCharge where the ItemId's match. I was thinking something like this, but appear to be way off:
ItemID_AfterUpdate:
Me.ItemCharge = Forms!PriceList.ItemCharge WHERE "[ItemID]=" & Me![ItemID]
I know WHERE is not the right thing to use, but that is the only way I could explain what I want to accomplish. I hope I made it clear and can get some help on this. Thank you.