Documentation Details :: Problem on discussion board tutorial

This thread was displayed: 265 times


Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.

For more information about the affected products visit: www.interaktonline.com/Support/

View Threaded Show descending
Michael Davis
02-14-2006 01:11:26 GMT +2

I've done the discussion board tutorial and have one problem. (using PHP_ADODB) version.

On page http://www.interaktonline.com/Documentation/MXKollection/#075000_tutorialdiscussionboard.htm

it states "The id_init_msg field was initially removed from the insert transaction, when you applied the Insert Record Form Wizard. It must have the same value as the ID of the newly inserted message. However, the primary key of the new message is not available until the message has been actually inserted. Therefore, you will have to create a custom trigger that retrieves the ID of the message that has just been inserted, then updates the message by adding the same value for the id_init_msg field."

It then gives code examples to use in your custom trigger. the one for PHP_ADODB is:

$pkval = $tNG->getColumnValue('id_msg');
$query_update_initmsgid = "UPDATE message_msg SET id_init_msg = ".$pkval." WHERE id_msg = ".$pkval;
$result_update = $tNG->connection->execute($query_update_initmsgid);

However, this doesn't work for me. Messages are inserted in the database, but the id_init_msg field is NOT updated. Please HELP!!!

 


Back | Reply | Quote | Top
Florin CARLIG[InterAKT]Adobe Systems Romania staff
02-15-2006 16:34:18 GMT +2

Hello Michael,

Please attach in a new reply to this post with the page you have trouble with, and the database you are using.

Regards,
Florin CARLIG

Reply | Quote | Top
Michael Davis
02-15-2006 21:45:54 GMT +2
Sorry, my mistake. Turns out that I misspleed a filed name when setting up the database. Once I fixed that, all is well.
Reply | Quote | Top
Home > Support > Forums > Documentation > Details
Adobe acquired InterAKT
InterAKT has been acquired by Adobe.
Learn more
 
© Adobe Systems Romania. All rights reserved.