Assistance needed with Custom Transaction

Hello

I don't know if this is possible or not, but I would be very grateful for any help anyone can offer.

I wish to have a couple of drop down fields in form following a table after you select a choice from the drop-down list fields, it uses the data selected in the fields in the form to run a query that will empty the existing table and insert new records.  Although I intend to do it on more than one field, I just try on a unique fields for the moment.

I use a Cusatom Transaction, because I believe that this will allow me to enter SQL which will perform more than one task.  My understanding of this is correct?

The following code attempts to remove all existing records in the table, then insert new records.  However, an error pops up when I click the button to insert the record.  It seems that the SQL do not remove and insert consecutively in the same custom transaction.

Is this possible, and if so, can anyone advise me how to do this.  My current SQL code as part of the operation is: -.

REMOVE TempAspirationalRole.* FROM TempAspirationalRole;

INSERT INTO TempAspirationalRole
SELECT TblRoles.RoleProfile_ID, TblRoles.RoleName, TblCourses.CourseName, TblRoleCourses.Requirement
OF (TblRoles INNER JOIN TblRoleCourses ON TblRoles.RoleProfile_ID = TblRoleCourses.RoleProfile_ID) INNER JOIN TblCourses ON TblRoleCourses.CourseRef = TblCourses.CourseRef
WHERE (((TblRoles.RoleProfile_ID) = {AspirationalRoleID}));

The above will work properly in MySQL if I replace the {AspirationalRoleID} for a real record doesn't.

Thanks for your time,

Gary

At the end of the day, but start with something simple...

http://www.php.NET/function.MySQL-query

start deleting Ceccaldi
function My_Delete(&$tNG) {}

Get the current values of the form
$threadid = $tNG-> getColumnValue ('NbForumMessageID');

$query = "DELETE FROM messagesubscribe WHERE the threadID = '". $threadid. » » » ;

$result = mysql_query ($query);
If (! $result) {}
$message = "invalid query: '." mysql_error(). « \n\n » ;
$message. = "query string: '." $query;
$message = nl2br ($message);
Die ($message);
}

Repeat as needed for other mysql queries

}
end My_trigger

Tags: Dreamweaver

Similar Questions

  • Urgent assistance needed with reminder please!

    Hey guys. I am very confused at the moment and really need help ASAP please! I created a DVD of marriage and after I burned the disc in reminder (CS5.1) project, then put it in my PS4 play, everthing seems blurry and low resolution! My menus of the title does not appear in high resolution, as when I checked before with just my USB connected to the back of my TV... the image is perfect. However, via the disc, he seems to have lost a lot of quality and sharpness. Help would be appreciated.

    Thank you.

    You probably have a bad installation/activation of SOUL. I would point out that screenshot (left) in the forum of the SOUL. Look at help-> and to report to the version that you have. Also the version of PR.

  • Assistance needed with the Japanese police

    I need a Japanese font or a set of vectors of character, but I'm lost how to get one, I tried type kit, but nothing works any help would be appreciated

    based on Windows

    Thank you

    A

    Or if your site is Japanese have you tried to change Site settings?

  • Assistance needed with plane

    Hello

    In my project, I have several places. When the mouse is flown over these squares, I want them to change color and when the mouse is removed, I want to change them back. I managed to achieve this by creating copies of the squares with a different color and then display and masking properly with simple show and hide a code, but this caused some problems. Therefore, I wonder if this can be done by code, perhaps with the: hover selector CSS or any other means. If so, I would be very happy to know how this could be done.

    Thank you very much

    Dee Roberts

    It seems that everything you want to do is the following:

    http://DL.dropbox.com/u/9159616/squares.zip

    You can do this by using the code in the manner suggested by Tim. But doing this without code is actually very easy for me. Simply create a square > convert to symbol > animate the color > add with sym.play(1000) mouseenter and mouseleave with Sym.PlayReverse > duplicate symbol (not copy and paste). Then go to each symbol and change the color.

    Hope that helps.

    Adam

  • Pages of the OPS (with custom controller) does not not in the R 12.2.4 upgrade custom

    Hi all

    There is a problem, I'm dealing with my custom page. I am trying to expand the controller with my custom class, but get the error below

    oracle.apps.fnd.framework.OAException: could not create Java class: (oracle.apps.xxar.cusstd.createcus.webui.xxArCreCusCO) associated with the area: (ArUtilRN). It is probably because the class name is incorrect or not included in the project.

    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1247)

    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)

    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2848)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1991)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:567)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:455)

    If the file is present in the right folder

    [webui applmgr@gfs3devapp1] $ pwd

    / opt/oracle/gfs2d/FS1/EBSapps/COMN/java/classes/Oracle/Apps/xxar/cusstd/createcus/WebUI

    [webui applmgr@gfs3devapp1] $ ls - ltr

    Total 4

    -rw - r-. 1 applmgr oinstall 1177 Feb 25 10:17 xxArCreCusCO.class

    I have to follow this discussion, but is not help me: https://community.oracle.com/thread/3647610

    Please help.

    Thanks, Jerome

    Hello samia,.

    In R12.2.4, you will need to create the jar with custom classes. Please visit the Doc ID 1577661.1

    Hope this helps you solve your problem.

  • How chat with customer support?

    How chat with customer support?

    If you use the free Adobe Acrobat Reader software, there is no chat support.

    If you use another product, follow the steps here (Customer Contact) and if the chat support is available for this product, click on the big blue "still need help? Contact us' button and you will see a chat option.

  • How to get in touch with customer service?

    How to get in touch with customer service? Twice I had a cat and I would get an answer in the coming days. Never heard a thing! I need an invoice for my accounts but I can't download it. It is said: the customer service contact. But I chatted for 2 times, tried to call, they don't answer the phone. Where is the customer service!

    Hi Regine43b,

    Please visit the following link to get your monthly bill: http://helpx.adobe.com/x-productkb/policy-pricing/print-creative-cloud-receipt.html

    If in case still encounter you problems, please contact support @ https://helpx.adobe.com/contact

    Kind regards

    Sheena.

  • Firefox 4 deployment with custom user settings?

    Hi people,

    I want to deploy FF 4.0 with custom user settings, but where is the "localized" my prefs.js file folder? In FF 3.6.x we extract the setup.exe file and with sources, we have deployed our customized firefox. In FF 4.0 now, there is some file missing from news sources. Are there any documents that explain the deployment of FF 4.0? Thank you very much

    You can always create a folder/defaults/profile and places the files in this folder to have in a new default profile. Folders that have no content are no longer present in the version of Firefox 4 RC, but some are still read and processed.

  • HP Support Assistant - problem with shortcut

    I have the problem with the HP Support Assistant, when I open the shortcut on the desktop, I get the error: "the element 'HPSF.exe' that this shortcut refers has been changed or moved, and this shortcut no longer works correctly. You really want to remove this shortcut? »

    I'm tempted to open it from the beginning, the same thing happens. I don't know what happened with the HP support assistant and with the shortcut. I am not be reinstalled HPSA. I did nothing, I don't know how it happened.

    Do I have to reinstall HP Support Assistant or can I fix? What should I do to fix this?

    I'm using Windows 7 Ultimate 64 bit.

    Hi Licpa,

    Thank you for visiting the Forums HP's Support and welcome. I read your thread on your laptop and have the HP Support Assistant with questions. Here is a link to uninstall the HP Support Assistant software. You can reinstall it here.

    I hope this helps.

    Thank you.

  • Why do I suddenly had a .qif with bank transaction file appear on my desktop!

    Why do I suddenly had a .qif with bank transaction file appear on my desktop today that were not there when I turned it off last night

    Hello

    1. have you made changes on the computer before this problem?

    2 are you able to open these files before, have you seen this message before popup on your computer?

    3. is there someone else your computer?

     

    The. QIF file is and ASCII text file. While you can view and edit the file in any text editor, be very careful as the format of the file and the order of the items in the file are essential for the proper execution of the file.

    NOTE : If the files are reappears or multiply on its own, so I recommend you to run the Microsoft Safety Scanner to remove all viruses in the computer that could create this file. Viruses are known to come. QIF file format. I suggest you to not open files if you are not sure about this and rather wait for the Microsoft Safety Scanner complete to ensure that it is not virus. Once the analysis is complete and the threat of virus cleared so you can view the file. If you think that the file is not linked, then you can remove the same.

    Run the Microsoft Safety Scanner and check if that helps resolve the issue.

    Microsoft Safety Scanner:
    http://www.microsoft.com/security/scanner/en-us/default.aspx

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.
    Note : the data files that are infected can be cleaned by removing the file completely, which means there is a risk of data loss

    Also try to perform a clean boot and check.

    How to solve the problem by running the clean boot in Windows Vista: http://support.microsoft.com/kb/929135 
    Note: once you have completed troubleshooting, perform the steps from step 7: to reset the computer as usual

  • We have a requirement of click to call in installing 10.5 UCCX with customer website (user input) for our customer

    Hello

    We have a requirement of click to call in installing 10.5 UCCX with customer website (user input) for our client, anyone who tested it in the laboratory/prod settings?

    Thank you!!
    Magali

    Hello magali.

    It is possible to deploy with UCCX HTTP trigger type. To get the number of customer via the HTTP trigger to the script. Then we can place the outgoing number of customer to campaign or appeal directly to the customer and place this call to the QSC.

    There are two scripts for web reminder in Cisco repository of scripts, see this http://www.cisco.com/c/dam/en/us/td/docs/voice_ip_comm/cust_contact/cont...

  • How to create user defined groups and users with custom permissions as only open and export in obiee 11 g?

    Hello

    I want to give as open & export to the level of permissions.

    How to create user defined groups and users with custom permissions as only open and export in obiee 11 g?

    For example, if the group permissions, inturn should reflect on the users.

    Please help me.

    Thanks in advance,

    A.Kavya.

    Your question is quite broad and fuzzy then I suggest the security catalog presentation to read documentation: http://docs.oracle.com/middleware/1221/biee/BIESC/mgrgrpsusers.htm#CIHIBJGD

    And I think that you mix you two things which are managed in different places:

    ) an object as read access permissions, write, delete... which control you through the object "Permissions" dialog box

    (b) functional privileges controlled through "Manage privileges" under "Administration".

  • I want to cancel and I need a customer service number

    I would like to cancel and I need a customer service number.

    Hello

    You can consult this article for cancellation and to contact customer service to request the return:

    https://helpx.Adobe.com/x-productkb/policy-pricing/return-cancel-or-change-order.html

  • Slideshow: How to replace on the arrows 'Next' and 'Previous' with custom arrows?

    On the homepage of my site, I put in a changing picture with Widgets Library > slideshows > Basic, then added in the images. the only thing I don't like is the appearance of the standard ' Next' and 'Previous' buttons. In want to replace their previous custom and buttons that I created in Photoshop. I tried to do by double-clicking on the icon 'Next' and then hit the blue circle/arrow, then press "Add picture" and select the file with the arrow custom, but instead to replace the icon/button 'Next', she just added the arrow custom slide show. I looked in the tutorials and help online but can't find an answer. Anyone know how to replace the arrows "Next and previous" with custom arrows?

    Hello

    To place your own images for the button previous and next, you use the fill feature. Please check the following steps:

    1. go slideshow options and uncheck the Edit set.

    2. Select the next button and click complete to open filler panel.


    3. click Add picture and select the image you want to use. Also select the type of connection as "Scale to fill" or "scale to fit"and make the 'Center'. "

    4 do the same for the previous button.

    Concerning

    Vivek

  • HI, I'm wanting the form tool allows you to create multiple copies of documents with customized in each information fields. From excel data. Is this possible?  Thank you, Charlotte

    Hello

    I am keen on the form tool allows you to create multiple copies of documents with customized in each information fields. From excel data. Is this possible?

    Thank you

    Charlotte

    This is called a fusion and mailing. There is a possibility of Embedment in some versions of Excel (via the Acrobat PDFMaker plugin), or it can be done using a script.

Maybe you are looking for