I am using VFP 6.0 and trying to update a field in a table with a value from a field in another table. Here's what I have tried:
UPDATE ACARINV.AI_GLCOST WITH SHIP.TRANS_AMT from ACARINV LEFT OUTER JOIN SHIP ON ACARINV.AI_CONO = SHIP.CO_NUMBER, ACARINV.AI_LNNO = SHIP.LN_NO,
ACARINV.AI_SHIPNO = SHIP.SHPMNT_NO
I've searched and can't find any examples as to how to do this. When I tried creating a VIEW, it told me I don't have a database open. I'm using free tables. Can anyone point me in the right direction?
Thanks,
mapman04
UPDATE ACARINV.AI_GLCOST WITH SHIP.TRANS_AMT from ACARINV LEFT OUTER JOIN SHIP ON ACARINV.AI_CONO = SHIP.CO_NUMBER, ACARINV.AI_LNNO = SHIP.LN_NO,
ACARINV.AI_SHIPNO = SHIP.SHPMNT_NO
I've searched and can't find any examples as to how to do this. When I tried creating a VIEW, it told me I don't have a database open. I'm using free tables. Can anyone point me in the right direction?
Thanks,
mapman04