Sort records by using a push button

Hello

I am new to oracle forms and I need help on how to sort the records using a button element.

I have two blocks, let say BLOCK a (main block) and BLOCK B (detail). I have a default order by clause, say order by colonne_1 of b block.

The question is, if I have two columns in block b (colonne_1 and column_2), how can I sort the records into column_2 by using a push button item?

Thank you and best regards,

Dave

Hello

Have you tried my solution? He made exactly according to your requirement.

The EXECUTE_QUERY in the solution above required because you need to sort the records in another column. So, after setting the command records another column and show in this order, you must run the query again.

Arun-

Tags: Oracle Development

Similar Questions

  • Sort records by using the approval date in HRMS

    HII All

    I have a table that displays the records after search
    on the search page

    now, I want to add a column over at the end of this table which shows the date of approval
    This approval approved by a Director with different ID and password

    How can I see the date of approval of the vacancy?


    and I also want to show a drop down list with options ascending and descending
    on this basis the column date of approval must be sorted

    How can I achieve this?

    Hello

    If the display attributes are available in VO (responsible for display in the columns of the table) to the corresponding fields, you can

    1.) create the areas through customization.
    2.) extend the controller and order by condition dynamically in the PFR on the VO responsible to display the value in the columns of the table.
    3.) something, you need to check if you are able to add the action event ppr on falling down during the creation of this area through customization, and even then set the ppr on this field in the PR of the extended controller method.

    If the corresponding attributes are not available you must extend the VO (responsible for display in the columns of the table) too.
    Thank you
    Pratap

  • Update the Table with the push button

    Hi I want to update my table using the push button that requires a transfer of account

    For example a single account transactions into 2nd account


    I used this query, but his does not work

    Update of cb
    Set cb_acc_id =: block3.acc_id_target
    where
    cb_acc_id =: block3.acc_id_source;



    Concerning

    Wasim Ismail

    You may forgot to validate your update...

    BTW:
    your form will not recognize, you start a transaction and make an update in the database.

  • EchoLink error-om 1 port is not availible use your push to talk button

    On my program of the Echolink each time I open I will give me an error; com port 1 is not availible use your push to talk button!
    How activate this... also the media cannot. Thank you!

    Moved from feedback

    Original title: software

    Hi Kane,

    Thanks for the reply.

    What version of Windows 7 are you using?

    I suggest you to install the application in Windows XP compatibility mode, this might help you solve the problem.

    Make older programs run in this version of Windows.

    http://Windows.Microsoft.com/en-us/Windows7/make-older-programs-run-in-this-version-of-Windows

    I hope this helps.

  • implementation of a push button

    Hey I just started using Labview and I need for a project on the recording of the results of strain gauge. I wrote a code for data recording, but I don't know if he needs calibration I use the NI 9237 strain gauge module and how to proceed to make the calibration? I tried the example find in Labview but its me gives an error and I do not understand FPGA. My second question is I want to use a digital input module to implement a push button so that the code turns on when its market and it stops logging when you press OFF. I do not know how that proceed and what is needed in the code to do this. I posted what I have so far and any help will be appreciated. Thank you

    "I don't actually like using the term 'guru', I actually perfer LabVIEW Overlord."  It really scared in the peasants of LabVIEW. »

    But seriously do anything is going to take a long time, is there no reason not to learn something.  Heck that's why universities, people are going to lose time to learn.

    Back to the original question a bit.  NEITHER offers calibration options

    http://sine.NI.com/NIPs/CDs/view/p/lang/en/NID/207895

    https://www.NI.com/services/calibration.htm

    http://sine.NI.com/NIPs/CDs/view/p/lang/en/NID/207957

    http://www.NI.com/white-paper/12788/en/

    Some hardware supports self-calibration but most don't.  You can also perform the calibration of your car, but I can't find the documents for this right now.  I think there is an example in the Finder of the example on calls to set the calibration offsets in the material.

  • Why push button and stop button does not work in the structure of the casing and buckle my VI? (code attached)

    I am a beginner. I'm trying to create a simple VI only switches beetween two types of signals like sine and triangle when someone press on the push button and at the same time, save the data in the file to my desktop. I also have a stop button which no longer record data.  Here are my questions and dproblems:

    1. when I press the button, it does not the true and false in the structure of the case so that I can see the triangle wave stops and begins the sine waveform table.

    2 when I press the stop button, I want the program still running, but the process of writing data in time the loop stops. I don't mind if the graph of the wave stops too but it would be better for the user to see the wave form is running, but the data will stop recording.

    3. Although the condition of the loop did not accept the local variable for the stop button inside the loop or within the structure of the case, so I put the button outside all the loops and the structure.  (I know that this is a problem, I do not know how to use a single button several times in a single code. The local variable did not work the world premiere? I have to?)

    4. the data file it creates hase a lot of lines and columns. I expect a time column and a column of mixed signals based on the push button amplititude this user press every time.  I did that with the acquisition of data and a sensor, it automatically gives me the voltage and time in a column. I tried 2D and 1 d and it has not changed anything.

    Thank you for your help

    Like you said, you read only your entries at the beginning, then whatever value they had before you hit run is worth to be seen by the rest of the code. Programming LabVIEW is based entirely on the data flow and parallelism. It is incredibly powerful and has led to its success over the years (coupled with graphical programming), but is usually one of the first things the new developers stumble on. This is a simple resource to familiarize themselves with its functioning. The function to highlight execution is a great way to watch how your application uses data streams.

    Simple code goes like this:

    • Containing the main code of while loop

      • Inside of the whole loop is all user interaction code or modify the code entry
      • Stop the terminal loop is attached to stop certain criteria or user selection of a stop button
    • Loop initialization above all if necessary
    • Closing referrals and communications, etc after all loop

    It's very simple code. If you want to watch in more advanced architectures that are scalable, Google "LabVIEW State Machine" or "LabVIEW producer consumer."

    If you are just starting, you should do a free training have the capabilities of LabVIEW.

    "Give me six hours to chop down a tree and I will spend the first four sharpening the axe.  -Abraham Lincoln

    Here are some free training focused mainly on LabVIEW and hardware tools to help get started.

    Training center of NOR

    NEITHER start-up

    -Hardware Basics

    -Guide of MyRIO project Essentials (a lot of good simple circuits with links to youtube events)

    -LabVEW databases

    -DAQ Application tutorials

    -CRIO Developer's guide

    Learning OR training videos resources

    Introduction to LabVIEW for 3 hours

    Introduction to LabVIEW for 6 hours
    Paced self-study for students
    Self Paced Training beginner to advanced, required SSP
    LabVIEW training Wiki

  • 3 peripheral USB connected to the Macbook 4.1 computer tells me to restart using the power button / stop?

    I went to record a live concert, and I need to use a single interface to record the members of the group with microphones near directly to a computer and another interface running for my model of Macbook 4.1 end of 2007, to get signals from the map of the House.

    When I plug my converter USB 3.0 AD / DA in my Macbook 4,1 - the computer sends immediately a window indicating to me to "reboot" the computer using the power button / stop. Ideas or comments about why this happens?

    I read on this forum that USB ports should work with retroactive effect, or accept USB 3.0 devices, but just use a speed 2.0?

    Thank you.

    It could be that it is a requirement of your converter AD / DA she needs to be present at a properly accessible to the OS X when startup sequence it is plugged into a USB2 port.

    Its also interesting to note that, well that peripheral USB3 can be plugged into the USB2 ports... it could be that your device may not work properly unless it is used with a port USB3... for reasons of bandwidth or even certain types of power supply.

    But to be sure...

    Which converter AD / DA are you using?

  • How to create table of 288 HP push button in the PXI-6509 (3pcs)

    Hi all

    Need help...

    I am a beginner in labview. & her first time use OR for my project.

    We must push buttom about 288 HP control panel. We use PXI-6509 (3 pcs)

    & I do a code (in tie).

    but some time appear as a bug if we push a button push button after all. but some time is ok.

    Please correct the code.

    Thank you very much...

    It seems to work fine for me.  What do you mean by "sometimes appear like a bug?  How is it not behave like you want.

    A few recommendations:

    1. There is no logical reason for the node feedback on some of your cables of the error.

    2. you can turn some of your groups of buttons in a cluster.  This way you can work on changing the value of a cluster and do not have to set up 100's of changes made to the values of the individual controls.  You'd also be abe to easily use the cluster to table to transform your cluster of Boolean Boolean rather than building tables table by manually cabling up to 100's of controls.

  • Push button problem

    I have a program I write has about 5 push buttons for a user to select the different scenarios. However if the user presses a button and then the other without turning off the first, then the two buttons are then immediately and that's why both scenarios run. How can I make sure if a button is pressed, it will turn off when another button is pressed?

    Dennis Knutson says:
    Just use the radio button control. ???  DK?

    best-use an enum, the drop-down list box, or control ring to select one of several "scenarios" as an option (and exclusive)

  • change the push button for control or indicator at run time

    Hello

    I have a lamp that can turn into power according to the value of a Boolean variable.

    There are two ways in which I can control the lamp.

    (1) manual mode in which the button must be used as control to change the value of the Boolean variable.

    2 auto mode) in which the value of the variable is changed programmatically. Push button must return to an indicator to indicate the value of the Boolean variable.

    I should be able to swith bw manual and automatic mode for the duration and the push button should switch to control and indicator respectively.

    For those who might wonder why it's necessary: there is a sign which must be controlled in manual/auto mode. in manual mode, operator will manually use the buttons as controls for updating the control variables, in auto mode, my control algorithm updates the variables, and the Organizer must be able to see which button is pressed and when. If the button should be the control of update of variables in manual mode and must be the indicator of the evolution of the variables in auto mode.

    How is that possible?

    A basic VI with three objects are attached, and the Boolean control variable is global.

    Did.

  • How to control a box of series push button

    Dear Sir or Madam,

    I am relatively new to LabView and National instruments, but try to capture the response time of a human participant.

    A simple example of the tasks that I hope to accomplish is described as follows. I think that first of all, I will write a Labview program to present two pure sounds to the listener (one at a time), with a tone have higher than the other ground. In other words, pure acoustic sounds will be delivered to the ears of the listener through a series of regular computer headset. After listening to the two-tone, work of the participant is to discriminate which has higher ground, then press a button accordingly. My question is in relation to the buttons... It is my understanding that the buttons can be:

    (1) software buttons that are displayed on a touch screen computer.

    (2) physical buttons on a separate reply box which is connected to a serial port on a PC, or

    (3) physical buttons on a separate reply box which is connected to a material OR (an e/s of control map, perhaps!?)

    For some reason, he is I think understand that by using the internal clock of a PC is not reliable, due to the nature of multi - load Windows System. In other words, either by using a touch screen or a serial port on a PC is not a good idea; because if I do this, I use the internal clock of my computer, which can be interrupted by other programs running simultaneously on Windows System. In other words, the multitasking nature of Windows of the system will be inaccurate and unpredictable reaction time. It is also my understanding that, if I want a good accuracy reaction time (for example, down to words maybe 1 or 5 msec!?), I would need to use a separate clock which is designated only for this task. Once again, I'm stretching and trying to accomplish a task that is new to me, and I don't know if I'm not mistaken...

    I currently have several cards to control IO OR in my lab. They are the USB - 6216 BNC, PCI-6221 (with a block of connection BNC-2090), data acquisition 6062E WLS-9215 BNC and DAQ wireless. For the purpose of this new task, I think more on the use of the USB-6216 BNC or PCI-6221, if any at all. NOR sells any push button and related devices? So, I can use the clock inside a card of control of e/s? Or I have to buy a new set of devices?

    If someone could advise me on what configuraitons or options would work best for me this task, I'd be very happy.

    Sincerely,

    Fuh


  • Trying to create a push-button locking with digital inputs

    Hello world

    I am writing a program to control a motor with 3 push buttons, upwards, downwards and stop. I want the top button to lock when pushed and delatch when the stop or down are pushed. I tried the example program Latch.vi REARMABLE of this Web site, but no luck. It seems that out of the gate AND is indeterminate. I have attached to my program, any help would be great! Thank you

    Use Index Array to get the desired Boolean value of the table.  If you do the wiring one index, it will give you element 0.  With this, you can have all the switches wired to different pins of the same registry on your DAQ hardware.  Then, you can read a byte and unravel what bit does what.  You will also need to build Boolean individuale in a table before you write in the acquisition of data.  Here's a quick example:

    You must decide which games to buttons that bit.  I have not yet checked your lock algorithm logic.

  • How to record data using a while loop?

    Hello

    I created a .vi I try to use to record several channels of data. I have implemented the user must be able to record data until the "STOP" button is pressed, then the data is saved in a spreadsheet file.

    Question No. 1: How to allow the user to store an indefinite amount of data?

    If you run the .vi as is, you will see that you are only able to collect 100 points, and registration takes place during Ms. I want to collect about 5 minutes worth of data and have a sampling frequency of 1 kHz.                 Any suggestions?

    Question 2: How can I change the worksheet file extension? Let's say I want than to save it as a .csv file?

    Thanks in advance for any pointers or suggestions!

    I have not looked at your code, but only based on your description I would implement a producer/consumer to save your data.  You must acquire your data in a loop (the producer) and send to your loop of logging (the consumer) using a queue.  Yes, you must save the data, then that is acquired.  In this way, you do not have to worry about storage who knows how much data in RAM.  It's just the disk as soon as he can.

    You can save the file with whatever the desired extension.  If you want it to be a CSV file, then do the extension a .csv.

  • Sort groupItems Array using the left coordinate of visible limits?

    Hey all! It's been a while, but I'm back with some more busters of brain for you guys.

    I'm trying to re - work a script that Silly-V wrote to me. The goal is to create a work plan around each group of a document element in the order of the top left corner to the lower right (as if reading a book). (ultimately I would like to add a provision that excludes the possibility of having a work plan contained by another work plan, but it is a luxury that I can try to find later).

    Silly script works very well and does exactly what I need... about 60% of the time. The problem comes when I have an item that contains a clipping mask. Since work plans are created through groupItem.visibleBounds, Illustrator assumes that the invisible work that extends beyond the clipping mask is visible and creating a work plan that is too much.

    His version pushes the visible boundaries of each groupItem in an array, then sorts the visible boundaries of the left coordinate, then pushes this sub-table in another table and at the end, to coordinate kinds berries vertically at the top... However, I'm looking to push the real groupItems in the table instead of just the visible limits. So I would like to sort the groupItems by their visible limits table and then I have the opportunity of either by creating work plans based on their visible limits or (the possibility of) loop to make each groupItem selected = true and using the fitArtboardToSelectedart() command.

    I'm stuck on how to sort the groupItems table based on the visible limits... Here's what I have so far:

    my inclination is to set a variable to the visibleBounds of each groupItem in temp (which seems like it would need a loop), but it's not supposed loop me XIRR...? There is something really big, I'm missing here, but I can't wrap my head around it.

    Thanks for any help!

    function organize(){
      var docRef = app.activeDocument;
      var layer = docRef.layers[0];
      var groups = layer.groupItems;
      var currentRowMarker;
    
      var groupList = []; //array of all groupItems
      var sortedGroupList = []; //array of subarrays sorted by visible bounds
      var temp = []; //temporary array for the current row of groupItems. sort this array from left to right first, then push the entire array into "sortedGroupList"
    
    
      //populate groupList
    
    
      for (g=0; g<groups.length; g++){
           groupList.push(groups[g]);
      }
    
    
      //set currentRowMarker and compare rest of groupList to top coordinate of visible bounds. push true results to temp array.
    
    
      for (t=0; t<groupList.length; t++){
      temp = [];
      currentRowMarker = groupList[t].visibleBounds[1];
      temp.push(groupList[t]);
      groupList.splice(t,1);
    
           for (c=0; c<groupList.length; c++){
                var currentGroup = groupList[c];
                var vB = groupList[c].visibleBounds[1];
                     if (vB + 20 > currentRowMarker && vB - 20 < currentRowMarker){
                          temp.push(currentGroup);
                          groupList.splice(c,1);
                     }
           }
    
      //this is where i'd like to sort the temp array
    
      sortedGroupList.push(temp);
      }
    }
    organize();
    

    Thanks for your help, Vassili.

    I've been unable to get your suggestion to work, does not mean that it was an erroneous suggestion. So I decided to go the more complicated route. I hope that I can learn about why your suggestion did not work for me in a subsequent attempt.

    I am sure that this isn't the most elegant way to perform this task, but it was the only way that makes sense to me. Here's what I ended up with:

    for (s=temp.length; s>0; s--){
      var placeholder = 0;
      var farthestLeft;
      var deleteIndex;
           for (a=0; a		   
  • Hide &amp; visible using the same button.

    Hi, I want to add the button to my pdf form, which should make this push button is. If I click on this button, bellows must hide the data of 4 fields. If I click again the same button until the hidden data should visible. So how can do that. even java script is not serious... pls help me. Thank you very much..

    4 fields

    Text Field0.1.1

    Text Field0.1.2

    Text Field0.1.3.1

    Text Field0.1.3.2

    Yes. The display of the field has 4 possible values.

    We could test each field and asjust the display of the found value property.

    var cField = "Field0.1.1 text"; name of the field to be addressed;

    oField = this.getField (cField) var; get the field object;
    if(oField == null) {}
    App.Alert ("error to the field-" "+ cField +" \ "", 0, 0);
    } else {}
    if(oField.Display == Display.visible) {}
    change the visible display to hidden;
    oField.display = display.hidden;
    } else {}
    set up any visible display;
    oField.display = display.visible;
    } / / end of display property;
    } / / end of the object field.

    .

    var cField = "Field0.1.1 text"; name of the field to be addressed;

    oField = this.getField (cField) var; get the field object;
    if(oField == null) {}
    App.Alert ("error to the field-" "+ cField +" \ "", 0, 0);
    } else {}
    if(oField.Display == Display.visible) {}
    change the visible display to hidden;
    oField.display = display.hidden;
    } else {}
    set up any visible display;
    oField.display = display.visible;
    } / / end of display property;
    } / / end of the object field.

    .

    You can then use the above code for each field, write a loop to change the field name of the field. You can even write a function to toggle the display between visible and hidden property.

    function GetField (cField) {}
    Returns the field object for the name cField or null;
    oField = this.getField (cField) var; get the field object;
    if(oField == null) {}
    App.Alert ("error to the field-" "+ cField +" \ "", 0, 0);
    }
    return oField;
    } / / end GetField funciton

    function ToogleDisplay (cField) {}
    Tooble the show field between hidden and display;
    var oField = GetField (cField); Retrieve the field object;
    If (oField! = null) {}
    if(oField.Display == Display.visible) {}
    change the visible display to hidden;
    oField.display = display.hidden;
    } else {}
    set up any visible display;
    oField.display = display.visible;
    } / / end of property of display field;
    } / / end of the field object not null;
    Returns true;
    } / / end of ToggleDisplay function;

    ToogleDisplay ("Field0.1.1 text"); Toogle a field;
    ToogleDisplay ("Field0.1.1 text"); Toogle a field;
    ToogleDisplay ("Field0.1.3.1 text"); Toogle a field;
    ToogleDisplay ("Field0.1.3.2 text"); Toogle a field;

    The above code will trap field name erors and advise of the number and continues to run.

Maybe you are looking for

  • Keyboard stutter

    I have an iMac 27 inches, end of 2013 OS10.11.6 running. Several months ago Istarted to meet a keyboard stutter. It would occur when coming out of sleep. You press a button any repeat nine times. I could close the keyboard (Apple bluetooth) and every

  • Satellite A210 - 1 4 is not turn on

    Not sure if the battery has a charge or not to be honest, but the phone does nothing when I plug the charger original Toshiba sector. I also tried a 3 rd-party charger, with the same result (this charger works fine with another laptop). I noticed tha

  • Only use as a wifi device

    I have a Droid 4 that will not let me restart it without a neat sim. I want to only use it as a wifi device, especially when I'm banging long emails etc. How to past the screen that says "do not use this device without a sim card?

  • Clean install and Bootcamp

    Hello I have this El capitan 10.11 Beta on my lab. Expected that this become 'real' elCappitan but it is still Beta (15A278b). So I thought to re - install the OsX system as a clean, put in the form of Hd of Mackintosh. But is it possible to keep my

  • Turn on FTP

    FS8600 How do you turn on FTP in enterprise manager 15.3.1.300? manual says to go to NAS - file system, maintenance tab and turn it on. But there is no maintenance tab?