CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 delete option next to a grid row

Print topic Send  topic

Author Message
steffen baumgarten
Posted: 03/11/2001, 6:44 AM

Hello,
I know how to delete a record from a grid by "Grid: edit"->"Record: delete".
But how is it possible to delete a row directly, without going to its
record, just with a "[del]" link next to the grid-row?

Thanks in advance for your help!

Steffen from Germany





Alexey Alexapolsky
Posted: 03/12/2001, 3:40 AM

In your grid create url , that will point to a "Delete script".
in url's properties "Output" tab , specify primary key of your record.
when user clicks on this url , he'll be redirected to delete script ,
that'll delete the record and redirect you somewhere(back,for instance).
You may create this delete script in codecharge. it'll might be a "record"
page , but in form properties/events you must change open event to something
like :
ssql = "delete from items where item_id=" & getParam("item_id")
response.buffer=true
response.clear
response.redirect ("somescript.asp")

--
Regards,
Alexey
CodeCharge Support


steffen baumgarten <baumgarten@xsite.de> wrote in message
news:98g2vm$8md$1@mail.tankhill.com...
> Hello,
> I know how to delete a record from a grid by "Grid: edit"->"Record:
delete".
> But how is it possible to delete a row directly, without going to its
> record, just with a "[del]" link next to the grid-row?
>
> Thanks in advance for your help!
>
> Steffen from Germany
>
>
>
>
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.