You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

triggering the push buton to delete opration

3 replies [Last post]
vijayalakshmi's picture
User offline. Last seen 7 years 39 weeks ago. Offline
Joined: 05/08/2012
Posts: 9

hi all,

i need to delete the existing value from the database in a page by clicking on button.
so where i shd write a code to perform this operation..
and in which event i shd write a peoplecode.

please give me the suggestions soon as much as possibe.
thank u al.

Manisha's picture
Manisha (not verified)
Re: triggering the push buton to delete opration

use delete property from record class and write your code on fieldchange of pushbutton.
e.g of using delete property is there in psbooks.

Lepa's picture
User offline. Last seen 1 year 31 weeks ago. Offline
Joined: 06/23/2008
Posts: 591
Re: triggering the push buton to delete opration

Your can also use PS delivered function SQLEXEC - you can pass your SQL delete statement in there. put a field on the page and put your code behind the the field change event on that field.

Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog

vijayalakshmi's picture
User offline. Last seen 7 years 39 weeks ago. Offline
Joined: 05/08/2012
Posts: 9
Re: triggering the push buton to delete opration

thank u all,
actually i have used delete row function.