Thumper2004
Technical User
I want to update table 1 field 1 with a value from table 2 field 1 and keep getting subquery returns more than one record.
update table 1 field 1;
from table 2 field 1;
where table1.key=table2.key
thanks for any help!
vfp9 is what we are using.
update table 1 field 1;
from table 2 field 1;
where table1.key=table2.key
Code:
UPDATE table1 t1;
SET field 1 =;
(select t2.field1;
from table1 t1;
join table2 t2 on t1.key=t2.key;
where t1.field2 BETWEEN CTOD("01/01/1900") and CTOD("04/23/2018") and t1.field1 = ctod(""))
thanks for any help!
vfp9 is what we are using.