Help with conditional display and Validation

Version 4.1.1.00.23

Hello

I'm having a difficult time with a conditional display and validation, I hope someone can help with.

Requirements:

When (Datepicker) Start Date or the end Date (Datepicker) change can display the reason for change (select list) and change Description (Textbox)
If the page is saved without entering a reason change display an error message of validation that the reason for the change cannot be empty (NULL)

What I tried

Create a dynamic Action on the Start Date

Event: Change

Selection type: Article (s)

Items (s): P51_START_DATE

Condition: no

Real Action Section:

Action: Show

Fire on Page load: Checked

Display all the elements of the page on the same line: NO.

Section of the elements concerned:

Selection type: Article (s)

Product (s): P51_CHANGE_REASON, P51_CHANGE_DESC

I also created a dynamic Action with similar settings for the P51_END_DATE.

I created a Validation for the P51_CHANGE_REASON as a function return error text:

DECLARE
    v_start_date    work_items.start_date%TYPE;
    v_end_date      work_items.end_date%TYPE;
BEGIN
    SELECT start_date
          ,end_date
    INTO   v_start_date
          ,v_end_date
    FROM   work_items
    WHERE  work_items_id = :P51_WORK_ITEMS_ID;
    IF ( (v_start_date != TO_DATE(:P51_START_DATE,'DD-MON-YYYY') OR v_end_date != TO_DATE(:P51_END_DATE,'DD-MON-YYYY') ) AND
          :P51_CHANGE_REASON IS NULL ) THEN
        RETURN 'Change Reason must have a value';
    END IF;
END;


The question

I tried to create another dynamic Action to hide the P51_CHANGE_REASON and P51_CHANGE_DESC fields during the loading of the page, but when the date fields are changed and the validation is fired the P51_CHANGE_REASON and the P51_CHANGE_DESC are hidden again.

There are two buttons to send the page: 'SAVE' will submit the page and stay on the page and 'SAVE_CHANGES' will present the page and creates a branch to the previous page (which is a relationship with the EDIT buttons to change recording).

I can not loading the dynamic Action page for fires DO NOT when validation is triggered.

I hope it is clear and if not what information can I provide?

Thank you

Joe

Which the condition is failing and what browser? I tested it in Firefox and it works as it should. Can you confirm that?

Tags: Database

Similar Questions

  • Help with check boxes and actions

    Hello

    I just downloaded a trial version of LiveCycle Designer ES2 to see if this program works for the company that I work for. I need to create order forms for our products that our customers can fill out online and then send an e-mail to our sales department.

    I have imported our current order form to LiveCycle as a work of art and have inserted check boxes on the form. I want the form to automatically add the price of the option they checked off the retail price of total at the bottom of the form. Do you have any suggestions for me?

    Thank you!

    Stefan

    Hello Stefan,

    LC Designer is a very powerful application. While you can drag and drop objects on the form, for things really move you need to put a script in objects. This allows to control the way in which the form will be according to the users actions.

    To begin with there is help. If you have a look at the Action Builder in the Tools menu, you can select an object, then use the plain instructions accumulates the desired interaction. When you click OK, LC Designer will insert the necessary script.

    Therefore, there may be a steep learning curve, so it depends on how comfortable you are to roll up your sleeves and do some scripts.

    First, you must configure your workspace. This tends to be a personal preference, but here's a basic layout.

    It is a bit small, because of the scale, but you get the idea. At any time, you should be able to see the page, the hierarchy and the script editor. The object library and the range of the object and other palette must be close to hand as well.

    I am NOT inclined to import the form existing as work. This can limit the built-in options in LC Designer later. You can save your form existing in JPEG format and then in a new form to use the image object (value size full page) to display the image of the existing form.

    [ALTERNATIVE: you can also add fields to a PDF in Acrobat].

    Regarding scripting, the following JavaScript code should work in the click event of the checkbox (on the ground that the other field is named totalPrice).

    If (this.rawValue == 1)

    {

    totalPrice.rawValue = totalPrice.rawValue + 10;

    }

    on the other

    {

    totalPrice.rawValue = totalPrice.rawValue - 10;

    }

    This should take into account if the user changes of opinion and unticks the box.

    One thing to keep in mind about forms developed in the LC Designer, it is only the functions that will be available in the form (such as submit by e-mail in PDF format) will depend on whether the user has Acrobat or Reader, and also on whether the form has been active player (and how it has been activated). There is more information here: http://assure.ly/gYyYc2.

    I highly recommend JP Terry on LC Designer which is excellent - book "create dynamic with Adobe LiveCycle Designer Forms. It starts at the beginning and clearly sets out the key learning points. In the end, there are a few good examples that you can copy anywhere in your forms.

    We have solutions and blog posts on our website http://www.assuredynamics.com.

    There are also a range of online resources. You can find these resources useful:

    http://www.Adobe.com/go/learn_lc_scriptingBasics

    http://www.Adobe.com/go/learn_lc_scriptingReference

    http://www.Adobe.com/go/learn_lc_formCalc

    http://www.Adobe.com/devnet/LiveCycle/articles/Adobe_XML_Form_Object_M odel_Refer ence.pdf

    http://www.Adobe.com/devnet/Acrobat/PDFs/lc_migrating_acrobat_xmlform. PDF

    And a very convenient resource (and even if it's for version 6, it is still very good because of the way it is presented):http://partners.adobe.com/public/developer/en/tips/CalcScripts.pdf

    The HelpFile in the LC designer can also help with the syntax and LC designer itself comes with some great models and examples.

    Finally, discover the network of the developer on http://www.adobe.com/devnet/livecycle/

    A book that does not deal with the scripts at all, but is very good on the formatting is also ""does this work " by Caroline Jarrett and Gerry Gaffney."

    The Adobe "PDF forms Bible" is OK, but focuses mainly on AcroForms.

    WindJack Solutions have a service on subscription for the scripts and solutions tohttp://www.pdfscripting.com. There a lot of AcroForm script which can be modified according to LC designer and a growing library of LC Designer solutions.

    I hope this helps,

    Niall

  • How to get help with Add ons and extensions that stop working

    I have saved passwords and it has stopped working. It's so hard to get help with Moxilla

    rosemarybales said

    I still don't know why the extension button passwords saved with the key icon has stopped working.

    This button displays the saved passwords in Firefox's built-in password manager, is no separate passwords that record you in Dashlane. Can you save passwords in both places? (Well, I guess you do.)

    I have a guess on why it has stopped working. Firefox 40 has some changes to how extensions can work with the user interface, so quite a few extensions that have been more than one year must be updated for Firefox 40. It has been updated on January 10, 2012.

    Anyway, the way of 'long' to display the passwords saved in Firefox is through the Options page, the Security Panel, the saved passwords button.

  • Help with Hard Drive and registry

    Hey, it kinda turns out to be a long and difficult history, but I recently had a small problem that spread to a problem much bigger (and catastrophic).

    I had a problem with freezxing on my laptop (HP Pavilion Dv5 with the 64-bit version of Vista I think). I've tried a few things m ais it froze just in case. Finally I found someone who said they ran a registry cleaning program and that did the trick. I tried and I had no more freezing. Unfortunately, I connected an external hard drive and all hell broke loose. It froze and I turned off the laptop. I have it turned on and was greeted with this message:

    STOP: c000021a {Fatal System Error}
    The Session Manager failed to create protected prefixes system process terminate
    d unexpectedly with a status of 0x000003a (0x00000000 0x00000000).
    The system has been shut down.
    

    I tried to boot in safe mode and found:

    STOP: c0000218 {Registry File Failure}
    The registry cannot load the hive (file):\SystemRoot\system32\config\SOFTWARE or its log alternative.
    It is corrupt, absent, or not writable.
    

    Then, she went and made the collection of data, and that was all. After that, I tried the boot recovery option and that never worked. I searched internet and found a few people with similar, but never the same questions. Someone, somewhere, says something about execution of system restore after having access to the menu by pressing F8 at startup. I tried. It did not work. I pressed F8 at startup upward and chose the first option. It has established a list of things to try. System Restore (and other options such as checking memory and bring up the command prompt) did not work because the C drive has been used. Large. I tried to use the disks that came with my laptop and I never once found while they were actually useful because I could never the laptop to run.

    Now, I wanted to try to use the command prompt. Never really had a chance. Now, when I start the computer I'm greeted by the inspiring message of hard drive are not.

    Sweet. Now, I'm a little stuck on what to try. I tried to reset the BIOS defaults and nada. I have no idea what it must try now and would love to help anyone.

    I would be very happy and I thank you for your time.

    It depends on how much you have to pay to get the new hard drive installed and running. Get a quote for a computer shop trust you.  So I think that if the computer has been done what you wanted to do before he went wrong.  If it was enough for you and the price of the repair is not too high (maybe less), I would. If the price is more than $ 200, I would start thinking about applying your money towards a new laptop computer, but that cheaper isn't always the best deal.  Do some research and try some mobile friends to see if it is fast enough for you and you enjoy the feeling. Stop in some stores that display laptops and taste. Laptops with dedicated video card memory will do better with the games.  If the games are starting to become important to you, consider a desktop computer instead of a laptop where you can buy a killer video card. I like the new Ivy bridge to intel for laptops so look for it.  This is the new family of Intel processors. I7 Ivy bridge is the finest, then the i5, then the i3.  You really need to sit with someone who knows computers and discuss your needs for the future and how you want to use your computer.

  • Help with error: "display driver stopped responding, but recovered."

    Hello

    First of all, my configuration is a Dell XPS 7100, Windows 7 Home Premium 64-bit, the Videocard Visiontek AMD Radeon HD 6850 w / 9.2.0.0 driver version.

    AMD Phenom II X 6 cpu.

    My problem is that when I try to play a game (more precisely: Minecraft, SimCity, World in Conflict, AOE3) under Windows, the screen freezes for 5 seconds then go black for 1 second then back to the top with an error message saying:

    Display driver stopped responding, but recovered

    Driver AMD display driver stopped responding and has successfully recovered.

    This started only after I upgraded my video card to an AMD HD 5670 to an AMD Radeon HD 6850 Visiontek, which, at the same time, I upgraded my power supply to a 500w unit as AMD recommends. After that that I've updated all my drivers, deleted and reinstalled the driver video and which did not help. I then searched in all the forums about this problem and found that it is more than likely a problem with Windows power management. So, I followed the instructions on the site to change the registry data to help with this. This did not work, the same problem at the same time. I then contacted AMD Support and fairly well, they told me that it is either the power supply or windows power management which was the cause of the crash.

    I am at a loss now, I know not what to do. I have not tried all the third-party programs to try to manage the power. But if someone has used one that works or has any ideas for me to try please let me know.

    Thank you very much!

    I found a solution that helps!

    Please make a backup of the registry before making any changes in it.

    When editing the registry go to:

    • HKEY_LOCAL_MACHINE
    • then the MATERIAL
    • then DEVICEMAP
    • then the VIDEO
    • in the 'VIDEO' file, there is an entry with the title: MaxObjectNumber - REG_DWORD
    • This has a value at the end that looks like 0 x 00000006 (6) or 0 x 00000005 (5)
    • Double-click MaxObjectNumber, and an edit box appears
    • put 0 in the given value, and then click OK.

    This will disable Windows GPU Timeout detection and recovery. That she has stopped crashing on me.  The only problem is that windows does not save it and it resets after that rebooting so it must be changed every time you start the computer.

    If anyone knows how to save the changes to the registry, I would be very grateful for your advice.

  • Reactive layouts: publish multiple Sites with conditional Builds and which connect

    I hope that someone can provide a simple solution to publish problems I've had with adapted presentations when you try to publish several sites with conditional builds. Essentially, I want to be able to have an index page that links to one of the two variants of the published sites that I called 'General' and 'specific '. When I click on the 'general' link I want to not open the site which was published with a conditional for all these subjects compilation labeled as 'general' and when I click on the 'link' want it to open the site which was published using a conditional version for 'specific '.

    Here are the steps I took to create sites and can't seem to get to bind correctly:

    Table of contents, topic Creation and tagging content

    1. Creates a Table of contents.
    2. Added 2 topics in the Table of contents. The first topic, I called "general" and the second issue I called, 'specific '.
    3. I then click with the right button on the "general" and selected subject Tag to build conditional apply. From there, I've created a new tag called "General".
    4. I repeated this process to create the specific tag, but do a right-click on the 'specific' theme and the creation of a new tag called "specific".

    Layouts reactive and edited the sites based on the conditional tags

    1. Created sensitive presentation using the standard layout and content generated without any conditional builds.
    2. Duplicated sensitive put in page and gave him the content of 'general' then it is generated using the conditional, "General" version If the finished publication published content has shown that the 'general' subject, as expected.
    3. I then repeated the same process for the specific content and content using the version parole, generated 'specific '. When over content published showed that the subject marked as 'specific' as expected.

    Added an Index page to the table of contents

    1. Created a new topic to serve as the launch page.
    2. Added a 'general' hyperlink called for the launch of the general "theme found in the general publishes from the resource manager.
    3. Added a hyperlink called 'specific' to the launch of the general "theme found in the specific issues from the resource manager.
    4. I then republish the sensitive standard layout site.

    From this point, it gets stuck and won't open properly published Web sites. I don't know why it won't launch hyperlinks correctly. Is there something I'm missing? Let me know if you do not want to see my files. I will be gladly their.

    OK, thanks a lot for the capture screen. They help more than you realize.

    So here's one of the biggest mistakes I think that you have done so far. You use the resource manager to link to published results. If it is technically possible to do, I'm pretty sure Adobe never planned for it to be used this way.

    It may help to think in terms of creation of food products. I have long considered as RoboHelp to be very much like working in my kitchen. All consumables (heading text in the headings, images, HTML pages, etc.) are just as raw ingredients. (Eggs, milk, flour, etc.). The places of storage (hard drive) it's like the pantry and the fridge. And RoboHelp provides facilities to easily combine ingredients to create the different recipes.

    This next bit will be somewhat exaggerated, but bear with me. Maybe you have one or more neighbors and all you want to share some common "ingredients". If you set the things where each of you have access to a wine cellar and a shared refrigerator. Maybe you do a Dutch sauce killer. You create it and place in the refrigerator, then your other participants have access through the common "fridge". This is exactly what the resource manager is intended to help.

    Now assume that you create something like cookies chocolate chip and you keep in the refrigerator. Well, that's fine, but you don't want to use cookies to chocolate chip already baked in a recipe that might call for cookie dough. But that's what happens when you take an exit and place in a place intended for raw ingredients. And you will see the strange behavior. Prepare for these cookies chemically changes them so that cookies already are significantly different from the dough used to create them. Similarly, you don't want to take one or more output files and reuse in a project source.

    So in your case, you run an index file and that fires events to produce the output. All should be well. But when you click on the links to open topics, topics are intended to show up more in the right panel. Think of the picture of how works of image on a TV. The moment that link you to something intended to fill the screen, he is forced into this smaller area on the right. If you end up with what you see in the last picture.

    I suggest the following steps.

    First, REMOVE your resource manager exits.

    REMOVE all links that can point here.

    Output records where people will consume copy your projects. (The web server)

    Then figure either the parent (.. /.. / somefolder/somefile.htm) path to other systems or the absolute path (http://www.whatever.com) and to link the projects in this way.

    Sorry, but without seeing the installation of first hand, it is difficult to say what should be these paths.

    I hope this was helpful... Rick

  • 1st time scripter... needs help with conditional step 2

    Never write the script in any form. JavaScript can be Cuniform as far as I know.

    Really want to understand such things.

    Download all guides... they make my head ache. Would like any suggestions on a good starting book. entry level stuff.

    Should I go to learn Javascript, then it'll all be easier?

    This is the purpose of the script that I want to write.

    I have a folder folders containing main/artist name/backup / retouched / * this is the lie of the images *.

    also / intact / * this is the lie of the images *.

    I would like to write a script that sends Photoshop thanks to all subfolders looking for files.

    Open the file.

    Determine if the file is grayscale.

    If this isn't the case, close the file.

    If grayscale determine the longest side of the image and resize it to 300 DPI maintaining proportions making long side 10 inches.

    Save the file in the folder '_8x10' file name added

    Save the file in "' C: / getty /" add "_8x10" file name "

    Close the file without saving changes

    OTHER IMPORTANT FACTS

    Emphasizing the need that the originals should not be harmed in any way.

    99% of the files are .tiffs others would jpg - I can't ignore jpg files in order to remove a variable.

    I worked on it for 2 days, trying to teach me, and it is not just by clicking. I can't pick it up quickly.

    Here's what I wrote and tried to patch all of the other scripts on the web in the hope that I understood why I was picking up this code.

    I'm short on time and would like advice on this.

    Here is my code:

    GrayscaleThenLandOrPortTo10Inches300dpi.jsx

    Copyright 2012

    Written by Brian Shupe steal shamelessly on the net

    /*

    Description:

    This script finds the folder and all subfolders for images.

    Check to see if they are grayscale

    If so, he trims the long side at 10 inches at 300 dpi

    */

    turn on double click of the

    Macintosh Finder or Windows Explorer

    #target photoshop

    Make Photoshop the frontmost application

    where we double clicked on the file

    app.bringToFront ();

    ///////////////////////////

    //       SET-UP          //

    ///////////////////////////

    Close all open documents

    so that {(app.documents.length)

    app.activeDocument.close)

    }

    Create the dialog select parent folder

    var imageFolder is Folder.selectDialog ("select a folder with images to treat");.

    Set variables naming for easier coding

    var doc = app.activeDocument;

    set the units to inches

    Save current preferences

    var strtRulerUnits = app.preferences.rulerUnits;

    var strtTypeUnits = app.preferences.typeUnits;

    Adobe Photoshop CS4 use pixels and display without the value dialog boxes

    app.preferences.rulerUnits = Units.INCHES

    app.preferences.typeUnits = TypeUnits.INCHES

    app.displayDialogs = DialogModes.NO

    Recursively process all subfolders

    If (image! = null) processFolder (imageFolder);

    function processFolder (folder) {}

    List of files of the var = folder.getFiles)

    for (var i = 0; i < fileList.length; i ++) {}

    var file = list of files [i];

    }}

    Check if the active document isn't in grayscale. If this is true do nothing

    If (doc.mode! = DocumentMode.GRAYSCALE) {}

    } else

    Check if the document is higher than it is wide

    If (doc.height > doc.width)

    {

    Perform this action if the IF statement is true. Action of sizes both height to 10 inches and 300 DPI

    doAction ("Port", "Getty");

    }

    on the other

    {

    Perform this action if the IF statement is false. Action sizes two length of 10 inches and DPI to 300

    doAction ("Land", "Getty");

    }

    Create a folder to contain a file duplicate

    myFolder var = new Folder("c:/Getty/");

    myFolder. Create();

    saveFile = new file ("C: / Getty /' + imgName +"_"+"8 x 10")

    var CurrentFolder = activeDocument.path;

    var ParentFolder = decodeURI (activeDocument.path.parent);

    saveFile = new file (parentFolder + ' /' + 'CONTAINER BACKUP' + ' /' + imgName + "_" + "8 x 10")

    app.activeDocument.close (SaveOptions.DONOTSAVECHANGES)

    I think that, right now, the problem is when it gets to the point where he seeks an image open... There are jumps to zero and it.

    Anyone can see that for my clumsy attempt and course correct me?

    would be happy to discuss tutoring services.

    This is a full version that could help with all of the necessary steps...

    #target photoshop
    app.bringToFront();
    main(); //call the main function
    function main(){
    var folders =[];
    var topLevel = Folder.selectDialog("Please select top level folder");
    if(topLevel == null) return; //if cancelled quit
    folders = FindAllFolders(topLevel, folders);
    folders.unshift(topLevel);
    var outputFolder = Folder("/c/Getty/");
    //create output folder if it does not exist
    if(!outputFolder.exists) outputFolder.create();
    for(var z in folders){// loop through all subfolders
    var fileList = folders[z].getFiles("*.tif"); //get a list of all tifs in this folder
    for(var a in fileList){//loop through all files in folder
        app.open(fileList[a]);//open file
        var doc = activeDocument;
        if(doc.mode != DocumentMode.GRAYSCALE){//if not greyscale close and get next doc.
            doc.close(SaveOptions.DONOTSAVECHANGES);
            continue;
            }
        if(doc.width > doc.height){//landscape
            //resize document, only one value is required otherwise it might distort the document.
            doc.resizeImage(new UnitValue(10,'in'), undefined, 300, ResampleMethod.BICUBIC);
            }else{//portrait
                doc.resizeImage(undefined, new UnitValue(10,'in'), 300, ResampleMethod.BICUBIC);
                }//end resize
            //get the name without the .tif extension
            var Name = app.activeDocument.name.replace(/\.[^\.]+$/, '');
            //create the output file path and name
            var saveFile = File(outputFolder + "/" + Name + "_8x10.tif");
            //save and close
            SaveTIFF(saveFile);
            doc.close(SaveOptions.DONOTSAVECHANGES);
        }//end filelist
    }//end folders
    }//end main function
    function FindAllFolders( srcFolderStr, destArray) {
     var fileFolderArray = Folder( srcFolderStr ).getFiles();
     for ( var i = 0; i < fileFolderArray.length; i++ ) {
      var fileFoldObj = fileFolderArray[i];
      if ( fileFoldObj instanceof File ) {
      } else {
             destArray.push( Folder(fileFoldObj) );
      FindAllFolders( fileFoldObj.toString(), destArray );
      }
     }
     return destArray;
    }
    function SaveTIFF(saveFile){
    tiffSaveOptions = new TiffSaveOptions();
    tiffSaveOptions.embedColorProfile = true;
    tiffSaveOptions.alphaChannels = true;
    tiffSaveOptions.layers = true;
    tiffSaveOptions.imageCompression = TIFFEncoding.TIFFLZW;
    activeDocument.saveAs(saveFile, tiffSaveOptions, true, Extension.LOWERCASE);
    }
    
  • Photosmart: Called tech support for help with my printer and got a sales pitch

    I called HP customer service today to get help with my wireless printer because it won't print wireless. What I got was a sales pitch to buy a value of $450 of virus protection! So very disappointed!

    Hello

    Thank you for using the HP forum.

    How can we help with your wireless?

    Have you tried the following:

    Please download and run the HP Print and Scan Doctor (PSDR) tool to diagnose and solve your problem

    http://h20180.www2.HP.com/apps/NAV?h_pagetype=s-926 & h_lang = on & h_client = s-h-E016-1 & h_keyword = DG - PDU

    Hope that helps.

  • Does anyone can help with the display settings on Satellite 4070?

    My brother gave me his old laptop, a Satellite 4070, I wrongly thought was of Wi - Fi enabled and it is connected to my library with poor results.
    The display settings are gone and continue to go haywire and display a message saying:
    There is a problem with your display settings, the adapter type is incorrect, or the current configuration does not work with your hardware.

    I tried to change the display settings but they go back - anyone got any ideas on that?
    I know there is a product recovery CD, but naturally enough I don't have that either.
    Thank you

    Hello

    I m not exactly on this fault, but it seems there must be something wrong with the graphics driver and display settings.
    That's why I recommend you first remove the old driver and after restarting again try to install the graphics driver from the Toshiba driver page.

    I think you are using the Win98. Am I wrong?
    Then visit Toshiba, download the Trident display driver and install it!

    Good luck and have a nice day ;)

  • Need help with the formatting and reinstalling windows

    Hi, I have a Compaq Presario C700 p/n GR598EA #ABU I got to work about 3 years ago.

    Recently, it does not load windows, even in safe mode and I can't get back either.

    I used a disc to boot from linux to access and backup of all my important files and now I want to reformat the hard drive, resintall windows and start over (or try something else which will fix it)

    The laptop has been pre-installed with Windows Vista and HP stuff had already installed on it.  I don't have a Windows disc or discs of driver with the laptop.

    How can I format and reinstall windows and drivers, if I don't have records?

    Help, please.

    Thank you.

    Hello:

    You can order a Vista recovery disk set for your laptop if they are still available. See the instructions below:

    http://support.HP.com/US-en/document/c00810334=

    If you live not in the US or the Canada, you can contact HP Support worldwide for the country you live and ask recovery disks command to your laptop

    The link to the assistance of HP WW is below:

    http://welcome.HP.com/country/us/en/wwcontact_us.html

    Paul

  • Helps with the rv180w and the Shrew soft vpn

    Hi, I'm trying to establish a vpn connection by using soft shrew for the cisco rv180w router.

    I watch and read everything I could find, but the connection drops during the opening of the tunnel.

    There were a few tuttorial here in the forum, but the links are down.

    I want Edifier is to establish communication and to be able to access my domain on the network.

    Any help with the settings would be greatly apeciated. I am new to vpn.

    Thanks in advance.

    Federico,

    Try to access the following link. It has good instructions for a similar model. The main difference is that the SA500 has double-WAN and the RV180W does not work.

    https://supportforums.Cisco.com/docs/doc-9378#comment-7216

    Here's another tutorial for the RVS4000 that can help:

    https://supportforums.Cisco.com/docs/doc-18443

    Check out the last post in the following thread, which received instructions for the RV220W (should be exactly the same as RV180W)

    https://supportforums.Cisco.com/message/4165652#4165652

    -Marty

  • Problem with stored procedure and validation

    I have the following stored procedure:

    create or replace PROCEDURE SOME_PROC)

    /*

    Some settings

    */

    ) AS

    NUMBER of errors

    BEGIN

    errors: = FN_CHECK_BUSINESS_RULE_1 (/ * some args * /);

    if(Errors > 0) then

    raise_application_error (ERR_CONSTANTS. SOME_ERROR_NUMBER, ERR_CONSTANTS. SOME_ERROR_MESSAGE);

    end if;

    INSERT INTO une_table (/ * columns * /) VALUES (/ * values * /);

    END SOME_PROC;

    Because the business rule 1 is placed inside the stored procedure I can't check it out without calling the stored procedure.

    I need to call the stored procedure 10 times with a different set of parameters and validation of the changes only after all calls to the stored procedure

    are successful. I want to show the user all the errors that occurred during the stored procedure calls. If for a first example of stored procedure call

    succeeds and a second failure no data has to be stored in a database.

    How to prevent the stored procedure for insert lines until I call the method commit of ApplicationModule?

    Thanks in advance.

    No, other users only see the lines until you commit. The search term is the transaction isolation level. Tom Kite write a paper on this here ask Tom: on transaction isolation levels. This article gives some samples, according to theory, and you should read it.

    Timo

  • Help with sum multiline and formatting «,»

    Hey guys, I need help with a question that I am struggling to solve...

    I have a multiline field in which I paste information from an excel spreadsheet. This information is in a format 1.234,56.

    I was able to have the numbers stuck on the ground in another area, by removing the ',': something like this:

    var withcoma = this.getField("Input_1").value; This is my multi-line field used to paste data from excel

    nocoma = withcoma.replace(/\,/g, ".");

    the var values = nocoma.split("\r");

    var total = 0;

    for (var i in values) total += Number(values[i]);

    this.getField("Total").value = total;


    The point is that I have to be able to change the numbers that I have to format to the format 1,234.56 1.234,56 if I choose to use a different currency than my original and also wear numbers in the field "Total" correctly updated.

    Could someone point me in the right direction?

    Thank you very much!!!

    The solution was to add another line of code to remove the periods used so that thousands separators in numbers.

  • Need help with network inside and outside Transmittion script

    Hi, I have a problem in my script. I would get Vm net.received.average and net.transmitted.average. Somewhere, it displays the empty output for me, can I have a sample of script on obtaining transmittion of network for 7 days

    My script:

    $report = @ (get - Vm = $vms). where {$_.} PowerState - eq "Receptor"} $lastWeek = (get-date). AddDays(-7) foreach ($vm in $vms) {$vmNet = "" |} Select VmName, NetworkReceive, NetworkTransmit $statReceive is Get-Stat-entity ($vm) - start $lastWeek - finishing (Get-Date) - MaxSamples 1 - net.received.average stat. Group-object - property Instance $statTrans = Get-Stat-entity ($vm) - start $lastWeek - finishing (Get-Date) - MaxSamples 1 - net.transmitted.average stat. {Group-object - property Forum $vmNet.VmName = $vm.name $vmNet.NetworkReceive = "{0: F2}" f $statReceive.value $vmNet.NetworkTransmit = "{0: F2}" f $statTrans.value $report += $vmNet} $report | Select VmName, NetworkReceive, NetworkTransmit | Export-csv "c:\q33.csv".
    Thank you

    Both are related to the use of aggregation running on your vCenter

    Historical data interval 4 are grouped once a day, and on your vCenter this SQL task seems to be planned at 08:00.

    That is why the time stamp.

    Statistical data are aggregated to one historical interval to another.

    Since ask us the historical interval 4 (with the IntervalMins parameter), the aggregagtion to this historical interval is not yet made.

    This is why the last day 2 are not present in the report.

    You can play with the - Start and - finishing settings to have a period of 7 days which is at least two days yet at the time.

    $report = @()
    $metrics = "net.received.average","net.transmitted.average"
    $vms = Get-Vm | where {$_.PowerState -eq "PoweredOn"}
    $start = (get-date).AddDays(-7)
    $finish = $start.AddDays(7)
    
    Get-Stat -IntervalMins 1440 -Entity ($vms) -start $start -finish $finish -stat $metrics -Instance "" | `  Group-Object -Property Timestamp,EntityId | %{
        $vmNet = ""| Select VmName, Timestamp, NetworkReceive, NetworkTransmit
        $vmNet.VmName = $_.Group[0].Entity.Name
        $vmNet.Timestamp = $_.Group[0].Timestamp
        $vmNet.NetworkReceive = "{0:f2}" -f (($_.Group | where {$_.MetricId -eq "net.received.average"} | Measure-Object -Property Value -Sum).Sum)
        $vmNet.NetworkTransmit = "{0:f2}" -f (($_.Group | where {$_.MetricId -eq "net.transmitted.average"} | Measure-Object -Property Value -Sum).Sum)
        $report += $vmNet}
    $report | Export-csv "c:\q33.csv" -NoTypeInformation -UseCulture
    
  • Help with GREP search and replace

    I've never used grep before and I'm stumped.  I have a document that lists the times for different classes.  Times are variously listed as 9-10, 9-10, 9-10 or 9-10, to get examples.  The problem is that there may be no space or a space on the left or the right of the hyphen.  I want it all the time as 10:30 - 11:30, for example.  In other words, the link must have a space on each side of it.  I think that this could be accomplished with GREP search and replace, but I don't understand the syntax well enough to make it work.

    Can someone tell me how to write the search and replace expressions?  (Of course the real time could be any hours).

    Thank you!

    It is tempting to add spaces of * all numbers separated by a dash. If you don't know all time have some minutes, then it is safer to use this:

    (?<=:\d\d)>

    .. Replace with space hyphen space.

    He seeks the "settler, any digit, any digit" (which is * found * not * included *), followed by 'optional of a space, a hyphen, optional space' and must be followed by 'any number' (again, not counting this one). Since the figures before and after are * found * not * included *-which is due to the (? xxx) syntax - all that needs to be replaced is the dashboard itself. Making the space before and after the optional dashboard (using a single "?" immediately after each), no matter if it * is * a space or not, all the combinations will be found and replaced.

Maybe you are looking for

  • Remove display password in thunderbird 31.6 MAC

    Withdrawal see the password in Thunderbird 31.6 for mac. I can't understand why this is even a part of this program. They should, then, that if you do not see the password you will need to enter a password (master password). I would expose my compute

  • Satellite P100-240 starts after the BIOS update failed

    Hello, let me start by saying im a fool... Downloaded some drivers for my toshiba p100 240 and noticed there is a BIOS update, I downloaded and ran the program only so he can get toan error that it only will allow the administrator to run the program

  • Cut icons placed in the custom navigation toolbar

    I ' ve customize my navigation toolbar, using the right click - option, to organize the icons I want to customize. " Firefox randomly keeps falling back in the window icons customize, and I have to eventually rebuild the toolbar. It usually occurs as

  • 7223cl Pavilion Notebook DV7: BIG PROBLEM! Networking and Ethernet drivers missing!

    I can't find the network drivers for windows 7 online because they offer only windows 8.1 - 10 online. I have a CRAVING for dv7 7223cl Notebook and reset it recently and when I reinstalled the windows software 7 there was neither a wireless or ethern

  • Error code 0 x 643 for updating security (KB2656370)

    I could not update since April 10, 2012 - error Code 0 x 643 to update security for Microsoft .NET Framework 1.1 SP1 on Windows XP, Windows Vista and Windows Server 2008 x 86 (KB2656370) My question is - do I really need Microsoft .NET Framework? I o