Re: delete and return to founditems

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44763
interpreted = N
texte = >Hi group, is there a way that I can can code a page to delete a record on >the same template and then reload the [founditems] from that search so I can >delete another item from that search? This way the user doesn't have to >keep performing the same search over on the search template. Yes, it's easy:1- Put all the proper search parameters into your delete links or forms -- so they get passed back to the same page in order to perform the exact same search again.2- Add twoextra parameter to your delete link or form (such as &extraTask=delete&sku=[sku]) so webdna knows enough to delete the proper record when the link or form button is clicked.3- Place a delete context: a- ABOVE the search context, and ... b- INSIDE a showif context (in this case, it would be [showif [extraTask]=delete])This will delete the proper record BEFORE the search is performed, and it will ignore the delete context if the extraTask value is not equal to delete. Sincerely, Kenneth Grome--------------------------------------------------- WebDNA Professional Training and Development Center 175 J. Llorente Street +63 (32) 255-6921 Cebu City, Cebu 6000 kengrome@webdna.net Philippines http://www.webdna.net ---------------------------------------------------------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: delete and return to founditems (Ken MacMurchy 2002)
  2. Re: delete and return to founditems (Kenneth Grome 2002)
  3. delete and return to founditems (Ken MacMurchy 2002)
>Hi group, is there a way that I can can code a page to delete a record on >the same template and then reload the [founditems] from that search so I can >delete another item from that search? This way the user doesn't have to >keep performing the same search over on the search template. Yes, it's easy:1- Put all the proper search parameters into your delete links or forms -- so they get passed back to the same page in order to perform the exact same search again.2- Add twoextra parameter to your delete link or form (such as &extraTask=delete&sku=[sku]) so webdna knows enough to delete the proper record when the link or form button is clicked.3- Place a delete context: a- ABOVE the search context, and ... b- INSIDE a showif context (in this case, it would be [showif [extraTask]=delete])This will delete the proper record BEFORE the search is performed, and it will ignore the delete context if the extraTask value is not equal to delete. Sincerely, Kenneth Grome--------------------------------------------------- WebDNA Professional Training and Development Center 175 J. Llorente Street +63 (32) 255-6921 Cebu City, Cebu 6000 kengrome@webdna.net Philippines http://www.webdna.net ---------------------------------------------------------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Kenneth Grome

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Dreamweaver Extensions for WC (2000) Upgrading old WebCat Database Files (1997) Showif Or (2000) Assign Variable Value (1998) ups quickcost [repost] (1999) POSTing to a secure server ... (2000) WC1.6 to WC2 date formatting (1997) Search Command, multiple dbs, etc. --still confused (2000) TCP Connect (2000) [username],[password] for [authenticate] (2001) WebCat2 - [format thousands] (1997) Draft Manual, Tutorial, and more (1997) Sorting a summary (2000) Running 2 two WebCatalog.acgi's (1996) Sendmail truncation in Eudora Clients (1998) Bug Report, maybe (1997) PCS Frames (1997) [OT] Authorize.net (2003) PCS Frames (1997) Restoring textarea stored in header (1998)