I need to update a column on bulk of records using udpate_recordset.
The value would be a sum of amount being retrieved from another table. Here is the syntax that I come up with. both table1 and table2 are tempDB.
update_recordSet table1
setting value= table2.Amount
join sum (amount) from table2
where table1.ID== table2.ID;
it passed the compiler but throws the following error on runtime
Cannot edit a record in table1.
The record has never been selected.
any thoughts?
-Fahad
*This post is locked for comments
I have the same question (0)