button with my value only

Hello, I wonder if it is possible do a knowledge that select only my value (which I have in a table)

I tried to do as in the image, but as you can see return the error

Hi gigi,

make a button, assign the I32 datatype and set a range from 0 to (num-of-items-1).

Now the button will provide an index in your table and you simply use an IndexArray function...

Or use a ring. Or use an enum. Or...

Tags: NI Software

Similar Questions

  • Fill a field with a value only if another field has been filled?

    I'm looking to fill a field with a predetermined only if another field is not empty. I have no idea how to proceed.

    Any help would be appreciated.

    Thank you

    Use this code in the custom calculation of LineRow1 script:

    Event.Value = (this.getField("SourceDescriptionRow1").valueAsString == "")? « » : « 001 » ;

  • Slider with integer values only?

    I want to create the slider which accepts integer values only.

    For example: 1.0 to 5.0, step: 1.0

    How to do this?

    In a Word, DIY there is no entire cursor in Cascades.

    Wrap the cursor (ongoing) standard floating point in your own class.
    Listen to the signal valueChanged (float) and immediateValueChanged (float).
    Make your own signals when the cursor moves to one discrete value to another.
    Fix the position of the cursor continues to nearest discrete value in the signal valueChanged (float) handler.

    For each continuous cursor position you will need to find the nearest discrete value.

  • ORDER BY a column with NULL values only

    Hello

    The order of column has all null values for the results of my query set.

    Ex:

    Select a, b, c from table1 where type = 'type1' and ID = "id1" order by column1

    In the above query, "column1" contains nulls for 'type1 '. The order of the records in the result set is different for different ID values if the values of a, b and c are always the same.
    What is happening in the 10g database.

    I have also observed that the order of the records for the same query conforms in the 9i database.

    (1) is the difference due to the difference in versions of database?
    (2) is there a way to get the order even records independently entry ID?
    (3) I cannot in the same order in 10 g DB too as the order in 9i DB?

    Thank you.

    Hello

    Madhuri says:
    Hello

    The order of column has all null values for the results of my query set.

    Ex:

    Select a, b, c from table1 where type = 'type1' and ID = "id1" order by column1

    In the above query, "column1" contains nulls for 'type1 '. The order of the records in the result set is different for different ID values if the values of a, b and c are always the same.
    What is happening in the 10g database.

    I have also observed that the order of the records for the same query conforms in the 9i database.

    If two or more rows have the same values (or NULL) for each ORDER BY expressions, then you may not be sure what order they will be. The system is free to do whatever he finds convenient. What the system identifies Dresser can vary depending on many factors, including the version, the size of the table, the conditions in the WHERE clause, there is a GROUP BY clause, or not... In all cases, it is not something that you can depend on. If you want the output in a certain order, to specify the order in the ORDER BY clause.

    (1) is the difference due to the difference in versions of database?

    Could be. In all versions, Oracle said that you cannot count on the order being compatible, except if the ORDER BY clause, it is consistent.

    (2) is there a way to get the order even records independently entry ID?

    Add more expressions at the end of the ORDER BY clause, as tie-breakers.
    For example:

    ORDER BY  column1
    ,         a
    ,         b
    ,         c
    

    If table1 is really a table (not a view), you can add a ROWID.
    In most cases, you can ORDER BY expressions that are not in the SELECT clause. So if you have a primary key, you can usually ORDER BY it, even if you don't see it.

    (3) I cannot in the same order in 10 g DB too as the order in 9i DB?

    Of course, ORDER BY works the same in all versions. If you have an ORDER BY clause to unambiguously, the output will be exactly the same order in any version.
    Remember that the absence of ORDER BY has no effect in all versions. If you have an ORDER BY of ambiguous clause, you can not count on the coming out in a particular order in any version.

  • How to configure a button with alignment fixed points on a logorithmic scale?

    My question is quite simple, but after rooting in the button/gauge proteries, I can't find a way to do what I would like to:

    I would like a simple button with 4 possible values control: 0.0125,0.125,1.25,12.5

    I would like that they also spaced and I want the button to engage only in one of these four values

    I can get it at least to the point of having four values there by placing arbitrary markers (scale-> add the marker), but I can't figure out how to align them, or even if it is the way of Paris to follow on that.

    Thank you!

    See example LV86 attached. Open the Properties dialog box for the button for more information on its configuration.

  • Is it possible CreateInsert with the value of the attribute of a backingBean method?

    Hello, I am using JDeveloper 11.1.2.3.0
    I want to create a new record in the database with an attribute in a backingBean method. I have therefore a method that returns a string and I want to use this value for one of the attributes when I fill out the form in the ADF. But I have a problem because the operation CreateInsert cleans all the fields of the form. Is it possible to only fill the other fields of the form and as a field to be filled in automatically with the value returned by the method? If this isn't the case, please give me an idea on how to achieve this.
    Thank you

    Ok

    For example, if you have a button to your form to create a new line.
    The button should be as below:

     
    

    And the code in your backing bean:

    public String onCreateRowClick() {
      OperationBinding op = getBindings().getOperationBinding("CreateInsert");
      Object result = op.execute();
      DCIteratorBinding yourIt= getBindings().findIteratorBinding("yourViewIterator");
      Row newRow = yourIt.getCurrentRow();
      newRow.setAttribute("aa", getAttributeValue());
      return null;
    }
    
    public DCBindingContainer getBindings() {
        DCBindingContainer bindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
        return bindings;
    }
    

    and of course, you should have the "CreateInsert" action in your page links.

    Do you need anything else?
    I'm not good enough with tutorials :).

  • Validation as well as button set a value of adf faces

    Hi all

    I have an afform with user input fields. I want to provide a feature with 2 buttons depending on the role
    Role: user
    There are two buttons at the bottom of the 'Save' and submit form"
    When the user clicks on the button Save the record should be committed to the database with a 'SAVE' value inserted in the status column (there is an attribute of the State in the VO that is based on the form but not visible by the user)
    Similarly when the user clicks on the button "submit" to the folder should commit to the database with a "SENT" in the status column value.

    Role: Manager
    There are two buttons at the bottom of the form "Approve" and reject"
    When the Manager click the approve registration should be updated in the database with only the value of the status column changing of "SENT" to "APPROVED".
    The same for the rejection that the value of the status column should be updated to "SUBMIT" to "REJECTED".

    How can I do this?

    Thanks in advance.

    Hello Adam Pandya.

    Used four buttons to solve this use case. "" When the connection of the user show that two button which are 'Save' and submit "and when the role is Manager login show"Approve"and reject". Put condition on each rendering of button property that would be security.userInRole ['User'] for the user and securityContext.userInRole ['Manager'] for the Manager.

    Then create four method in backing bean and bind the method to each button. By clicking on the set button the corresponding value in the Status attribute in the VO.

    Thank you
    Prateek

  • Is it possible to make a button with multiple paths?

    Hello and good day everyone

    I want to make a flash game with a map leading to various locations for example school or beach like this http://www.yotreat.com/sites/default/files/190-160_1286.jpg

    If the player goes to the school she will find the Professor and if the player goes to the beach will be the coach.

    How can I make the player (for example) converses with the teacher at school, back to the main map and go to the beach to talk with the coach, but if she goes to school, even once, dialogue with the teacher is not the same with the first dialogue?

    = > > > It is possible to make a button with different paths to go? As if you watched the a-frame, then you press the same button again need you to part B? < < < =.

    Sorry for my confusing description... I hope you get the idea >, <
    IM so desperate... I searched for articles about this since yesterday and I still can't find one to solve this problem of mine.
    Making games is my dream... I've done a few very simple games, but I want to try a new level of difficulty

    Please help me? (> o <)

    Learn how to design solutions of programming requires learning what tools you have for you and how you can manipulate them according to your needs.  It doesn't matter if you make the games or anything else.

    Only you know the details around your design idea, but there are probably a number of management solutions with a single button to do different things.

    One way would be to use an array of information (such as the numbers of framework/labels) and have a counter that changes values when you use a button and this counter is used to index to select an element in the array.  So when you start the meter/index is 0, and he chose the images [0] table frames.  During treatment the counter/index is incremented by 1 so that the next deadlines [1] is selected.

    This same kind of approach could be used to keep track of how far went into a series of interactions, such as when you want to have a conversation with a character pick up where it left off instead to start over again.

    The key to everything that is store/keeping track of information.

  • Strange behavior on the button with immediate delete = true

    Hi, I use JDev11.1.1.2

    I dragged a view object as an editable on the page form. I added the navigation + delete/create the buttons.
    As I see all buttons delete should be immediate = true, because I want the user to be able to delete the current line, despite validation errors (or maybe it's feasible otherwise?)

    But now when I press the button Delete, only readonly fields are updated with the next record in the iterator, but the input fields are not updated (they stay with the values of the row to delete).
    If I disable = true for an inputField value, then it is updated with the value of the following line.
    I tried with partialTriggers on the inputFields for the delete button - but no luck!

    Why I get this behavior different on inputFields and outputText when remove button is immediate = true?
    And how to deal with this problem?

    Thank you!

    http://blogs.Oracle.com/smuenchadf/examples/

    #78 can be pretty close to what you need you get, and it is a concrete example of downloadable. I haven't checked out, but Steve Muench is head of a chef here.

    Also look at the list of other available sites with documented examples of code at the top of this page.

  • How can I compare unique value with several value...

    Hello

    I want to compare a value with multiple values, how is it possible?

    I tried to design the same logic here as an attachment, but I had the problem that when I entered the value of y that is compared with only a minimum value of x, I don't want I want to compare the value of y with the value of x and then if y is less than x while loop should be stop.

    I want to do because in my program some time I have not result I want, for example, the values of x is 4,5,6,7,8 and value is assumed to be 6 then while loop should be stop but here he considers only less and its 4 here so so that the loop is not stop even there is less then 7 and 8. So I want to compare the value of y with all values of x and if y is less then one of the values while x loop should be stop and led should be on.

    Please guide me how I can do...

    I don't understand?  If there is less than the minimum value of X then it is less than all values of X.  That's what I do anyway:

  • How to remove empty entries in a table and replace them with the values of the instance?

    I have a table with values and spaces elements. I want to organize items such as table contains only values eliminating the empty spaces and re-organize the table with the values of cotimuous.  I use a bollean table to populate the items, so the bolleans to false fill the empty I don't want spaces. How can I program the above operation?

    Thank you

    Thank you for your solution, but I just found an easier way. INDEXING CONDITIONAL!. How I miss that. in any case, thanks...

  • Read byte with a value up to 127 lire byte with an ASCII value greater than 7F (127 dec)

    Hello

    I have to read a byte with a value greater than 127, Labview turn 27.

    In help I saw that Labview provides a description of ASCII that pour values ranging up to ' 127.

    What do I need to do?

    LabVIEW 6.1

    Windows XP

    Hello

    I want to read a byte with a maximum value of 127, but Labiew reurn arround 27 value

    How do I do?

    Rigid wrote:

    Thanks for your help. I'm not changing lyke I understand (my English is poor quiet...)

    I have another program that communicate with the instrument. I know byte (6) must be greater than 18 (greater than 7F actually).

    But with Labview, I'm only 18.

    While it might be higher than 18 x, an I8 is signed, and therefore it cannot be greater than x7F - it has a range of-128 to 127. A U8 is not signed, and it's why he has a range from 0 to xFF. However, x 18 is the same if you treat as signed or not signed. I don't see how LabVIEW can read a wrong value on the serial port. Are you sure you're looking at the correct byte? Your code shows that you split the chain twice. Are you sure that you do this properly?

    Given that you use on Windows you can recheck the chain received using PortMon. Allows you to see what is actually received by the driver for the serial port on Windows.

    P.S. I actually meant the whole byte function.

  • I can connect to my network, but with access "local only".

    Access to the "Local" network only
    I can connect to my network, but with access "local only".  Internet became more intermittent (not sure if that is related or if I guess it) and did not work in several weeks.  Desktop computer is plugged into the router, but have the same problem when it is plugged into the DSL modem.  Other computers on the same router (wireless or other) work very well.  Recently, I removed Mcaffee and installed MS security essentials.  I uninstalled mcaffee of programs and settings then used the mcaffee removal tool to lighten the rest.  I uninstalled and reinstalled MS security essentials.  I thought it might be a firewall issue, but I get error 0x6D9 when I try to start it.  I tried all the steps in the following post, nothing helps.  Any other suggestions?

    ______________________

    You can follow the steps below and check if that helps you solve the problem.

    Method 1

    Try to power cycle the router and the computer and check if it helps.

    On the PC:

    1. Save your work and restart the machine.

    On the router or modem (if wireless printing):

    1. Unplug the router and the modem.
    2. Wait 30 seconds.
    3. Plug in the modem and wait for it to come to the ready state.
    4. Plug in the router.

    After you put cycle check the connection between the router and the computer.

    Method 2

    If the steps above do not help, you mayreset TCP/IP stack. To reset access the link below and either click on "Fix it for me" or follow the instructions to fix it yourself:http://support.microsoft.com/kb/299357
     
    Disable the IP helpdesk:
    1 hold the Windows key and type R, type "services.msc" (without the quotes) and press enter
    2. scroll down to the IP assistance service, right-click on it and select Properties
    3. in the drop-down list box that says "Automatic" or "Manual", set it to disabled and then click 'apply '.
    4. then click on "Stop" to stop the service from running in the current session
    5. click on OK to exit the dialog box

    Method 3

    Disable IPv6 and remove IPv6 virtual cards:
     
    Try to uninstall IPv6 on all interfaces, the removal of virtual cards of IPv6 and reset the TCP/IP stack. To remove the IPv6, go to the properties for each network adapter, and deselect the check box next to the Protocol "Internet Protocol version 6 (TCP/IPv6), which will turn off, or select it and click on uninstall, which withdraw power off the computer.» Then go into Device Manager and remove any 4to6 adapters, adapters miniport WUN or tunnel adapters.
    NOTE: You should do this for each network connection, even if they are disabled.

    Method 4

    Disable the DHCP Broadcast Flag:
    Link: http://support.microsoft.com/default.aspx/kb/928233
    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:
    http://support.microsoft.com/kb/322756.  How to back up and restore the registry in Windows
     
    Windows Vista cannot obtain an IP address from certain routers or some non-Microsoft DHCP servers
     
    To resolve this issue, disable the DHCP BROADCAST flag in Windows Vista. To do this, follow these steps:


    1. Click Start, type regedit in the search box, and then click regedit in the list programs.
    2. If you are prompted for an administrator password or for confirmation, type your password, or click on continue.
    3. Locate and then click the following registry subkey:
    4 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\ {GUID}
    5. in this registry path, click the (GUID) subkey that corresponds to the network adapter that is connected to the network.
    6. on the Edit menu, point to new, and then click DWORD (32-bit) value.
    7. in the new area #1, type DhcpConnEnableBcastFlagToggle and press ENTER.
    8. right click on DhcpConnEnableBcastFlagToggle, then click on modify.
    9. in the value data box, type 1 and then click OK.
    10. close the registry editor.
     
    By setting this registry key to 1, Windows Vista's trying to get an IP address using the BROADCAST flag in DHCP Discover packets. If that fails, he will try to obtain an IP address without using the BROADCAST flag in DHCP Discover packets.
    You can also try uninstalling and reinstalling the driver for the wireless card.

    ________________

    Thanks for any help!

    Hello

    All changes to the software or hardware of the computer?

    Method 1:

    Visit the link below and follow the steps.

    Of network connectivity status incorrectly as 'Local' only on a Windows Server 2008 or Windows Vista-based computer that has multiple network cards

    http://support.Microsoft.com/kb/947041

    Method 2:

    Update the NIC drivers and check.

    Network adapter problems

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-network-adapter-problems

  • How to capture the time entry with the value 'default' as SYSDATE

    Hello

    I created "entry receipt" form by using wizard.

    Hidden CREATED_ON column is defined with the value 'default' as SYSDATE.

    However, it's only complete part of date, but time is not included when I discovered that in the report.

    Format under 'source' mask is defined as "MON-DD-YYYY HH24:MI:SS" during form entry.

    Under the column definition format mask is "HH24:MI:SS MON-DD-YYYY" under the report.

    Need help to fix this problem.

    I use APEX worm 4.2.6

    Thank you

    -Anand

    Is it viable to not include the column in the form of the APEX and have a default value to the column in the table?

    ALTER table my_table change created_on default sysdate;

  • Apex 4.2. report filltered with the value of table by entry

    Hi all

    Please could you help me? I have problem with my select input filtering.

    select 
    "ROWID",
    "OSOBA_NASAZENI",
    "PROSTREDI_ZAKAZNIK",
    "PROSTREDI_VRSTVA",
    "DATUM_NASAZENI",
    "KOMENTAR",
    "KOMPONENTA_POLOZKA",
    "KOMPONENTA_NAZEV",
    "KOMPONENTA_VERZE",
    "ID_NASAZENI"
    from "#OWNER#"."NASAZENI"
    where PROSTREDI_ZAKAZNIK in (:P21_X)
    

    Filtr works very well in P21_X of entry can TBC value only or a different alone as GEMB. Where there is variety "TATRA", "FOUR", "BSC", "GEMB" it no longer works. I tried this single list without quotas, but it does not help.

    I want to reach is in case I will come to the page that I need to see specific things for people. As if someone extends from TBC, it should see only things to confirm. In which case I'll app I'd like to see all things. Is this possible?

    Thank you for your time and effort

    Good day

    redy007 wrote:

    Please could you help me? I have problem with my select input filtering.

    1. Select
    2. "ROWID",.
    3. "OSOBA_NASAZENI,"
    4. "PROSTREDI_ZAKAZNIK,"
    5. "PROSTREDI_VRSTVA,"
    6. "DATUM_NASAZENI,"
    7. "COMMENT."
    8. "KOMPONENTA_POLOZKA,"
    9. "KOMPONENTA_NAZEV,"
    10. "KOMPONENTA_VERZE,"
    11. 'ID_NASAZENI '.
    12. of ' #OWNER # '. " NASAZENI ".
    13. where PROSTREDI_ZAKAZNIK in (: P21_X)

    Filtr works very well in P21_X of entry can TBC value only or a different alone as GEMB. Where there is variety "TATRA", "FOUR", "BSC", "GEMB" it no longer works. I tried this single list without quotas, but it does not help.

    I want to reach is in case I will come to the page that I need to see specific things for people. As if someone extends from TBC, it should see only things to confirm. In which case I'll app I'd like to see all things. Is this possible?

    It's the common "variable list" model [anti-]. In

    select * from table where columnvalue in (7788, 7839, 7876)
    

    (7788, 7839, 7876)is a list of expressions and the predicate is evaluated as a membership condition.

    In

    select * from table where columnvalue in :P1_X
    

    :P1_Xis a scalar string, unable to contain multiple values.

    In a report of type APEX, a source report of the body of the PL/SQL function returning a SQL query with lexical substitution can be used to produce a "variable list:

    return 'select * from table where columnvalue in (' || :P1_X || ')';
    

    where P1_X contains less than 1000 values, has been disinfected to code SQL injectionand string values are properly cited.

    Some people suggest the following approach, that will work also in interactive APEX reports:

    select * from table where instr(':' || :P1_X || ':', ':' || columnvalue || ':') > 0
    

    However, it is underperforming because it eliminates the possibility of using the index optimizer or the size of the partition in the execution plan.

    See various elements in the list to ask Tom and imitating the channel to the table using sql features for effective solutions.

Maybe you are looking for