close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Multiple Updates

Thread began 1/25/2012 4:44 pm by Darren | Last modified 1/30/2012 12:03 pm by Darren | 422 views | 2 replies |

Darren

Multiple Updates

have a table created from dataassist and one field in the table for the user to update which is a status field. update this field and submit the form and all the records get updated - so this works fine

I have a standard update form (same sort of thing) update status field and this will update the single record but will also update a log field which appends the status to the log field.

I want to include this in the table, so when each record is updated it also updates the history field. however as in the standard update form the history will not get updated if the status field has not changed, ie is the same as what is in the recordset or variable set from the recordset

hope this makes sense

in the standard form I have a seperate trigger update section with the setup (see below), I copied this to the table with some adjustments to the trigger statement and still no luck

any suggestions how I update this on the multi update page and also include the hist field in the WA multi section..?


this is what I have in the standard update form

<?php
// WA Application Builder Update
if (isset($_POST["Update_x"])) // Trigger
{
if ($_POST['currentupd'] != $row_WADAtbldmtask['taskupd']) {
$histnew = (date("dS M Y H:i")." - ".$who." ".$iam." - ".$_POST['currentupd']);
$histold = ($row_WADAtbldmtask['taskhist']);

$hist = nl2br($histnew."\r\n".$histold);
}
if ($_POST['currentupd'] == $row_WADAtbldmtask['taskupd']) {
$hist = ($row_WADAtbldmtask['taskhist']);
}
}
?>

Sign in to reply to this post

Jason ByrnesWebAssist

this will take some rather complex coding to accomplish and is beyond what we can help you with here in the forum.

I would suggest signing up for a premiere support ticket appointment where we could work with you in a one on one screen sharing session to implement this.

Sign in to reply to this post

Darren

thanks for the offer and agree as its seems complex I'll look at other ways of doing this. if I find a solution I'll post it up for anyone else who maybe interested.

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...