Hi Dragan
>You create a SPT cursor from that table with sqlexec(h, "select * from #temp", "mycursor"), then cursorsetprop() a bunch of things for that cursor - update tables, primary key, update fields, pretty much the same way VFP does it for the updatable views. Then you fill the cursor and do a tableupdate(). You can find the code here in either downloads or FAQ - look for Vlad Grynchyshyn, he wrote that.
Thanks checking it out now.