Joost Try using the %DeleteId() method instead of the %Delete() method! Regards George
George James Software VC/m - The force of change www.georgejames.com +44-1932-252568 > -----Original Message----- > From: Joost Verhoog [mailto:j.verhoog.AT.saltro.nl] > Posted At: 11 August 2004 13:28 > Posted To: Cach� Newsgroup > Conversation: %Delete <LIST> error > Subject: %Delete <LIST> error > > > I've got a really strange error. I've got a class > TestPersoon, and I want to delete one. When I call > > "User.TestPersoon".%Delete(1) > > on my CSP page, I get this error: > > ---------------------- > A run-time error occurred while executing the page > > Error: <LIST>%Delete^User.TestPersoon.1 > ErrorNo: 5002 > CSP Page: /csp/user/verwijderdefinitief.csp > Namespace: USER > Class: csp.verwijderdefinitief > Routine: User.TestPersoon.1 > Location: %Delete > Line: %Delete(oid,concurrency) public { Set > oid=$get(oid),concurrency=$get(concurrency,-1) Quit:oid="" > $$Error^%apiOBJ(5813) Set id=$lg(oid) Quit:id="" $$Error^%apiOBJ(5812) > ----------------------- > > Does anyone know what the problem is? > > Joost Verhoog > >
