Forums

This topic is locked

HELP: delet record

Posted 26 Jul 2002 16:55:29
1
has voted
26 Jul 2002 16:55:29 tsao saulot posted:
Hi,
Here is what I'd like to do :
Add a delet button just beside all my record

Name, Surname,............., Delet this record
Name, Surname,............., Delet this record

And when you click on one of these button, it delets the record

But I simply don't succeed.
Help me please.

In fact, is it symply possible to have a repeat and a delet behaviour on the same recordset?

thks

Replies

Replied 26 Jul 2002 19:57:10
26 Jul 2002 19:57:10 Dave Clarke replied:
Don't think you can actually delete the record from within a repeat region, but what you can do is have the delete button link to a detail page which has a recordest filtered by the record ID of the message you want to delete, this page would then only diplay the record you want to delete and you can add your delete behaviour which should now work fine.
Replied 31 Jul 2002 10:37:58
31 Jul 2002 10:37:58 Ricardo Ribeiro replied:
No, IT IS possible to delete records withins a repeat regions. There is a tutorial on this site explaining how to achieve this. I know because I learnt from it and I can say it works.

Reply to this topic