The following update statement is throwing the error "SQL expression is too complex"
UPDATE "C:\scratch\INS.DBF"
SET c = (
SELECT tu.newc
FROM "C:\scratch\TOUPDATE.DBF" as tu
WHERE tu.rec = INS.rec
)
WHERE rec in (select rec from "C:\scratch\TOUPDATE.DBF")
I also tried with the last WHERE clause being "WHERE EXISTS...", but I get the same error.
What am I missing? The TOUPDATE.DBF table is only a few hundred rows - although the INS table is about 34000 rows.