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:

Date fun with MySQL (2004) PCS Emailer's role ? (1997) ooops...WebCatalog [FoundItems] Problem - LONG - (1997) Calculating multiple shipping... (1997) Replace Statement (1997) Determining position (2000) [WebDNA] Middle Question (2015) RE: Personal Web Server combined with Webcatalog 2.1 (1998) Text Manipulation Not Sticking - NEVER MIND (2002) Showif Context combined with Search (1997) broken [include]s (1998) can webcat determine an image's pixel dimensions? (2000) WebCatalog 3.0.8 is on FTP... (2000) error (2000) Help with update to 2.11 (1998) possible, WebCat2.0 and checkboxes-restated (1997) Mime Headers for Mail (1998) sorting by date Y2K mix up (2000) Encrypt question. (2000) Summary layout (1997)