T
thedrumdoctor
I’ll try and simplify this by only including fields from the tables in
question which are relevant to the query I want to perform. First of all,
I’ll start with Table A:
Table A
StockNumber (PK, auto number)
UnitCost (Currency)
Table B
StockNumber (Number)
UnitCost (Currency)
[Table A.StockNumber] has a one-to-many relationship with [Table
B.StockNumber]
At the moment, [Table B.UnitCost] contains currency values that I want to
transfer to [Table A.UnitCost].
The [StockNumber] fields on both tables obviously link the two tables
together so I want to create a query along the lines of:
Where the number value in [Table A.StockNumber] is equal to the number value
in [Table B.StockNumber], update the [Table A.UnitCost] currency value to the
currency value held in [Table B.UnitCost].
I hope this makes sense!
Unfortunately, I don’t know what the syntax for this would be in Design View
or how I would go about doing it in SQL view, if indeed that would turn out
to be the best solution.
question which are relevant to the query I want to perform. First of all,
I’ll start with Table A:
Table A
StockNumber (PK, auto number)
UnitCost (Currency)
Table B
StockNumber (Number)
UnitCost (Currency)
[Table A.StockNumber] has a one-to-many relationship with [Table
B.StockNumber]
At the moment, [Table B.UnitCost] contains currency values that I want to
transfer to [Table A.UnitCost].
The [StockNumber] fields on both tables obviously link the two tables
together so I want to create a query along the lines of:
Where the number value in [Table A.StockNumber] is equal to the number value
in [Table B.StockNumber], update the [Table A.UnitCost] currency value to the
currency value held in [Table B.UnitCost].
I hope this makes sense!
Unfortunately, I don’t know what the syntax for this would be in Design View
or how I would go about doing it in SQL view, if indeed that would turn out
to be the best solution.