Multiple delete linked to multiple insert

Hello folks!
I'm developing a CMS and using ADDT to build most of the database operations. I'm registering user's activities in a db table. After each insert, update or delete, I link the requested transaction to an insert transaction to register it in my "changes" table. I'm having a little problem with linking multiple transactions. When I link a multiple delete, for example, to a multiple insert transaction in my detail page, they end without registering values in my tables. No errors are shown. I thought maybe an ADDT hero around could give me a hand and also this scenario could bring good ideas to others.
The dynamic list sends the url variables correctly (detail.php?id=1&id_1=2.. etc). The delete transaction are trigged by the "KT_delete1" form variable. I presume it is been passed as the transaction finish and I'm redirected as I should (the url gets the "transaction=deleteTxt" variable). Here's my code:
//start Trigger_LinkTransactions trigger
function Trigger_LinkTransactions_del(&$tNG) {
global $ins_alteracoesDelete;
$linkObj = new tNG_LinkedTrans($tNG, $ins_alteracoesDelete);
$linkObj->setLink("altFKey");
return $linkObj->Execute();
//end Trigger_LinkTransactions trigger
// Make an instance of the transaction object
$del_textos = new tNG_multipleDelete($conn_equylybraCMS);
$tNGs->addTransaction($del_textos);
// Register triggers
$del_textos->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Delete1");
$del_textos->registerTrigger("AFTER", "Trigger_LinkTransactions_del", 98);
$del_textos->registerTrigger("ERROR", "Trigger_LinkTransactions_del", 98);
$del_textos->registerTrigger("END", "Trigger_Default_Redirect", 99, "listar.php?modulo=Textos&categoria={GET.categoria}&transaction=deleteTxt");
// Add columns
$del_textos->setTable("inscricoes_pagamentos");
$del_textos->setPrimaryKey("pgtNumInscricao", "NUMERIC_TYPE", "GET", "txtID");
// Make an insert transaction instance
$ins_alteracoesDelete = new tNG_multipleInsert($conn_equylybraCMS);
$tNGs->addTransaction($ins_alteracoesDelete);
// Register triggers
$ins_alteracoesDelete->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "");
// Add columns
$ins_alteracoesDelete->setTable("alteracoes");
$ins_alteracoesDelete->addColumn("altUsuario", "NUMERIC_TYPE", "POST", "altUsuario");
$ins_alteracoesDelete->addColumn("altTipo", "NUMERIC_TYPE", "VALUE", "3");
$ins_alteracoesDelete->addColumn("altDescricao", "STRING_TYPE", "VALUE", "Excluiu texto - {POST.txtTituloDelete}");
$ins_alteracoesDelete->addColumn("altFKey", "NUMERIC_TYPE", "VALUE", "");
$ins_alteracoesDelete->setPrimaryKey("altID", "NUMERIC_TYPE");
* To makes it easier: "alteracoes" means "changes" and "textos" means "text" in my language (portuguese)

There are a few ways:
Google Disjointed rollovers
Set Text of Layer
Swap Image in the Behaviors Panel
Hope this helps
Jo
"serestibi" <[email protected]> wrote in
message
news:fpgc4m$9tj$[email protected]..
> Hi, i am a beginner, so go eazy on me,
> I am trying to link multiple images (thumbnails) to one
big picture frame.
> So if you click the thumbnails, each will blow up in the
same frame.
> The easy solution would be to link to a table, but it
doesn`t seem
> linkable.
> I tried different slide viewers but I cant personalize
them enough.
> Please sombody help me!
>

Similar Messages

  • Multiple Buttons linking to Multiple pages from one movie

    Hi All,
    I have a flash movie with 3 buttons I am trying to link relativley to pages within my site, I have one working fine but can't get the others to link and when I try it makes the one that is working, work no more..
    Below's the code I am using for the one that is working;
    import flash.events.MouseEvent;
    var getIndex:URLRequest = new URLRequest("../index.html");
    //---Enter Button---\\
    E_btn.addEventListener(MouseEvent.CLICK, bClick);
    function bClick(event:MouseEvent):void{
    navigateToURL(getIndex,"_self");
    Still a bit of a newbie in flash so any help really appreciated.
    Many Thanks

    I only see code for one button there, so I can only guess you repeat the same function multiple times.  You cannot use the same name for different functions, and you cannot have the same function duplicated.  Similarly, you cannot declare the same variable more than once.  You can have buttons share the same function though, and you can assign new values to variables.
    For now, start by creating a unique function definition for each button.
    For further consideration, if your buttons happen to be movieclips you can assign the url's to them as variables, or if you name your buttons using the page names they link to, then the same function could be shared with a little generic finagling.

  • ORACLE EXPRESS: build a page with multiple forms linked to one table

    hi,
    im using oravle application express. APEX
    i would like to build a page with multiple forms linked to one table (orders) , the page has 4 from  each one with different order_id number (depending on filtering),  and if the order is prepared click yes for each order and this 'YES' should be UPDATED AND SAVED to each order number in the same table with the press of one button.
    i created all the form as (sql query)
    and create one update process
    (UPDATE ORDERS
    SET TRAY_PREPARED =:P10_TRAY_PREPARED_1
    WHERE ORDER_ID =:P10_ORDER_ID_1;
    UPDATE ORDERS
    SET TRAY_PREPARED =:P10_TRAY_PREPARED_2
    WHERE ORDER_ID =:P10_ORDER_ID_2;
    UPDATE ORDERS
    SET TRAY_PREPARED =:P10_TRAY_PREPARED_3
    WHERE ORDER_ID =:P10_ORDER_ID_3;
    UPDATE ORDERS
    SET TRAY_PREPARED =:P10_TRAY_PREPARED_4
    WHERE ORDER_ID =:P10_ORDER_ID_4;
    i dont know really if i can do that, but it appear hat it actually saving according to order_id number , but not all the time some time it saved the value as "null".
    please guide me what is the correct way to do this.
    I READ THIS ONE
    http://stackoverflow.com/questions/7877396/apex-creating-a-page-with-multiple-forms-linked-to-multiple-related-tables
    BUT IT WAS FOR MULTIPLE INSERT
    thanks.

    Sans,
    I am no Apex expert, but with a situation as "complex" as yours, have you thought about creating a VIEW that joins these 7/8 tables, placing an INSTEAD OF trigger on that view to do all the business logic in the database, and base your application on the view?
    This is the "thick-database" approach that has been gaining momentum of late. The idea is to put your business logic in the database wherever possible, and let the application (Form, Apex, J2EE, whatever) concentrate on UI issues,

  • Linking To Multiple Tables In WebDB

    I am trying to link to multiple forms from one form and I am having
    trouble. I can link individual columns in Reports but not in forms
    unless I am missing something.
    If I use QBE forms, it only allows me to link to one form.
    For example,
    I have a form based on Emp table
    I would like a link on Sal and a link on deptno so that when a user
    clicks on Sal it takes him/her to another form and brings up the record
    based on the Sal he/she clicked on. Same with deptno. This means i will
    be passing parameters.

    Hi Vineet,
    >>Will the sql query with joint will be fine or the stored procedure is required ?
    If your requirement is to use many tables and need to pull many fields of those tables , then use SQL Query with Join. otherwise you can use simple insert, delete, update statements.
    >>Please provide some inputs. If there are existing examples for same, it would really be a great help.
    Please refert this link for using insert statement data types on the target side.
    http://help.sap.com/saphelp_nw70/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    Sample data type
    <StatementName1>
    <dbTableName action=u201DINSERTu201D>
    <table>tablename1</table>
    <access>
    <col1>val1</col1>
    <col2>val2</col2>
    </access>
    <access>
    <col1>val11</col1>
    </access>
    </StatementName1>
    <StatementName2>
    </dbTableName> 
    <dbTableName action=u201DINSERTu201D>
    <table>tablename2</table>
    <access>
    <col1>val1</col1>
    <col2>val2</col2>
    </access>
    <access>
    <col1>val11</col1>
    </access>
    </dbTableName> 
    </StatementName2>

  • Songs linked to multiple albums

    I am one of those people who look after their itunes library, making sure each song has the correct name and artist, as well as the correct album artwork. I have about 200-300 duplicated songs, but some of the songs belong to multiple abums.
    For example the song "Don't Cry" by Guns and Roses, is duplicated and can be found in the album "Live Era '87-'93" and "Use Your Illusion II"
    I could delete one of them but then I would not have complete album. But I wonder if it is possible to make one song belong to multiple albums without having multiple songs?
    Also, it is possible would it also work on an iPod?
    Sorry about my explation, I am no very good when it comes to explaining things.
    iMac G5 2Ghz 17" 512 RAM   Mac OS X (10.4.3)  

    You explained it very well, but unfortunately there's no way to link one song to multiple albums. Each song only has one album field so there's no way to make iTunes list it under two album names.

  • Is it possible to create one home page with links to multiple forms in Adobe Forms Central?

    I have several forms that are all related. Is it possible to have one online landing page where I can link to my other forms from?
    It would be easier to share one link than multiple.

    You could create either a web page of your own to include the links into, or you could create a form that you include the links in - maybe add them as single checkbox fields where the user could check the box stating that they have filled out the related form.  There is a "Insert or edit Link" button in the top toolbar when designing a form, select text you would like to represent the link and click the link button to add the URL to a form.
    The responses for each form would be connected to those individual forms and would not be presented together.  When you recieve responses from the various forms you would not have any built in way to connect the same user to the variuos forms but you could include a "Required" email field in all forms so that you can see who submitted which forms that way.
    Thanks,
    Josh

  • Windows 2008 AD Sites and Services: Multiple Connection links between same sites

    Hello,
    Our AD Sites  & Services is showing Multiple Connection links between the same sites. How is this possible and can i delete extra ones?  

    Hi,
    As Calin Liviu mentioned, you do not have to manage connection objects. In fact, changes that you make to connection objects that the KCC creates automatically are ignored.
    If the site is added to more than one site link, it might be an interim site between other sites that are added to this site link.
    Understanding Replication Between Sites
    http://technet.microsoft.com/en-us/library/cc771251.aspx
    Please check the replication issue, and post the result to here.
    Regards.
    Vivian Wang

  • [Forum FAQ] How to use multiple field terminators in BULK INSERT or BCP command line

    Introduction
    Some people want to know if we can have multiple field terminators in BULK INSERT or BCP commands, and how to implement multiple field terminators in BULK INSERT or BCP commands.
    Solution
    For character data fields, optional terminating characters allow you to mark the end of each field in a data file with a field terminator, as well as the end of each row with a row terminator. If a terminator character occurs within the data, it is interpreted
    as a terminator, not as data, and the data after that character is interpreted and belongs to the next field or record. I have done a test, if you use BULK INSERT or BCP commands and set the multiple field terminators, you can refer to the following command.
    In Windows command line,
    bcp <Databasename.schema.tablename> out “<path>” –c –t –r –T
    For example, you can export data from the Department table with bcp command and use the comma and colon (,:) as one field terminator.
    bcp AdventureWorks.HumanResources.Department out C:\myDepartment.txt -c -t ,: -r \n –T
    The txt file as follows:
    However, if you want to bcp by using multiple field terminators the same as the following command, which will still use the last terminator defined by default.
    bcp AdventureWorks.HumanResources.Department in C:\myDepartment.txt -c -t , -r \n -t: –T
    The txt file as follows:
    When multiple field terminators means multiple fields, you use the below comma separated format,
    column1,,column2,,,column3
    In this occasion, you only separate 3 fields (column1, column2 and column3). In fact, after testing, there will be 6 fields here. That is the significance of a field terminator (comma in this case).
    Meanwhile, using BULK INSERT to import the data of the data file into the SQL table, if you specify terminator for BULK import, you can only set multiple characters as one terminator in the BULK INSERT statement.
    USE <testdatabase>;
    GO
    BULK INSERT <your table> FROM ‘<Path>’
     WITH (
    DATAFILETYPE = ' char/native/ widechar /widenative',
     FIELDTERMINATOR = ' field_terminator',
    For example, using BULK INSERT to import the data of C:\myDepartment.txt data file into the DepartmentTest table, the field terminator (,:) must be declared in the statement.
    In SQL Server Management Studio Query Editor:
    BULK INSERT AdventureWorks.HumanResources.DepartmentTest FROM ‘C:\myDepartment.txt’
     WITH (
    DATAFILETYPE = ‘char',
    FIELDTERMINATOR = ‘,:’,
    The new table contains like as follows:  
    We could not declare multiple field terminators (, and :) in the Query statement,  as the following format, a duplicate error will occur.
    In SQL Server Management Studio Query Editor:
    BULK INSERT AdventureWorks.HumanResources.DepartmentTest FROM ‘C:\myDepartment.txt’
     WITH (
    DATAFILETYPE = ‘char',
    FIELDTERMINATOR = ‘,’,
    FIELDTERMINATOR = ‘:’
    However, if you want to use a data file with fewer or more fields, we can implement via setting extra field length to 0 for fewer fields or omitting or skipping more fields during the bulk copy procedure.  
    More Information
    For more information about filed terminators, you can review the following article.
    http://technet.microsoft.com/en-us/library/aa196735(v=sql.80).aspx
    http://social.technet.microsoft.com/Forums/en-US/d2fa4b1e-3bd4-4379-bc30-389202a99ae2/multiple-field-terminators-in-bulk-insert-or-bcp?forum=sqlgetsta
    http://technet.microsoft.com/en-us/library/ms191485.aspx
    http://technet.microsoft.com/en-us/library/aa173858(v=sql.80).aspx
    http://technet.microsoft.com/en-us/library/aa173842(v=sql.80).aspx
    Applies to
    SQL Server 2012
    SQL Server 2008R2
    SQL Server 2005
    SQL Server 2000
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Thanks,
    Is this a supported scenario, or does it use unsupported features?
    For example, can we call exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'
    in a supported way?
    Thanks! Josh

  • How to delete mail from multiple devices

    How do I delete mail fom multiple devices?

    You will find if  a post doesn't make sense or is too brief or lacking in clarity to be understood no-one will answer you
    Like to try again ?
    in the mean time this might help
    http://www.apple.com/support/iphone/mail/

  • Multiple file links in a single page: A better way to/efficient way to handle ?

    Aloha Everyone!
    I would like to ask the community how they have handled multiple file links in a single page. Sort of a pseudo database of files.
    Here is the webpage I have been working on:http://huichawaii.org/
    Here is what I have done to show files so far:
    old version:http://huichawaii.org/proceedings---2012-education%2c-math---engineering-technology.html
    new version: http://huichawaii.org/ahs2013-proceedings.html
    The website works best in Chrom or Firefox, still have to convert the flash header to an edge animate .
    Mahalo in advance for everyone's input!

    Depending on what other text you might have, you could use the data list component.
    To get the text to have underlines, you will need to edit the repeated item. You can also adjust colors and fonts as well. The default rollover and selected states will probably not be the UI that want, so make sure you change those as well.
    Now for the interactivity, select the datalist, and use the interactions panel, choose "On Select", then "Go To Url", the trick is to make sure the "When a specific item is selected" is also set. Here are the basic settings to get your links working:
    Add new interactions for each item you want to be functional.

  • How can I make multiple popup links on one page?

    I was wondering if anyone had a simple code that will allow me to have multiple popup links on one page? I have no idea what to do.  Any help would be greatly appreciated.

    Give each an individual id like:
    <SCRIPT language="JavaScript1.2">
    function openwindow1()
    window.open("score_popup/wbc_slalom_running_order.html",
    "mywindow","location=1,status=1,scrollbars=1,width=600,height=525");
    .......... etc.
    and then:
    <p><a href="javascript: openwindow1()">WBC Invitational Slalom Event Running Order</a></p>
    View actual working page here:
    http://www.worldbarefootcenter.com/
    scroll to bottom of page to see pop-up links. View source code for complete details:
    Best wishes,
    Adninjastrator

  • Multiple delete in one form with ADF

    Hi,
    Does anyone know how I can make a multiple delete? So as a sort of e-mail list where you can mark the items you want to delete with a checkbox. Then by clicking submit, all the marked rows will be deleted.
    thanks a lot

    Hi,
    You've got the basic idea for using multiples DELETEs.
    If you start that ar 11:52:14 on February 15, and each DELETE takes 2 or 3 seconds, then responseerrors might bet cut off at
    11:52:15 on January 15, eventresponses might get cut off at
    11:52:17, and events at
    11:52:19. If anything happened to be dated in responseerrors during those 4 seconds on January 15 (or in eventresponses during those 2 seconds), then those rows will be left pointing to rows in events that no longer exist.
    To avoid that, you might want to use TUNC (SYSDATE) instead of SYSDATE; that will make the cutoff time 00:00:00 on January 15 if you run the script at any time on February 15. Just be careful that you don't start it a few seconds before midnight.
    If you make foreign key constraints in the "child" tables (responseerrors and eventresponses), referencing events.eventresponseid ON DELETE CASCADE, then you could simply DELETE the rows from events, and the rows in the other tables would be automaticaaly deleted, too. For details, look up foreign key constraints in the SQL Language manual:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/clauses002.htm#sthref3021

  • How Can I do a multiple delete in my email

    My server had a hiccup today and ended up downloading 7200+ emails to my ipad which have already been read. Does anyone know how to do a multiple delete???
    I don't want to go through each one and check it off before I am able to delete them all ...
    Can someone help me please???
    DMR

    Hi ryderdm,
    If your account is an IMAP account, like iCloud or most Gmail accounts, and is accessble from a computer or a webmail interface, it may be easier to mark and delete a large number of messages from there, rather than directly from the iPad.
    iCloud: IMAP
    Regards,
    - Brenden

  • How to create a link to multiple links in pdf file

    how to create a link to multiple links or a button to multiple links in pdf file. this links is goto diferent pages, no web. sorry for my english.

    You can print to PDF from the Print Module .
    Do you have Adobe Acrobat?
    Otherwise install (free) Bullzip Free PDF printer.
    http://www.bullzip.com/

  • Can I attach a link to one image and then use that linked image multiple times in my site?

    Hi,
    Is it possible to attach a link to an image and then use that image (with link attached) multiple times in my site.
    Thanks,
    Ally

    Use 'Find and Replace'>under the 'Edit' menu.
    Select from 'Find in'- Folder and browse to the folder your website files are kept in to select it.
    Search: Source Code
    In the Find box (but obviously use YOUR image code):
    <img src="images/imageName.jpg" width="200" height="200" alt="" />
    In the Replace box: (use YOUR link and image code)
    <a href="yourLink.html"><img src="images/imageName.jpg" width="200" height="200" alt="" /></a>
    Then select 'Replace All'

Maybe you are looking for

  • How to print a something in oracle sql developer

    Hello all Do you know How to print a something in oracle sql developer? i mean for example in the query we write something, (offcourse i dont mean comments) thank u in advance. best

  • Still in a quandary about hardware specs. What do you think?

    I need to build a new system as editing machine for CS4. Everything is more or less clear as to what I need, there are only two issues remaining: 1. How much RAM to install, and 2. Disk setup. As always there is the balance between performance and co

  • ACH change ABA

    FI Experts, I recently change the ABA # ( bank Key) our checks print fine, however when I send the file to the bank for ACH the file is empty. We are using payment method T CTX, I checked under FBZP and everythign seems to be fine also. Am I missing

  • Creating dependant model nodes dynamically

    Hi, currently I am facing the following challenge. I have imported an RFC which has two TABLES parameters as follows: T_SECURITIES T_RATINGS There is 1-n relationship between T_SECURITIES and T_RATINGS, so for each T_SECURITIES entry there may be 0..

  • Seems my 4S will only accept a certain number of Favorite phone numbers.. How to add more????

    Is there a fix for the seemingly fixed number of phone number favorites in my 4s??  I can add a favorite only if I delete an existing favorite.. Thanks, Bruce 233