Thanks in advance. I have two tables, table 1 and table 2 as per below. I want to update table 2 with values from the Cost and Parts fields in Table 1.
My question is, how would I match up the fields so that the data ends up in the right slots in Table 2?
Table 1:
ForeignKey...|Type...|Range...|Cost...|Parts
202..........|A......|1.......|$10....|120
202..........|A......|2.......|$50....|10
202..........|B......|1.......|$100...|30
202..........|B......|2.......|$5.....|0
Table 2 prior to data entered from Table 1:
ForeignKey...|FieldNm...|Range...|A...|B...
202..........|Cost......|1.......|....|....
202..........|Cost......|2.......|....|....
202..........|Parts.....|1.......|....|....
202..........|Parts.....|2.......|....|....
Desired result: Table 2 after data entered from Table 1:
ForeignKey...|FieldNm...|Range...|A.....|B...
202..........|Cost......|1.......|$10...|$100
202..........|Cost......|2.......|$50...|5
202..........|Parts.....|1.......|120...|30
202..........|Parts.....|2.......|10....|0
Rgds
Deutz
My question is, how would I match up the fields so that the data ends up in the right slots in Table 2?
Table 1:
ForeignKey...|Type...|Range...|Cost...|Parts
202..........|A......|1.......|$10....|120
202..........|A......|2.......|$50....|10
202..........|B......|1.......|$100...|30
202..........|B......|2.......|$5.....|0
Table 2 prior to data entered from Table 1:
ForeignKey...|FieldNm...|Range...|A...|B...
202..........|Cost......|1.......|....|....
202..........|Cost......|2.......|....|....
202..........|Parts.....|1.......|....|....
202..........|Parts.....|2.......|....|....
Desired result: Table 2 after data entered from Table 1:
ForeignKey...|FieldNm...|Range...|A.....|B...
202..........|Cost......|1.......|$10...|$100
202..........|Cost......|2.......|$50...|5
202..........|Parts.....|1.......|120...|30
202..........|Parts.....|2.......|10....|0
Rgds
Deutz