Update vouchers
set name = l.name
from ledger l, vouchers v
where l.v_no = v.v_no
This works in SQL server. Why doesn't it work in Access or may be the syntax
is
different?
thx of any help
The join syntax is different in JET (Acess) SQL. Try this:
UPDATE vouchers v
INNER JOIN ledger l ON v.v_no = l.v_no
SET v.name = l.name;
--
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)