Delete Set Default Action

Would be nice to see a feature introduced in the preferences to set the default action of the delete button, I personally would like it permanently set to "Delete from Disk" and not "Remove"

Dear StuDerby,
thank you very much indeed for your helpful reply!! You have again helped me much with your constructive suggestions and your obviously profound JDBC knowledge.
So what you suggest is:
String deleteParameter="";
resultSetImportedKeys = DataBaseMetaData.getImportedKeys(null, null, tableName);
while(resultSetImportedKeys.next()) {
   String deleteRule = resultSetImportedKeys.getString(11);
   switch (java.lang.Integer.parseInt(deleteRule.trim())) {
      case (DataBaseMetaData.importedKeyCascade): deleteParameter="ON DELETE CASCADE"; break;
      case (DataBaseMetaData.importedKeyRestrict): deleteParameter="ON DELETE RESTRICT"; break;
      case (DataBaseMetaData.importedKeySetDefault): deleteParameter="ON DELETE SET DEFAULT"; break;
      case (DataBaseMetaData.importedKeySetNull): deleteParameter="ON DELETE SET NULL"; break;
      case (DataBaseMetaData.importedKeyNoAction): deleteParameter="ON DELETE NO ACTION"; break;
      default: deleteParameter="ON DELETE NO ACTION"; break;
}But what are importedKeyInitiallyDeferred, importedKeyInitiallyImmediate, and importedKeyNotDeferrable for?

Similar Messages

  • Delete picture default action

    Hello,
    is there any way to put Remove from disk as default action when hitting del and deleting a picture ("remove" from LR catalog is normally set as default). Lightroom 4 on Windows 7 OS.
    Thanks

    You must be doing this from a collection.
    Delete works differently when you are in a collection or when you are viewing photos in a folder.
    From the Help Menu:
    Remove photos from catalogs
    Select one or more photos in the Grid view, or select a single photo in the Filmstrip in Loupe, Compare, or Survey view in the Library module.
    Do one of the following:   
      Press the Backspace key (Windows) or Delete key (Mac OS).
      Choose Photo > Delete Photo(s).
    Note: When viewing a collection, pressing the Backspace key (Windows) or Delete key (Mac OS) removes the selected photo(s) from the collection, not from the catalog, and no Confirm dialog box appears. To remove a photo from a collection as well as from the catalog, select the photo and press Ctrl+Alt+Shift+Delete (Windows) or Command+Option+Shift+Delete (Mac OS). See Remove photos from a collection.
    In the Confirm dialog box, click one of the following:   
    Remove
    Removes photos from the catalog but doesn’t send them to the Recycle Bin (Windows) or Trash (Mac OS).
    Delete From Disk
    Removes photos from the catalog and sends them to the Recycle Bin (Windows) or Trash (Mac OS).
    If more than one photo is selected in the Filmstrip in Loupe, Compare, or Survey view, only the active photo is deleted.
    Note: Selecting photos and pressing the Delete key (Windows) or Forward Delete key (Mac OS, full-size keyboards only) also removes photos from the catalog but doesn’t send them to the Recycle Bin (Windows) or Trash (Mac OS).

  • How to set default Action

    Hi Team,
    I have one input text and one button.
    whatever i am entering in input text field and pressing button its displaying below.
    Now I want the same to be done on pressing Enter key means without clicking button.
    I want to give my button a default behavior as enter key.
    How can I achieve this.
    Jdev:- 11.1.1.4
    Thanks,
    Ramit

    Hi,
    if you really wanted to do the same then your JavaScript should look like
        <af:resource type="javaScript">
            function onPressEnterKey(event){
              if (event.getKeyCode() == AdfKeyStroke.ENTER_KEY) {
                var inputTextField = event.getSource();
                var defaultButton = inputTextField.findComponent('cb1');
                var partialSubmit = true;
                AdfActionEvent.queue(defaultButton, partialSubmit);
             event.cancel();
    </af:resource>
        <af:panelFormLayout id="pfl1">
            <f:facet name="footer">
                <af:commandButton text="Print Field Value" id="cb1" partialSubmit="true" clientComponent="true"
                                  action="#{View1Bean.onButtonPressed}"/>
            </f:facet>
            <af:inputText label="Enter Field" id="it1" binding="#{View1Bean.inputTextField}">
                <af:clientListener method="onPressEnterKey" type="keyUp"/>
            </af:inputText>
        </af:panelFormLayout>
    </jsp:root>Note how my code is less complex and still allows users to actively press the command button
    Frank

  • Set default action to "do nothing" when connect iPhone to Windows PC

    I have an iPhone 3GS and an XP machine at work. I want to charge my phone using the computer's USB connection, but I don't want iTunes to launch or any dialog box to pop up asking me what I want to do when I plug in the phone. Can I set it up just to charge and do nothing else?

    I lost patience with this same problem this morning and found a URL which works on the Apple site.
    http://support.apple.com/kb/TS1857?viewlocale=en_US
    Good luck.
    Mark.

  • Default Action type when hire internal employee

    Dear all,
    How to set Default Action type when hire internal employee?
    Thanks,

    Hi,
    May be that. When i transfer applicant that is hired internal, the action type is default Reentry into company. So how to change this?
    Edited by: Quang Le Vinh on Nov 7, 2009 2:54 AM

  • To delete the default flag set in ship to address screen in shopping car.

    Hi All,
            I have a requirement to delete the default flag that will be set in ship to address screen in shopping cart in SRM system.
    I am able to view the list of ship to address throuh Edit internal address ( transaction BBPADDRINTC) and I am able to change the default. The requirement is, the requester should not set default at all so it should be cleared even if he sets.
    I tried with Badi - BUPA_ADDR_UPDATE. But couldn't find it useful.
    Please guide me on this.
    Thanks,
    Ramya

    Hi
    You must have maintained address number of ship to attribute in the organisation structure .
    so there you take up action.
    ADDR_SHIPT = 1233
    so CHECK THIS ADDRESS NUMBER 1234
    br
    muthu

  • How to set the default action of slide switch to auto-rotate

    Is there a way to set the default action of the slide switch to auto-rotate during the OS loading instead of volume setting?

    You change the function of the side switch with Settings -> General -> Use side switch to:
    I don't know what you mean by, "during the OS loading".

  • Default Action/Effect in an Action Set in PSE5

    I have a Photoshop action set that contains a "main" action that performs some functionality and calls a bunch of "sub" actions. The main action is listed first in the set and is automatically picked up as the default action and executes successfully when installed into PSE6, PSE7 & PSE8 and also works as expected in a German version of PSE5 but in an English version of PSE5, somehow the second action (ie a "sub" action) is being executed rather than the first. Is there any way of configuring the default action or forcing PSE5 to recognize the first action as the action to run? If not, does anyone know what algorithm PSE uses to determine the action to run? The action being run isn't first (or last) alphabetically nor positioned first (or last) in the action set. Any thoughts/assistance would be greatly appreciated. Thanks.

    Thanks for the response. I think I confused things by bringing up the German version... The action was created in a standard English version of PS CS2 then adjusted and resaved in a standard English version of PS7. It was then packaged and tested in English (and non-English) versions of CS3, CS4, CS5, PSE6, PSE7 & PSE8 without any issues. It was also tested in a German version of PSE5 and worked without any concerns but when tested in 2 different standard English versions of PSE5, it appears that the second action in the action set is the one that is being recognized and run, rather than the first action in the set. The first action is named as "Make Patterned Papers" and the other 20 or so actions are named as "code -- (reference number)" in a lame attempt to slightly obscure the functionality from the PS users. The first "code -- (reference number)" action listed after the "Make Patterned Papers" is the one that is being picked up by PSE5 as the action to run. The actions are not listed in alpha/numeric order and the action that is being picked up by PSE5 is not the first alphabetically either. I tried copying all of the actions to a new action set and using this instead, but had the same result.

  • Help!!! I deleted my default icon sets

    OMG I just deleted my default icon set!!!
    I accidentally overwritten all of them on candybar 2.6..!!! what should I do? Is there any way to restore it without re-installing MacOSX???
    I changed my default aqua theme with Shapeshifter. then I decided that I don't like the icons set, so what I should've done is reset it first to default aqua icon set in Shapeshifter. But I didn't, I tried to reset it and apply a new one via Candybar.
    So when I opened Candybar, a message came up telling if I want to overwrite the current icon set as my default. Stupidly, I pressed yes!!! Now this new icon set becomes my default aqua set, even if I use the restore defalut option in Candybar, it loads this new set!!!
    I did search on spotlight on "icons" somehow all my default icon are stored in candybar application support folder?? can anyone tell me where MacOS store the icon files?

    I'm not sure, but I have the feeling your Mac wouldn't like that very much. Reaching deep down into the system and plucking part of it out while it's running is a recipe for disaster. Also, while there are many icons there, not all are in CoreTypes.bundle. Some like Finder, Dock, HelpViewer are in CoreServices folder.
    I would say to try the the 10.4.6 Stand Alone Combo Updater.
    Since this is a fuller install, as opposed to an incremental "delta" update so it should overwrite any files that are damaged or missing. It does not matter if you have applied it before. But since these icons were changed with the apps you used, I doubt that an update would change them back.
    I would live with the icons you have until we can find a good solution. If you really can't bear it you could "archive & install" and then reapply the 10.4.6 Combo Update.
    What about the "Previous System" folder you have from the old archive & install? Were you able to get to the old CoreServices and dig out any icons there?
    -mj
    [email protected]

  • I have CS5 production, and the Sb program, has an analog delay effect. I deleted the default setting, and it disappeared. Is there any way to re-install it?

    I have CS5 production, and the Sb program, has an analog delay effect. I deleted the default setting, and it disappeared. Is there any way to re-install it?

    Hi Thanks a ton.. so I downloaded Sb from Cs5 download options
    and it won't take the serial number, from the box. I bought Cs5
    in 2010 in the box from adobe.  It lists Sb5 on the back
    of the box, and it's in line, and works fine.. paid about 1000 dollars
    for the software. But, the downloaded exe file will not accept the
    serial number. The same serial number in my account for Cs5
    production premium suite. I guess the new cloud community doesn't
    respond well to BOX installers or previous customers. Thanks a lot for
    your effort but, at 40$ a phone call, I'll suffer through without the default
    analog delay option.. everything else runs smooth so.. have a nice
    day up there in the cloud.
    Best Regards,
    R Daves

  • How to change default action "alarm" for all signatures ?

    My question belongs to a Cisco 1712 (128 MB, IOS 12.3T, SDM 2.5 installed):
    I'm trying to change the default action "alarm" to "alarm,reset,drop" for all signatures of my custom set.
    However doing so via SDM fails. First, it appears as being done correctly, but after compiling the signatures again, the default values are back there (in the same sense, I was unable to delete signatures, works just using the CLI).
    I followed the instructions at cisco.com:
    router(config)#ip ips signature-definition
    router(config-sigdef)#signature 6130 10
    router(config-sigdef-sig)#engine
    router(config-sigdef-sig-engine)#event-action produce-alert
    router(config-sigdef-sig-engine)#event-action deny-packet-inline
    router(config-sigdef-sig-engine)#event-action reset-tcp-connection
    router(config-sigdef-sig-engine)#exit
    However ip ips signature-definition is not understood by the router, so the procedure fails.
    Can you please assist me ?

    You can use IOS command-line interface (CLI) to change signature actions for one signature or a group of signatures based on signature categories. The following example shows how to change signature action to alert, drop and reset for signature 6130 with subsig ID of 10.
    router#configure terminal
    Enter configuration commands, one per line. End with CNTL/Z.
    router(config)#ip ips signature-definition
    router(config-sigdef)#signature 6130 10
    router(config-sigdef-sig)#engine
    router(config-sigdef-sig-engine)#event-action produce-alert
    router(config-sigdef-sig-engine)#event-action deny-packet-inline
    router(config-sigdef-sig-engine)#event-action reset-tcp-connection
    router(config-sigdef-sig-engine)#exit
    router(config-sigdef-sig)#exit
    router(config-sigdef)#exit
    Do you want to accept these changes? [confirm]y
    router(config)#

  • It should be possible to set default behavior for all file types

    It should be possible to set a default action for all file types. I'm so tired of having to manually sit and say "save this file" because Firefail always defaults to "open with" and has disabled the "Do this automatically for files like this from now on."
    And spare me the zealotry religious excuses for why its the fault of websites and not Firefail
    ''edited to remove swearing''

    I do want users to have full control to be able to set any folder view they want by using Apply to Folders; I just want to set the initial/default view to Detail because that matches what the majority of my users want.
    That is, what registry setting changes when I go to a picture folder, change the view to Detail, and click Apply to Folders? Having done that, I still retain the ability to change it to some other view and apply that to folders. But what registry setting
    represents the change I just made when applying Detail view to all Picture folders.?
    This settings is simple via GUI, but it is related a lot of registry keys, I made a test in my machine, capture the "Apply to Folders" process using Regshot tool (this is a small tool which can compare the regsitry changes after you change some
    settings), and this is the result:
    this is part of the registry changes, a plenty of registry keys and values need to be changed. hard to list them here. if you have interests, I recommend the tool Regshot, it can help you capture the regsitry changes.
    NOTE: Please Note: The third-party product discussed here is manufactured by a company that is
    independent of Microsoft. We make no warranty, implied or otherwise, regarding this product's
    performance or reliability.
    Yolanda Zhu
    TechNet Community Support

  • How to set default sync calender category in Entourage 2008

    I am using Entourage 2008. Syncing it with ical then sync with iphone (as iphone cannot sync directly with Entourage). Everything works fine right now except that i cannot set default calender event category on Entourage.
    now, whenever i make a calender event on ical or iphone even enotourage. it default category as "none", how do i make it default to be "work" category? Now i have to go in every time to chage it, which makes a lot of trouble.
    Please help~!!!!
    Jason
    Message was edited by: jsky

    Hi,
    Try this procedures.
    1. Dont open your SBO program.
    2. Goto C:\Program Files\SAP\SAP Business One\Conf\ folder
    3. Delete file b1-local-machine.xml
    4. Log to SBO program.
    5. Apply all necessary authentication then select SQL_2008 then log.
    6. After logging exit to SBO program.
    7. Re-log again if SQL_2008 is already in default.
    Thanks.
    Clint

  • Set Default Values in Listbox with Dialog Programming

    Hi all,
    I am stuck with a problem i.e  I am working with Dialog Programming Screen
    where i have to set default values in some n numbers of Listbox which i have created on Screen.
    This default value is needed to be fetched from database table.
    I am using single table. Hence no confusion that i have to first fetch data from 1st listbox then corresponding data is fetched into second & so on ..NO NO This is not required.
    Simple one screen which will update a table in database, where  some fields on the screen needs to be default set as per tables domain default values set while table creation.
    Please help me out in this.
    Thanks & Regards,
    Sandhya.

    Please search SDN, before you post a new forum from next time... any ways just follow the below code..
    u need to use the FM 'VRM_SET_VALUES' to implement list box in module pool. Check the below code. u have to write this code in PBO..
    if c = 0.
    select land1 landx from t005t into table wi_country.
    sort wi_country by land1.
    delete adjacent duplicates from wi_country comparing all fields.
    loop at wi_country.
    wa_ctry-key = wi_country-land1.
    wa_ctry-text = wi_country-landx .
    append wa_ctry to wi_ctry.
    endloop.
    call function 'VRM_SET_VALUES'
    exporting
    id = 'ZCUST_MASTER1-COUNTRY'
    values = wi_ctry
    exceptions
    id_illegal_name = 1
    others = 2
    if sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    c = 1.
    endif.
    Hope this helps u,
    Regards,
    Rajesh

  • Problem in setting up Actionable Emails

    Hi
    Hope you are doing fine
    I'm finding problems in setting up Actionable emails in Human Tasks.
    The mails are coming fine, with approve/reject buttons, but when I click on either of those buttons and send the email, nothing is hapenning. The same, when done using workspace is working fine.
    So I think this is something to do with the configuration.
    Before setting up the configuration, I have the foll details
    OutgoingMailServer, port
    IncomingMailServer, port, userName(say ActionableAccnt), pwd (which I'm using for actionable email)
    Here is my setup:
    In email driver notification under UMS
    Sender Address : [email protected]
    Default Sender Address : [email protected]
    provided outgoingMailServer, port, incomingMailServer, port, username, pwd
    And setting in Workflow Notification Properties
    From Address : [email protected]
    Actionable Address : [email protected]
    ReplyTo Address : [email protected] (this is a dummy address)
    Please note that in every emailId entry except the replyToAddress, I've used the same valid emailId [email protected]
    Is this ok? I'm ok even if the replyTo and actionable addresses are same.
    I've restarted the server. But its not working.
    Did I miss something here?
    I've gone through the documentation, some blogs, but could not find any.
    Would you please help me in this regard.
    Thanks in Advance
    Regards
    RaviKiran

    Hello there.
    Here's the ServiceLocator and delegates I am using....
    // LoginDelegate.as
    package com.myproj.products.business {
         import com.myproj.products.vo.LoginVO;
         import mx.rpc.IResponder;
         import com.adobe.cairngorm.business.ServiceLocator;
         public class LoginDelegate {
              // anything that implements the IResponder interface can act as a responder
              private var responder:IResponder;
              private var service:Object;
              public function LoginDelegate(responder:IResponder) {
                   this.responder = responder;
                   this.service = ServiceLocator.getInstance().getRemoteObject("loginService");
              public function login(loginAttempt:LoginVO):void {
                   // Call the method of service that resides on server
                   var call:Object = service.login(loginAttempt);
                   // Send the response to responder
                   call.addResponder(responder);
    // com/myproj/products/business/Services.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <cairngorm:ServiceLocator
         xmlns:mx="http://www.adobe.com/2006/mxml"
            xmlns:cairngorm="com.adobe.cairngorm.business.*">
         <!-- Login Service -->
         <mx:RemoteObject
              id="loginService"
              destination="zend"
              source="LoginService"
              showBusyCursor="true">
              <mx:method name="doLogin" />
         </mx:RemoteObject>
    </cairngorm:ServiceLocator>
    With kind regards
    ShiVik

Maybe you are looking for