CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Delete Register??

Print topic Send  topic

Author Message
Vicente Barberá
Posted: 02/28/2002, 4:42 AM

Hi,

How can i put a link of delete register in each register??? In a grid form.

Example

Register 1 Delete
Register 2 Delete
Register 3 Delete
.
.
.
Register N Delete



Alexey Alexapolsky
Posted: 02/28/2002, 8:38 AM

Add URL field to the Grid.
Click "field properties and select output tab.
Add record primary key field at this tab.
Make this URL point to delete page.
In delete page/open even place this code :

dim id = GetParam("record_id")

IF not IsEmpty(id) THEN cn.execute "delete from table where record_id=" &
id

--
Alex
CodeCharge Developer


"Vicente Barberá" <vicente@ideas-e.net> wrote in message
news:a5l8k4$suk$1@news.codecharge.com...
> Hi,
>
> How can i put a link of delete register in each register??? In a grid
form.
>
> Example
>
> Register 1 Delete
> Register 2 Delete
> Register 3 Delete
> .
> .
> .
> Register N Delete
>
>
>
>


   


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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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