I have a table in foxpro like this.
And I have another like this.
I need my table 1 like this,
Here I need to update Fcty field when the prodFty is SFC/VTM/SGL. Others I don't need to change anything and I need to update Fcty as the prodFty.
Can anyone please answer for this?
Thank you.
Code:
[b]prodFty WHCode Qty Fcty[/b]
SFC 1234D 456
VTM 654F 12
SGL 652Y 87
FMF 1654I 120
FMA 875P 45
And I have another like this.
Code:
[b]Fcty[/b]
SGL
I need my table 1 like this,
Code:
prodFty WHCode Qty Fcty
SFC 1234D 456 SGL
VTM 654F 12 SGL
SGL 652Y 87 SGL
FMF 1654I 120 FMF
FMA 875P 45 FMA
Can anyone please answer for this?
Thank you.