Box with a box of value

Hello

I tried to create a box with a value from the box

In testing, I found that it created the line if Chekbox is checked, but the value box updates correctly

My misstake that I believe in the process of update in the G_F0?

Any help very welocme

Pete


-Read-

Select HOTEL_FAC_NAME, HOTEL_FAC_LANG. HOTEL_FAC_KEY,

APEX_ITEM. TEXT (3, (select HOTEL_FAC_SUP. amount of HOTEL_FAC_SUP)
where HOTEL_FAC_SUP. HOTEL_FAC_KEY = HOTEL_FAC_LANG. HOTEL_FAC_KEY
and SUPPLIER_KEY =: P61_SUPPLIER_KEY), 80 100, "style =" width: 50px "',' F03_': ' #ROWNUM # ') QTY,"

APEX_ITEM. CheckBox (2, HOTEL_FAC_KEY, decode ((select HOTEL_FAC_SUP. HOTEL_FAC_KEY of HOTEL_FAC_SUP
where HOTEL_FAC_SUP. HOTEL_FAC_KEY = HOTEL_FAC_LANG. HOTEL_FAC_KEY
"" (et SUPPLIER_KEY =: P61_SUPPLIER_KEY et language_number =: P1_LANG), null, null, "CHECKED")) ""

of HOTEL_FAC_LANG
where language_number =: P1_LANG
order of HOTEL_FAC_LANG. HOTEL_FAC_KEY;

-Update-

Declare

Begin

Delete HOTEL_FAC_SUP where supplier_key =: P61_supplier_key;

BECAUSE me IN 1.APEX_APPLICATION. G_F02. COUNTING LOOP
If APEX_APPLICATION. G_F02 (i) > 0 then
insert into HOTEL_FAC_SUP (HOTEL_FAC_KEY, QTY, SUPPLIER_KEY)
values (APEX_APPLICATION. G_F02 (i), APEX_APPLICATION. G_F03 (i),: P61_SUPPLIER_KEY);
end if;
END LOOP;

end;

Hi Pete,.

An important point to keep in mind when working with checkboxes on forms which is the browser (and it IS the browser not Apex) will show only that have been checked. So if you have 10 boxes to check off on your form and you check the 1st and 5th, your collection of G_F02 will be only two records not ten.

There are a number of techniques to work around this problem.

1 make the value of the check box the primary key value of the record you want to delete (or some other function where you only need the primary key)
2. make the value of the line number box. The values in the G_02 collection will be, therefore, the line numbers of the selected items and you can then use these to access the data in the G_F03 collection. For example:

DECLARE
 vROW NUMBER;
BEGIN
 FOR j IN 1..APEX_APPLICATION.G_F02.COUNT
 LOOP
  vROW := APEX_APPLICATION.G_F02(j);
  ..do something with APEX_APPLICATION.G_F03(vROW)...
 END LOOP;
END;

Andy

Tags: Database

Similar Questions

  • Hi, I have a PDF form that has multiple check boxes. Some boxes have values (off, yes) that others have just (Yes). How can I get the value of "Off" to all of the other boxes as well. Any help is greatly appreciated.

    Hi, I have a PDF form that has multiple check boxes. Some boxes have values (off, yes) that others have just (Yes). How can I get the 'Off' the value assigned to all the other boxes as well. Any help is greatly appreciated.

    'Off' is the default value of any box when it is not checked. It can not

    be changed.

  • Make a legend write a box CMYK values?

    InDesign CS5

    Is it possible to a legend to write a script box CMYK values?

    Or something like this exsist?

    :-) Nina storm

    Sometimes going AppleScripts ScriptEditor is faster.

  • Is it possible to shrink the text to fit in a box of value

    Is it possible to shrink the text to fit in a box field value?

    Yes... run the field is set to plain text and set the font size to 0.

    Paul

  • Formation of a U8 command with input of data values

    Hi all

    I want to generate a U8 command with the given input values-

    Order is generated using parameters follwing the user would enter.























    Q2

    PAGE

    Constant

    1ST QUARTER

    P2

    P1

    P0

    0/1

    These 3 bits form a page

    0

    0

    0

    0/1

    Where,

    1st quarter & Q2 are qualifiers whose value can be 0 or 1 binary.

    The PAGE of form P2, P1, P0 bits.

    Now, I want to develop a VI where user will enter Q1, Q2, and PAGE value of 0 x 0 to 0 x 7 and a U8 command should come from these three entries.

    For example. If Q2 = 0, T1 = 1 and PAGE = 0 x 5, then exit the VI should be a U8 command 0 x 51.

    I tried this using a function to reach the numbers, but it generates a U16 that is undesirable.

    So, I guess that this must be done using some of the techniques of handling bit as ANDing.

    Kindly help me in this regard.

    Best regards

    Snehal

    Hi Alain,

    two possible solutions:

  • Is it possible to create a document merge pdf and mailing to several vendors (each with their own unique values) for them to individual e-sign?

    Is it possible to create a document merge pdf and mailing to several vendors (each with their own unique values) for them to individual e-sign?

    I have my letter and the data that is created in Excel and Word, so I want to create these data in a mail merge (by Word) and then saved in PDF format.

    I wish that each document merged PDF mail to have their signature / title / name of fields as fields of e-sign.  Is this possible? How can I configure my document as well what happends without me one in and edit every PDF document.

    Thank you ~.

    Hello Gallienterprises,

    It seems that you are looking to extract the values of your CSV file in the document of the multiple signatories. For this, you can use the MegaSign feature:

    https://helpx.Adobe.com/content/help/en/document-cloud/help/sending-megasign-using-CSV-fil.html

    Let me know if you need more information.

    Kind regards

    -Usman

  • Combo box multiple values

    Hello world

    I would like to use a drop-down list box to send two different values for two entries for every combo box selection. For example if I select "Channel 1" form the drop-down list box, then the integer "1" and the string "1 x", which I can then send to the two separate terminals.

    I really have no idea how to do that, my one thought was to combine into a single value for the value of drop-down list box and then to cut the string and use it that way - but this seems awkward.

    See you soon!

    Instead of a combobox control, I'd probably use a ring.

  • In the dialog box constant value

    Hello

    Is it possible to keep the values in the dialog box once I entered? I mean there is value if I run the script again?

    var myWidth=prompt("PLEASE ENTER YOUR TEXT FRAME WIDTH VALUE (IN POINTS)","")
    

    For example if I get 10, next time, that the default value must be 10.

    Screen Shot 2016-02-25 at 5.32.00 PM.png

    Not sure we can use const not variable (var)?

    Kind regards

    Kitty

    Well, not quite. Before displaying the prompt, you want to extract the label. So move the line before 04 08 and change 04 to something like:

    myWidth = prompt ("Enter etc...", myWidth)

    and then it should work. Obviously, test it first.

    Ariel

  • Why is OK disabled in Debugger dialog box change value?

    Hello

    For some reason any OK disabled in the dialog box, change the value of the debugger. None of what I've seen so far explains why this happens. The variable stores an oracle.jbo.domain.Date, and the source ADF library was imported into the project.

    Ideas?

    James

    Is the AutoCorrect on my cell phone. I meant type, not a torus.

    Yes, you should be able to change a string or int type in your code.

    Timo

  • Check box export values are counted twice?

    Hello

    I have problems when creating a simple PDF form.

    I created a list of table based in InDesign and added the boxes in the first cell in each row. When enabled, the value of exports of the box is added to the total amount field at the end of the table.

    Here is the file: http://www.schwanthaler-kunstschule.de/docs/Materialienliste2013.pdf

    Everything seems to work well enough until one of our clients to note, that the values of some (not all!) boxes are counted twice.

    Example: In the argument 9th checkfield ("24 Aquarellfarben in Plastikkasten STK') the value of exports is 25, when checked it should have added 25 in the field of the total sum ("Den"). Instead ago added 50.

    What's not here? I have absolutely no idea.

    Would be great if someone could help me here.

    Thank you!

    Max

    Maybe try to use simpler domain names, without special characters.

    On Thu, 11 Sep 2013 18:06, Schwanthaler Kunstschule

  • Helps the modal dialog box a value back to the calling page

    Greetings,

    Apex Version: 4.1.0.0.32


    What I'm trying to do is create a modal dialogue that is called from a form page. The user dialog box will report to IR which allow him to select a line and send a value of this line to a field of the calling page. I work in Firefox, but I get an error using IE 8. I hope that someone can show me why it does not work in Internet Explorer.

    Here's how I do it:

    Of the calling page:

    Created a button
    Action: Redirect URL
    Target URL: javascript:var rc = window.showModalDialog ('f? p = & APP_ID.:70: & SESSION.: & DEBUG.:', ",'resizable: Yes;) Center: Yes; dialogWidth:1000px; dialogHeight:500px ;') ;


    On the page called:

    The called page is an IR report where the query returns this as one of the columns:

    * (Note: I had to put a point '.' before the onclick so he could show in this thread.) It is not there in my actual code.) *
    select
    <a href="#" name="z" style="color:blue; text-decoration:underline;" .onclick="javascript:passBack(''' || LOT_NO ||''');">Select</a>' SelectThis
    , column1
    , column2
    from sometablename;
    This solves the anchor:
    <a .onclick="javascript:passBack('232158');"  href="#">Select</a>
    Here is the function Javascript is called the anchor onclick:
    function passBack(passVal1)
    {
      opener.document.getElementById("P75_ITEM1").value = passVal1;
      close();
    }
    When I run the present in Firefox, it works as expected. I click the button on the parent page. The modal dialog box is open and the report of the IR is displayed. I click on one of the links in the report and it returns the correct value to the appellant and closed page modal dialog box.

    When I run it in IE8, it fails. I click the button on the parent page. The modal dialog box is open and the report of the IR is displayed. I click on one of the links in the report and I get this error: 'opener.document is null or not an object ".

    I hope that it is clear and that someone can help.

    Thank you

    Larry

    A quick google search determines that window.opener does not exist when you use window.showModalDialog

    Range of suggestions to use window.open instead of window.showModalDialog to use instead of window.opener dialogArguments

    Try the following:

    The parent page to define a getPopupValue() function:

     function getPopupValue(){
       var dr =  window.showModalDialog('f?p=&APP_ID.:70:&SESSION.::&DEBUG.:::','','resizable:yes;center:yes;dialogWidth:1000px;dialogHeight:500px;');
    
        if ( (dr != undefined) && (dr != '') && (dr != false) ){
         $x("P75_ITEM1").value = dr;
        }
     }
    

    Change the url of the button to call the function:

     javascript:getPopupValue(); 
    

    On the popup page change the valve function for:

    function passBack(passVal1)
    {
      returnValue = passVal1;
      close();
    }
    
  • How can I configure the box return value?

    I have create a checkbox by the script below:
    SELECT apex_item.checkbox(30,)
    "#ROWNUM, #
    "onclick =" highlight_row (this,' | rownum |) ')"',
    NULL,
    ':',
    "f30_" | LPAD (rownum, 4, '0'))

    but now that the checkbox is DISABLED, an error (ORA-01403: no data found) is obtained by calling apex_application.g_f30 (i), I think that apex_application.g_f30 (i) will return true/false or 1/0 depending on the State of the checkbox, but I do not know how to configure this setting. I have not found answer in the API reference document.

    Please help me if you know, thank you very much!

    Checkboxes always return only the values that are checked. If no checkbox is enabled, apex_application.g_f30 will be empty (count = 0). If you show a total of 10 boxes, and only 2 are actually checked, then apex_application.g_f30 will have a number of 2.

    It is generally easier to take an id (primary key) of the value of a checkbox as the rownum as you did in the example.

  • Problem with startAsyncTask to fill value in elements of popup_menu

    Hello world

    I met a problem to populate the items with a function startAsyncTask popup_menu.

    It is my function:

    function getLabelColor(propertyTable)
              local catalog = LrApplication:activeCatalog()
              local labelColor = catalog:getLabelMapToColorName()
    
              propertyTable.label_red = getKeyForValue(labelColor, "red") -- getKeyForValue return the key for the value
              propertyTable.label_green = getKeyForValue(labelColor, "green")
              propertyTable.label_yellow = getKeyForValue(labelColor, "yellow")
              propertyTable.label_blue = getKeyForValue(labelColor, "blue")
              propertyTable.label_purple = getKeyForValue(labelColor, "purple")
    end
    

    I have run the asynchronous task on sectionsForTopOfDialog:

    function exportServiceProvider.sectionsForTopOfDialog(f, propertyTable)
    
              LrTasks.startAsyncTask(function ()
                        getLabelColor(propertyTable)
              end)
    
              return MLDialogs.settings(f, propertyTable)
    
    end
    

    On my MLDialogs.settings function, I have this:

    f:popup_menu {
         title = LOC "$$$/ML/ExportManager/ASLabel=Color label for Dual ISO file :",
         items = {
               { title = "", value = "" },
               { title = propertyTable.label_red, value = "red" }
                 { title = propertyTable.label_yellow, value = "yellow" },
              { title = propertyTable.label_green, value = "green" },
              { title = propertyTable.label_blue, value = "blue" },
              { title = propertyTable.label_purple, value = "purple" },
         },
         value = bind "label",
         size = 'small'
    },
    

    When I run the plugin, it displays the value of the color label, but if I change the color values, when I run the plugin, the display values correspond to the former (but on the newspaper, I have the new, so the title is not updated).

    I found that the asynchronous function after sectionsForTopOfDialog return value is displayed.

    I try to change title = propertyTable.label_red title = bind "label_red" but I have an error:

    Parameter not valid not satisfactory: aString! = nil

    You can find the source here https://bitbucket.org/kichetof/lr_cr2hdr/src

    I hope you can help me!

    See you soon

    TOF

    Note: get-label-color runs * after * the dialog box is displayed.

    In addition, the properties table may change - for example if you select another plugin, then return, in plugin Manager.

    My apologies in advance if this is irrelevant - I na not scrutinize...

    UPDATE:

    ------------

    I looked a little closer - it might be better to link elements of the popup to a property, for example

    initialize:

    propertyTable.myItems = {{title = 'None, yet..', value = nil}}

    from the point of view of popup_menu:

    Items = LrView.bind ("myItems")

    then you can fill in the items in an asynchronous way with impunity, for example:

    propertyTable.myItems = computeItems()

    ------------

    Rob

  • With the help of value in an input text for the calculation in a Variable area

    I have a project where I ask the user to fill out their name in a box entry and two-digit age in another area of text entry.  Later in the project, I want to ask them to think when they were 6 years and how they would describe themselves right there.  (the project is about self-awareness).  To make it as pleasant as possible, I thought it would be nice to say. "(Name variable), think to (years since 6) years, when you were about 6 years old'."  I'm unable to get the variable 'Since 6 years' work and I would like to know if it's possible.

    • I set up the variable text box as "v_age".
    • I've implemented a variable like "v_age6" with the value "6".
    • I implemented the variable result as "v_result_age6".
    • I have set up a standard action with a mathematical expression which reads "v_result_age6 = v_age - v_age6.

    The variable output does not appear on the scene in overview of project mode, and I think it's because there is only a single variable with a value assigned in the equation.  The variable "v_age" doesn't have an assigned value because it is a text entry area.

    Is it possible to use a value typed in a user as a variable to do math with?

    Thank you.

    Welcome to the forum,

    Each TEB has an associated variable, its generic name is the same as the BER. But you better match your variable with the most significant name to the ETB. Take a look at this old real blog post, always to news (though perhaps the screenshots are little bit outdated):

    http://blog.lilybiri.com/timesaving-Tip-Create-associated-variable-for

    BTW: you have no need to create an additional variable to number 6. This action would have done as well:

    Expression v_resultage6 = v_age - 6

    How you trigger the action, by what event?

    http://blog.lilybiri.com/events-and-advanced-actions

    Lilybiri

  • CursorX alignment with a superficial given value

    Thanks in advance for any help:

    I use DIAdem 2011 and am looking for the Script function that will give me a value (time cursorX) when I locate a measured surface location. The problem I have is I can place the superficial on a situation of tension on a curve, but the cursorX does not follow (almost as if it were in "Free cursor" mode).

    I'm looking to measure delta time from two places different from voltage on a signal using the cursorX and cursory.

    I use the 'Frame', function "Curve slider" slider.

    Any ideas?

    Thank you

    SJD

    Hi, SJD,.

    I think it is a mistake to send only a single value to a channel.  If you want to view this set of 4 scalars, I recommend sending to the legend of the VIEW or DISPLAY text or a floating dialog box.  I enclose the text box option SEE below.  The 'slope Info Start.VBS view' could be added on your existing script - it sets up the 'View slope Info Event.VBS' script to execute every time the cursor changes.  Then the layout 'View slope Info.TDV' shows the information in the upper text display area.  I had to press to the text box to refresh the strength, but I didn't think it was usually necessary.  You will need to modify the TDV I sent to show your Television '"command entry' ' or some XY trace you want to measure the slope of.

    Ask if you have any additional questions,

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

Maybe you are looking for

  • Need help for the device driver - device Base system

    Model - 6930p 32-bit Windows 7 Home Premium Hardware ID:PCI VEN_1180 & DEV_0843 & SUBSYS_30DC103C & REV_14PCI VEN_1180 & DEV_0843 & SUBSYS_30DC103CPCI VEN_1180 & DEV_0843 & CC_088000PCI VEN_1180 & DEV_0843 & CC_0880 Thank you John

  • All-in-one for the digitization of jewelry

    Can anyone advice which is a good all-in-one to scan and copy jewelry.  I used L7580-HP officejet pro who gave very good results.  Now since its not available at the HP customer service suggested going for more than 8600.  I was afraid that L7580 use

  • V nitro vn7 WIFI Acer problems

    I recently bought this laptop and I am very saddened to learn the amount of complaints on wifi problems. I spent a week of downloading new drivers, old drivers, tweak the settings, do what everyone else seems to have tried on Google and I still suffe

  • Installed a new wireless router and now the wireless printer does not work

    We installed a new wireless router and now our Dell V305 will communicate or print with our laptops.  Any help apprecaited!

  • Update on recovery drive

    I've updated from Vista to Windows 7 Home Premium. Is there a way to update (or change) the partitioned drive (D) who had originally HP Vista restore information thereon to the new installation of Windows?