Forcing the 'save changes?' dialog

Hello,
I was wondering, Is it possible to force the form status to 'CHANGED' without any interaction with database items?
Thanks.

It is possible to change the Record Status, but not the block or form status programatically.
set_record_property(to_number(name_in('system.trigger_record')),name_in('system.current_block'), status, CHANGED_STATUS);You could also simply prompt the user to save by displaying your own Alert asking if they want to save changes.
DECLARE
  al_id    ALERT;
  n_button_pressed   NUMBER;
BEGIN
   IF ( <some condition occurs that signals the need to save> ) THEN
      al_id := Find_Alert('STOP'); /* Must have an Alert Object created named "STOP" */
      Set_Alert_Button_Property(alert_id, ALERT_BUTTON1, LABEL, 'Yes');
      Set_Alert_Button_Property(alert_id, ALERT_BUTTON2, LABEL, 'No');
      Set_Alert_Button_Property(alert_id, ALERT_BUTTON3, LABEL, 'Cancel');
      n_button_pressed := Show_Alert(Alert_ID);
      IF ( n_button_pressed = ALERT_BUTTON1 ) THEN
         /* Yes */
         <Perform you Save processing here>
      ELSIF ( n_button_pressed = ALERT_BUTTON2 ) THEN
         /* No */
        < Do something here for NO >
      ELSE
         /* Cancel */
         RAISE Form_Trigger_Failure;
      END IF;
   END IF;
END;Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.

Similar Messages

  • Is there any way to force the "Save As" dialog to automatically select only the filename, not the filename+extension?

    See
    https://bugzilla.mozilla.org/show_bug.cgi?id=426680
    or more clearly stated here:
    https://bugzilla.mozilla.org/show_bug.cgi?id=480522
    Two years later this "bug" (not exactly a bug, but a pain in the butt nonetheless) is still not resolved.
    Yes, I'm running the latest version of Firefox (6.0.1). And I'm running it on a MacBook Pro running OS 10.6.7.
    The selection is made correctly in other applications; this problem is Firefox-specific, and occurs even when no extensions or plug-ins are installed.
    Except that when I had my last computer, I found a work-around somewhere that fixed it, but for the life of me I can't recall what kind, how, or where.
    Any help with solving this irritating issue would be greatly appreciated.

    The initial view (IV) settings within a PDF file are static tags - they can't be made to dynamically-adapt based on the window dimensions,it's the renderer (Acrobat, Reader, or whatever else is opening the file) that decides if and how it will follow the IV requested by the file header.
    It would be possible to use a Page Open action on the first page of the file, which does some nasty math with the various doc.*WindowRect objects to work out how much "wasted" space there is, and then set the doc.layout and doc.zoomType properties - but page actions are a different concept to IV as the zoom will reset itself every time that page is viewed. Users don't like their application apparently fiddling with the zoom level without being told to!

  • How do I force Firefox (6v02) to stop showing thumbnails of existing file(s) in the save-as dialog box?

    I save files associated with similar objects using similar names (just a different extension, or numeric sequence). The save-as dialog box shows a list of existing files. When I choose one, with the intention of changing the file extension or the numeric sequence (e.g., choose 'file001.jpg' in order to rename the new file to be saved 'file002.mpg') the thumbnail associated with the one I select is shown on the right. I neither want nor need this time-consuming & memory-consuming process to take place. I would like to be able to disable this feature in order to allow me to do what I want directly and faster (P3/866MHz/512MB).

    Perhaps, but the problem is I don't really know what to look for. I've tried doing a keyword search of the AIprefs file to find where ICC profiles and compression could be located but I couldn't find anything. Does anyone know what they are called and what I should modify?

  • Can the default for Format be changed in the Save As dialog?

    I'm running PSE 6 on XP.
    When I do a Ctrl-W to save and close a new image I get taken to the Save As dialog.
    The Format is always set to PSD.
    But for the things I'm working on, I just want to save them as jpg's.
    Is there a way to change that default in the Save As dialog?
    Thanks.

    I've never found a way to set the default format. I use a keyboard macro utility, Quick Macros, to accelerate common actions like saving a file in JPEG format at maximum quality. There are many such utilities, none of them particularly great.

  • How to avoid the "Save As" dialog when using "Close Button"

    Hello All,
    I am facing a problem while closing a pdf file.
    I am using the following code to Open a pdf file.
    CAcroApp objAcroApp = new AcroAppClass();
    CAcroAVDoc objAVDoc = new AcroAVDoc();
    objAVDoc.Open(C:\\new.pdf,Sample);
    objAcroApp.Show();
    After opening the document I am **** some changes (adding markup) in the file.
    Then I am closing the file using the Close Button and in YES for the save confirmation dialog.
    Here is the problem.
    After giving YES, I am getting a Save As dialog with "Sample.pdf" in the FileName box.
    I am getting this only in Acrobat 9.0.
    When I tried the same in Acrobat 8.0 I didnt get Save As dialog. It saved with out "Save As" dialog in "C:\\new.pdf".
    I need to give the same behavior in both Acrobat 9.0 and 8.0.
    Please help me out to fix this issue. Thanks in advance.
    Regards,
    Mohd Mustafa SK

    In what you have posted, there is no reason it shouldn't work the same way in Acrobat 9. I would recommend that you submit your complete application to developer support.

  • I get the Save As dialog when trying to Save, whether using Command-S or File menu

    When trying to Save a document, I am presented with the Save As dialog. The file name has a serial number added  to the old file name and the default destination is the Documents file. This happens whether I have tried to save using Command-S or using the Save option in the File menu. This started after I upgraded to Mavericks.

    I checked and the files are not stationery pads, Permissions show me as having read and write authority.
    But, when I  opened the files from the finder, the problem disappears and they saved normally. I then removed the files from the Dock and re-placed them in the Dock via drag and drop. The problem re-appears and changes will not save normally. Not being able to use the Dock is inconvenient but at least there is a workaround. Thanks for your help! Before declaring victory, I'd like to watch it for a while for other quirks.

  • Clicking on a file name in the Save As dialog removes the extension (.html or .jpg)

    In previous versions of (any) browser I could save a web page, and if there were more than one page, as in a thread in a forum, I used to be able to click on the saved file, "file 01.html" in the Save as dialog, it would show up as "file 01.html" and I could change the 01 to 02 for the second page, ie "file 02.html"
    But now when I click on the file name it shows as "file 01", the .html disappears. Same for .jpg or any other extension.
    This is very annoying, especially when I find a long, multipage thread on a subject I want to read later offline.
    Bug or Feature? Either way I don't like it.
    How can I change it back?
    Thanks,
    David

    I have seen that as well. If I change the name of a .jpg picture I am downloading, I have to add back the extension into the file name. If I do not change the name, the extension is kept.

  • Can no longer do Cmd N within the Save As dialog window

    Hey guys
    For some reason I haven't been able to make new folders within the Save As dialog window by pressing Command N after installing Leopard, I have to manually click the New Folder button. Were commands changed? Is it a bug? I would appreciate if someone can tell me how to get this command back.
    Thank you

    Glad to hear you aren't crazy, but apparently some programmer somewhere was. I always use the button when I'm in Save as to create a new folder, something I do rarely, so I assumed it worked the way it did everywhere else, and, of course when I tried it here in Leopard it did work the way I assumed it ought to. Evidently there was an, umm, how to put this nicely....interface inconsistency (that sounds polite, I think) that was corrected in Leopard. There, I'm sure the original programmer won't be offended. Not to mention his boss, or whoever is supposed to be in charge of Human Interface Guidelines Compliance issues. Whoever it is seems to take frequent vacations....
    Francine
    Francine
    Schwieder

  • The Where in the save as dialog box

    The Where in the save as dialog box is frustratingly limiting is there a way to change this so I can browse to the folder I want?

    I recommend you get Default Folder.   I've considered it a must have utility for my systems since OS9 Classic days.  It greatly helps in navigation for the ever deficient file dialogs in OSX (and OS9).

  • On a MBP with Mavericks how do I get the Save As dialog box to open at the same size and place at which it was last closed and used to happen before Mavericks?

    Before I upgraded my MBP to Mavericks, the Save As dialog box would reopen at the same size and position as it was when last closed.  Now with Mavericks it always opens in the same position at a very small size.  Is there a way to make it reopen at the last place and size at which it was closed?

    I have resolved the issues presented without having to find and uninstall the Macromedia Flash Player 8.0 in order to get "Adobe Flash Player 10" playback of .swf files on my computer. When I begin this task, I expected to download an "Adobe Flash Player 10" as a player program download instead of the Internet Explorer and Firefox plugin that it appears to be.
    This is what I did and what I believe I have:
    1. I setup Internet Explorer 6 as my default browser and then used the following site to download Adobe Flash Player 10
    http://www.adobe.com/products/flashplayer/
    2. As I had done before (and also suggested in another thread here), I went to Tools/Manage Add Ons and found Shockwave Flash Object, highlighted it, and clicked on Update Active X. Next, what I did not do before, I restarted the computer immediately after that.
    3. Next, I set Mozilla Firefox as my default browser and then used the above site to download Adobe Flash Player 10 again.
    4. With Firefox, the critical step included Firefox Tools/Options/Content with File Types (Configure how Firefox handles certain types of files) and the Manage Tab there. SWF Shockware Flash Object/Change Action/and dotting "use this plugin" - Shockwave Flash, followed by a computer restart got the job done.
    Now, if I want playback of a .swf file, I can
    a. Open With Internet Explorer (assumed with the Adobe Flash 10 "plugin")
    b. Open With Mozilla Firefox (assumed with the Adobe Flash 10 "plugin")
    c. Open With Macromedia Flash Player 8.0
    I am satisfied with those results for my use. Any additional comments on the player vs plugin aspect of the matter would be interesting and helpful.
    ATR

  • How Does The Browser Know The "File Name" field in the "Save As" dialog

    Hi!
    I have a servlet called co.com.SomeStaff who reads a binary file from the server an sends it to the breowser.
    The Browser opens the "Save As" Dialog whith the value "co.com.SomeStaff" in the File name field, but and I need the name "SomeBinariFile.exe" instead.
    How can I change that value?
    Thanks All.

    Use <%
    response.setHeader("Content-Disposition", "attachment; filename=filename.2save");
    %>

  • Save Changes Dialog Stops Batch?

    Hi,
    I created a simple batch action that makes a small change to an EPS file, and then exports to WMF. 
    On the last step, I record File>Close.  This opens the "Save Changes to original doc?" dialog window below (see graphic).  I choose "Don't Save", and stop the action. 
    However, each time it stops the batch on this dialog box.
    Is there anyway to automate this step so that it will not interrupt my batch?
    Thanks for any suggestions.  I'm losing work hours!
    -t

    Hi Mylenium,
    Thank you!  I used the controls in the batch settings window to "Save and Close" instead of explictly closing as a step in the batch.  That bypassed the dialog window, and the batch worked without stopping.
    However, I did not see any "Suppress all Dialogs" option anywhere.  Where would I find that for future reference?
    I'm using a Mac, CS5.1.  Here's what I see:
    Tom

  • Buttons of the "save as" dialog are unreachable

    I am using SUSE 10.1 with fvwm2 and Adobe Reader 8.1.1 resp. 8.1.2. When a user wants to save a PDF file to a USB-disk or so, he clicks onto the "save as" button. Then a dialog pops up, where the user can select the location where to save the data. This dialog is collapsed by default, so the user sees only the Buttons "Cancel" and "OK" and a tiny triangle to expand the dialog (screenshot: http://freenet-homepage.de/motherbrain/curimg/Bildschirmfoto-2.png ). When the user clicks onto the triangle, the dialog expands downward. Unfortunately so far downward, that the user can not reach the buttons. (screenshot: http://freenet-homepage.de/motherbrain/curimg/Bildschirmfoto-3.png ). After the user has chosen the path to the desired location where to store his data, the only way to complete the task is to collapse the dialog by clicking once again onto the tiny triangle.
    This is the problem. I want to get the buttons by default into the screen. Is there a configuration file or something to change the position or size of the "save as" dialog? This would be very helpful.

    Since Adobe Reader 7 has had his own file picker dialog (which worked very well), i hoped this feature was still accessible in AR 8. Since it's not, i will have to change some OS configurations. Maybe i should try another window manager or another file manager. Or another OS -- buttons disappearing beyond the visible part of the screen seems to be a general SUSE problem.
    Thanks for answering.
    Artur

  • How do I move the 'save as' dialog out of my way in Preview?

    I have a stack of pdf files to rename, for which I need to read the contents. The filenames are composed from the authors, title and date which are inside the documents. The trouble is that I can't save them without the 'save as' dialog occluding the document, which I need to see in order to fish out the authors, title and date.
    How can I move the 'save as' dialog off the document view?
    Is there another way around this problem?
    I'm using Snow Leopard's version of Preview, in case it matters.

    Yes, that makes it pretty much impossible if you need to grab text from various places first and assemble it into the file name you want.
    I can copy/paste text out of a PDF with the Adobe Reader into a Save As dialogue box, but then run into your same issue with Preview. I can't move back to the document to get another snippet of text.

  • How come the "save as" dialog box keeps popping up whenever I try to use alt codes?

    I type with diacritical marks regularly but recently, when I press and hold Fn + Alt + the numerical code, it brings up the "save as" dialog box. This seems to be a Firefox-specific issue because this doesn't happen on Microsoft Word + other programs. I am wondering how to disable this "save as" dialog box shortcut, or how to just get the alt codes to work.

    Hm, this is the list of add-ons that are currently enabled on my browser:
    <br><br>
    Dictionnaire française moderne (it can't be this one because I just installed it today)<br>
    Java Console 6.0.18<br>
    Java Console 6.0.25<br>
    Java Console 6.0.20<br>
    Java Console 6.0.24<br>
    pdfit (doesn't seem like it's this one either)<br><br>
    Conclusion: might it be one of the Java Consoles?
    Thanks!

Maybe you are looking for

  • PLEASE HELP! Photoshop won't let me angle any of my brushes, it makes all of them round. How do I fix this?

    So I ran into a bit of an issue a couple days ago. For whatever reason, photoshop will not let me angle any of my brushes, which a lot of them are (currently working on a digital painting portfolio), so it is a bit of a problem. I have tried going in

  • Open the cover on the airport extreme

    Has anyone done this successfully? I need to look at the electrical cord jack as I think it might be slightly bent. Thanks, Roger

  • Special Reserve : transaction code AO99

    Hi all, do you know how to do to add a depreciation area for account determination "special reserves"? Table SAP = T095P. Thanks a lot for your assistance.

  • FDM v11.1.2 - Report Question

    I am working with FDM v11.1.2 trying to add the target account description to the trial balance reports. I have done this in previous versions but the same methodology doesn't appear to work in the new version. The account description is still blank

  • Packager for iPhone and AudioSubscriber

    Hi, I wrote code which connects to session and subscribe the sound: var auth:AdobeHSAuthenticator = new AdobeHSAuthenticator(); auth.userName="xxx"; var session:ConnectSession = new ConnectSession(); session.roomURL="https://connectnow.acrobat.com/xx