Forums
This topic is locked
delete record
Posted 13 Apr 2004 16:09:17
1
has voted
13 Apr 2004 16:09:17 adnan adnan posted:
hi, i created a smal recordset and i wanna add delete link for each record, but when i create delete record set dw is not making any delete link.Any idea?
Im using default dw extension dw ver 7.0
Replies
Replied 13 Apr 2004 17:20:54
13 Apr 2004 17:20:54 Phil Shevlin replied:
I use v6.0, but assuming its the same...
DW does not create a delete link. The delete record behavior works with forms - typically. The most popular way is to put in a link alongside each record (say, deleterecord.asp?id=123)
Then create a deleterecord page that uses the id=123 to select the correct record. Then on this page display a form that (upon submission) passes the record id to the delete record behavior.
see: www.macromedia.com/support/ultradev/building/delete_record/
DW does not create a delete link. The delete record behavior works with forms - typically. The most popular way is to put in a link alongside each record (say, deleterecord.asp?id=123)
Then create a deleterecord page that uses the id=123 to select the correct record. Then on this page display a form that (upon submission) passes the record id to the delete record behavior.
see: www.macromedia.com/support/ultradev/building/delete_record/