close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Delete record??

Thread began 10/21/2009 11:41 am by dean248377 | Last modified 10/22/2009 11:49 am by Jason Byrnes | 1236 views | 3 replies |

dean248377

Delete record??

I would like to use one of WA images as a delete button. How do I go about this. I have a repeating table all set up to dispaly my records. In the last cell I have both the edit image and the trash can image.

What would the process be here. I've never been sure about how to make an image a button but i assume that is waht is needed. Every time I try this I run into issues with lining up the edit image and the trash can. One sits at the top of the cell and the other at the bottom. This also makes the entire table row to tall. Basically evertime I try it I screw everything up, the layout and it wont delete!!

Any help would be apprieciated.

Dean

Sign in to reply to this post

Jason ByrnesWebAssist

In this case, it is not actually an image button, it is an image that is a link to the delete page. The link will pass a querystring variable that is the ID oft he record to delete::

<a href="Delete.php?ID=<?php echo(rawurlencode($row_rsname['ID'])); ?>" title="Delete"><img border="0" name="Delete<?php echo(rawurlencode($row_rsname['ID'])); ?>" id="Delete<?php echo(rawurlencode($row_rsname['ID'])); ?>" alt="Delete" src="WA_DataAssist/images/Pacifica/Refined_trash.gif" /></a>

Sign in to reply to this post

dean248377

can this delete page be a blank page with a redirect so the user never sees anything but the page they were on refresh. If so... How?

dean

Sign in to reply to this post

Jason ByrnesWebAssist

Sure. In the delete record server behavior, set the Redirect after delete to go back to the results page.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...