Rearranging A Column with a Push button..pls help

Hi ,
I have a form in which there is a 'Names' column or field
I want push button to reaarrange the all the Name entries in the Names column in the following way when button is pressed.
Foe example:
Defult condition of all the entries in the names column: Vass, WPUJC
i want that when Push button pressed 1st time all the names in the names field come into this format: WPUJC Vass
i.e. the abbreviated name changes its position and comes first..
When Push button is pressed again: Vass, WPUJC
it comes back to the defualt poistion
and so on on every alternative push...it follows the the same routine..
Would anyone pls tell me what coding i need to do on when button pressed trigger
I would be extremely grateful if some one write that for me..
regards,
Sonali.

is your data is in a standard fixed format? like in the example u said Vass, WPUJI. it containes a comma,follwed by a blank space, if you have all the field values in the same format you could write a based on that. and do swapping. let the code start with first_record upto last_record.

Similar Messages

  • How do I update my iPad 2 to iOS 5, I tried going to settings,general ,software update but I can't seem to find the software update button pls help :)

    How do I update my iPad 2 to iOS 5, I tried going to settings,general ,software update but I can't seem to find the software update button pls help :)

    Go to Settings > General > About and see what iOS version you are running.  If it is lower than 5, you won't find the software update button.  It was added when iOS 5 came out.  The current iOS is 5.1.1.  To update to the current OS, you'll need to connect to the computer you sync with (this is important - do not connect to a computer you do not sync with as you will lose you apps) and update the software in iTunes.  Once you have updated to the 5.1.1, the software update button will be in Settings going forward.  Make sure you have a lot of time.  Updating from below 5 to 5 or higher is a somewhat lengthy process.
    This link will provide the guidance you need:
    http://www.macworld.com/article/1162925/how_to_upgrade_your_ios_device_to_ios_5. html

  • My iphone 4s siri is not working, it just worked for a while and stopped. I've checked the data plan and it is intact, i even switched my sim to a friends phone and his siri worked but mine refused even with a wireless network. pls help.

    My iphone 4s siri is not working, it just worked for a while and stopped. I've checked the data plan and it is intact, i even switched my sim to a friends phone and his siri worked but mine refused even with a wireless network. pls help.

    Troubleshooting Siri
    http://support.apple.com/kb/TS4079

  • When my computer and monitor go to sleep, the system locks up and I have to do an hard reset with the power button.  help?

    when my imac and display go to sleep, the computer locks up and will not restart without a hard restart with the power button.  help?

    Hello, what all especially USBwise do you have connected to it?
    One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for problem in Safe Mode...
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive
    Reboot, test again.
    If it only does it in Regular Boot, then it could be some hardware problem like Video card, (Quartz is turned off in Safe Mode), or Airport, or some USB or Firewire device, or 3rd party add-on, Check System Preferences>Accounts (Users & Groups in later OSX versions)>Login Items window to see if it or something relevant is listed. Or an errant process eating up RAM.
    Check the System Preferences>Other Row, for 3rd party Pref Panes.
    Also look in these if they exist, some are invisible...
    /private/var/run/StartupItems
    /Library/StartupItems
    /System/Library/StartupItems
    /System/Library/LaunchDaemons
    /Library/LaunchDaemons
    Open console in Applications>Utilities, check the system log for the date/time of the last problem  & the Startup right after that for clues.

  • How to change the check box with the push button in itrator table rows

    Hi all,
    I want to change the check box of the itrator table rows with push button/ some thing better as to give
    the table view more good look and user friendly.
    Does any one has tried any other option in table view in place of check box
    Thanks
    Bhagat

    There are various objects which you can create via iterators. Please see the application SBSPEXT_TABLE for more details.
    DATA: lo_text      TYPE REF TO cl_htmlb_textview,
            lo_ddlb      TYPE REF TO cl_htmlb_dropdownlistbox,
            lo_input     TYPE REF TO cl_htmlb_inputfield,
            lo_button    TYPE REF TO cl_htmlb_button,
            lo_chk_bx    TYPE REF TO cl_htmlb_checkbox.
      row_ref = p_row_data_ref.
      CASE p_column_key.
        WHEN 'EFF_DATE'. " Input field
          CREATE OBJECT lo_input.
          lo_input->id       = p_cell_id.
          lo_input->type     = 'DATE'.
          lo_input->showhelp = 'TRUE'.
          lo_input->width    = '60'.
          lo_input->invalid  = 'true'.
          p_class            = `ao`.
          lo_input->value     = get_column_value( p_column_key ).
          p_replacement_bee = lo_input.
        WHEN   'NEW_LOC'. " Drop down list box
          CREATE OBJECT lo_ddlb.
          GET REFERENCE OF gt_persa INTO lo_ddlb->table.
          lo_ddlb->id                =  p_cell_id.
          lo_ddlb->nameofkeycolumn   = 'NAME'.
          lo_ddlb->nameofvaluecolumn = 'VALUE'.
          lo_ddlb->selection         = get_column_value( p_column_key ).
          lo_ddlb->selection  = 'DUMMY'.
          p_replacement_bee          = lo_ddlb.
        WHEN 'MON' . " Check box
          CREATE OBJECT lo_chk_bx.
          lo_chk_bx->id = p_cell_id.
          lo_chk_bx->checked =  get_column_value( p_column_key ).
          p_replacement_bee  = lo_chk_bx.
        WHEN 'NEW_MGR_SRCH'. " Button
          CREATE OBJECT lo_button.
          lo_button->id            = p_cell_id.
          lo_button->text          = 'Search Mgr'.
          lo_button->onclientclick = 'script'.
          p_replacement_bee = lo_button.
        WHEN OTHERS. " Text
          CREATE OBJECT lo_text.
          lo_text->id       = p_cell_id.
          lo_text->wrapping = 'FALSE'.
          lo_text->text     = get_column_value( p_column_key ).
          lo_text->design   =  'STANDARD'.
          lo_text->textcolor = 'POSITIVE'.
          p_replacement_bee = lo_text.
      ENDCASE.
    Thanks
    A

  • Problem with Exit push button

    Hi All,
    I have a required field in module pool programming. When i press Exit push button message displays "Fill in all required entry fields".
    I want to exit from program without fill any field.
    Is it possible. plz help me

    Hi,
    In the PF-Status, keep the Functional Type for the EXIT button as E.
    And code for the same button in the module:-
    PROCESS AFTER INPUT.
      MODULE exit AT EXIT COMMAND.
    MODULE exit.
      CASE sy-ucomm.
        WHEN 'EXIT'.
          LEAVE PROGRAM.  "<- to leave the transaction.
      ENDCASE.
    ENDMODULE.
    Hope this helps you.
    Regards,
    Tarun

  • File to File Scenario with Secure Connection. Pls help urgent

    Hello All,
    I tried a lot to get a link/blog that expalin full scenario
    for File to File Scenario with Secure Connection
    Kindly let me know if somebody have link/doc for it
    that describe all the steps to do configuring this scenario.
    What is difference in simple words between
    FTPS and SFTP.
    Pls help it is urgent as I require for Project work urgently.
    Regards

    hi rich
    go through these links
    FTPs connection failed - error ".. certificate rejected by ChainVerifier"
    Re: What is SFTP, FTI channels
    http://help.sap.com/saphelp_erp2005/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm
    FTPS implementation question.
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/0e16bfd7b021aee10000000a1553f6/frameset.htm
    Server certificate rejected by ChainVerifier:FTPS server(Points Guaranteed)
    /people/krishna.moorthyp/blog/2007/07/31/sftp-vs-ftps-in-sap-pi
    File adapter
    thanks
    Kunaal

  • I have an old PowerPC and a Macbook Pro running 10.6.7 sitting side by side. Both are using AirPort to connect to the internet wirelessly to the same router, but the old Mac connects with full bars, but the MBP struggles with only 2. Pls help, thanks!

    I have an old PowerPC running 10.4.11 and a Macbook Pro running 10.6.7 sitting side by side. Both are using AirPort to connect to the internet wirelessly to the same wireless router. The old Mac connects with full bars but the MBP struggles with only 2 bars. Pls help, thanks!

    BDAqua,
    Thanks for the response.
    Apple has used the term "Digital Audio" to identify this machine.  System Profiler has the following information:
    Machine Name:          Power Mac G4
      Machine Model:          PowerMac3,5
      CPU Type:          PowerPC G4  (2.1)
      Number Of CPUs:          1
      CPU Speed:          800 MHz
      L2 Cache (per CPU):          256 KB
      Memory:          768 MB
      Bus Speed:          133 MHz
      Boot ROM Version:          4.3.3f2
      Serial Number:          XBxxxxxMK9
      Sales Order Number:
    Yes, I could connect them by ethernet if all I wanted to do was transfer files, but I would like to network them so I could use wireless internet.  The machines are not always so close together, I did that to simplify the testing.  With the very slow transfer speeds I am reluctant to move ahead with the internet step. 
    <Edited By Host>

  • I recovered my ipad but i cannot open it with my own passcode,pls. help

    i recovered my ipad but i cannot open it with my own passcode,pls. help

    You may have to do the recovery function more than once.
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school enviroment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • After upgrading on ios 6 i have problems with vpn connection..pls help if someone have the same problem

    problem with vpn connection after upgrading on ios6.pls help

    I've never been able to share FaceBook posts nor seen the option using the iOS FaceBook app regardless the FaceBook app and iOS version. I can Like and I can Comment, and if I select a link or video to view under iOS 6, I can use the Share option for the link or video, but not for a post.

  • Displaying Icons on Push buttons --Urgent Help Please

    Hi All,
    I have been trying to display icons on push buttons. This is what I did after reading the white papers. Still it does not work. Please help.
    1. Created a folder on my Oracle home called images
    2. From Ms Dos ran d:\OracleHome\jdk\bin\jar.exe -cvf d:\OracleHome\forms90\java\images.jar *.gif
    3. Changed the formsweb.cfg
    imageBase=codeBase
    archive_jini=f90all_jinit.jar,images.jar
    ( here I even tried Flip flopping the two values. The Jinitior part wored but the image still does not show.)
    4. Saved the file , started the listner and ran the test form.
    5. Named the Icon file name to Aflist (no extensions)
    DOES NOT WORK.
    Pleaseeeeeeeeeeeeeeee Help.
    Many thanks in Advance.

    Nirav,
    images.jar should be in the forms90/java directory
    Frank

  • Playback with a push button

    I am using a NI USB-6259 with LabView 8.0
    My question is:  I want to play back  a graph when i push a button i have tried to do this in many ways but every time it plays back automatically and i don't want that i want to choose when to play it back.
    If anyone can help me i would be much appreciative
    Thank You,
    Harold Timmis
    [email protected]
    Harold Timmis
    [email protected]
    Orlando,Fl
    *Kudos always welcome
    Solved!
    Go to Solution.

    here is my code i am using an xy graph and attempting to play it back
    Harold Timmis
    [email protected]
    Orlando,Fl
    *Kudos always welcome
    Attachments:
    testingPOT.vi ‏351 KB

  • About checkbox and calculation with that value..pls help me ...

    Hi, in my applet there are three checkboxes about food shape which is wanted to be selected by the user. The user will choose one of them and by his/her choice p and r values are set and i think its done by itemStateChange method. In this method using by if the p and r values are differently set because of users different 3 choice. But because the method is closed using }after writing it and before starting actionperformed method. In action performed method if button is pressed the calculation is done (if i would afford to write it in a true way). My question arises with usage of p and r values which is set in other first method and call it in next method and use it in calculation and making the calculation work. May be it is very easy to do it but not for me being at first step of programming. Thank u for all of ur interest. My codes are below:
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.Applet;
    import java.text.*;
    public class kenan extends Applet implements ActionListener, ItemListener {
    DecimalFormat df=new DecimalFormat("0.####");
    double p, r;
    Panel satir1 = new Panel();
    Label l1 = new Label("Asagidaki kutulara gerekli degerleri girip 'hesapla' butonuna bas&#305;n&#305;z", Label.CENTER);
    Panel satir2 = new Panel();
    CheckboxGroup sekil = new CheckboxGroup();
    Checkbox levha = new Checkbox("Levha", false, sekil);
    Checkbox silindir = new Checkbox("Silindir", false, sekil);
    Checkbox kure = new Checkbox("Kure", false, sekil);
    Panel satir3 = new Panel();
    Label yogunluk = new Label("Yogunluk");
    TextField y = new TextField();
    Label kalinlik = new Label("Kalinlik");
    TextField dx = new TextField();
    Label iletim = new Label("Iletim katsayisi");
    TextField k = new TextField();
    Label tasinim = new Label("Tasinim katsayisi");
    TextField h = new TextField();
    Label ilksicaklik = new Label("Baslangic sicakligi");
    TextField tilk = new TextField();
    Label cevresicaklik = new Label("Cevre sicakligi");
    TextField tcevre = new TextField();
    Panel satir4 = new Panel();
    Button hesapla = new Button("Hesapla");
    Panel satir5 = new Panel();
    Label sure = new Label("Donma icin gecmesi gereken sure");
    Label tdonma = new Label("t");
    public void init(){
    GridLayout appletLayout = new GridLayout(5, 1, 5, 5);
    setLayout(appletLayout);
    FlowLayout layout1 = new FlowLayout(FlowLayout.LEFT, 5, 5);
    satir1.setLayout(layout1);
    satir1.add(l1);
    add(satir1);
    FlowLayout layout2 = new FlowLayout(FlowLayout.LEFT, 5, 5);
    satir2.setLayout(layout2);
    satir2.add(levha);
    satir2.add(silindir);
    satir2.add(kure);
    add(satir2);
    GridLayout layout3 = new GridLayout(3, 2, 5, 5);
    satir3.setLayout(layout3);
    satir3.add(yogunluk);
    satir3.add(y);
    satir3.add(kalinlik);
    satir3.add(dx);
    satir3.add(iletim);
    satir3.add(k);
    satir3.add(tasinim);
    satir3.add(h);
    satir3.add(ilksicaklik);
    satir3.add(tilk);
    satir3.add(cevresicaklik);
    satir3.add(tcevre);
    add(satir3);
    FlowLayout layout4 = new FlowLayout(FlowLayout.CENTER, 5, 5);
    satir4.setLayout(layout4);
    satir4.add(hesapla);
    add(satir4);
    FlowLayout layout5 = new FlowLayout(FlowLayout.CENTER, 5, 5);
    satir5.setLayout(layout5);
    satir5.add(sure);
    satir5.add(tdonma);
    add(satir5);
    setBackground(Color.lightGray);
    hesapla.addActionListener(this);
    levha.addItemListener(this);
    silindir.addItemListener(this);
    kure.addItemListener(this);
    public void itemStateChanged(ItemEvent event)
    String command = (String) event.getItem();
    if (command =="levha")
    {double p = 1/2;
    double r = 1/8;
    if (command =="Silindir")
    {double p = 1/4;
    double r = 1/16;
    else
    {double p = 1/6;
    double r = 1/24;}
    public void actionPerformed(ActionEvent event)
    {if (event.getSource()==hesapla)
    {double q,d,ti,tc,ki,hc;
    q = Double.valueOf(y.getText()).doubleValue();
    d = Double.valueOf(dx.getText()).doubleValue();
    ti = Double.valueOf(tilk.getText()).doubleValue();
    tc = Double.valueOf(tcevre.getText()).doubleValue();
    hc = Double.valueOf(h.getText()).doubleValue();
    ki = Double.valueOf(k.getText()).doubleValue();
    double buzE = 333707.99;
    double x = r*(Math.pow(d,2));
    double tsure = (q*buzE/(ti-tc))*((p*d/hc)+(x/ki));
    tdonma.setText(String.valueOf(df.format(tsure)));
    }

    First thing to fix is in itemStateChanged, use "equals" instead of "=="
    if (command.equals("levha"))
    else if (command.equals(...))
    Second thing is:
    double r = 1/2;is really telling Java the following:
    int tempR = 0; //integer division of 1/2;
    double r = (double) tempR = 0;Use:
    double r = ((double) 1)/2; // or just use 1.0/2.0;-------------
    Third thing is that your declarations of r and p in itemStateChanged hide the declaration of r and p in your kenan class. Just say:
    r = ((double) 1)/2; // or "r = 1.0/2.0;"-------------
    Try those three things, see what happens, and post the results.

  • ITunes not working with ios7 (iPhone 4S) - pls help

    Hi,
    Since I updated my iPhone 4S to iOS 7 I can't complete the sync of my phone with iTunes on the computer - it stays stuck at phase 6 + it's absolutely impossible to listen to music on my iPhone under iTunes (which is no doubt linked) : the songs just pass forward super quickly on my phone and it's impossible to play them.
    I've seen other people with the same problem and they had to reset their phone. Any other suggestion ?
    + if I do that my latest back upward without ios7 so I guess I'll go back to ios6, correct ?
    What a mess ! Please let me know if you've faced the same issue and how you've solved it.
    Cheers from Paris France.

    For iTunes app, this worked for some other users:
    Close the App Store app an/or the iTunes app by pressing the Home button twice, and swiping them up.
    Then go to Settings > Safari > Clear Cookies and Data
    Open the apps again.
    I'd recommend as well to sign out and in using Settings > iTunes & App Store
    Hope that helps.

  • Update a table based on Min value of a column of a Another Table.Pls Help.

    Dear All,
    Wishes,
    Actually I need update statement some thing like below scenario...
    Data in table is like below:
    I wrote a query to fetch data like below ( actually scenario is each control number can have single or multiple PO under it ) (i used rank by to find parent to tree like show of data)
    Table: T20
    Control_no        P_no  Col3
    19950021     726473     00
    19950036      731016     00
    19950072     731990     00
                     731990 01
    19950353     734732     00
                     734732 01
    19950406     736189     00
                 736588     01
                 736588     02
                 736588     03                
    Table : T30
    Control_no      P_no              col3
    19950021     726473 
    19950036     731016
    19950072     731990     
                 731990     
    19950353     734732     
                  734732     
    19950406     736189     
                  736588     
                  736588     
                   736588     
      Now requirement is I need to update Table T30's col3 (which do have values in T20 but not this table) in such a way that , It should take MIN (COL3) from T20 and then update that value to related Col3)
    Better I can explain through below new data format in T30 after update:
    After update it should like:
    Table : T30
    Control_no       P_no    col3 (this is updated column)
    19950021     726473   00  -- as this is min value for Pno 726473 belongs to Control NO 199950021 in Table T20 above
    19950036     731016   00  -- as this is min value for Pno 726473 belongs to Control NO 199950021 in Table T20 above
    19950072     731990   00  -- see here..both Pno should updated as '00' as MIN value col3 in Table T20 related to this
                 731990      00     record is '00'  (out of 00,01 it should select 00 and update that value here)
    19950353     734732      00  -- same again both Pno should updated as '00' as MIN value col3 in TableT20 related to this
                 734732      00     record is '00'  (out of 00,01 it should select 00 and update that value here)
    19950406     736189      00  -- As there is single col3 value in T20, 00 should be updated here.
                 736588      01  --  Here it should update col3 as '01' since for this pno(736588)
                 736588      01  --  Here too it should update col3 as 01 per requirement ,minimum value of this pno in T20
                 736588      01  --     same here too.. Sorry if my post formatting is not good...
    Hope i am clear in my requirement..(update T30 col3 based on min value of col3 of related records)
    Please suggest some update sql for this...(ideas would be great)
    I am using oracle 10 g version soon will be migrated to 11g..
    Regards
    Prasanth
    Edited by: Onenessboy on Oct 20, 2010 12:13 PM
    Edited by: Onenessboy on Oct 20, 2010 12:15 PM

    Onenessboy wrote:
    I am really sorry, my post so nonsense in look..
    I used to use for actuall code..
    the out put i tryped, i used [pre] , [/pre] but still does not look good..
    hmm..thanks for your suggestion hoek..
    so any ideas about my requirement...I would suggest spending a bit more time trying hoek's suggestion regarding {noformat}{noformat} tags instead of repeatedly asking for more help.
    Because to understand your requirement, people are going to have to read it first.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • All three iPhones on my account are backing up into the same iCloud account.  How do I change this?

    Hi, When I initially setup my parents iphones, I set them up under my apple account.  At first, there was no problem, but now my iCloud backup is getting mixed with my parents.  How do I create a new account for them without them losing the data that

  • Image in Nav Bar

    hello. i want to use logout icon in my log out navbar, but when i inseert img target in iamge attributes, for ex: #APP_IMAGES#out.pngit doesnt shows enything.. what is problem? can you help me

  • Error in RKM SAP BW importing a cube with 15 dimensions.

    Hi All, We have a error in the RKM SAP BW. It work's fine for infocubes with few dimensions (4-5). When we try to reverse engeneer of a cube with 15 dimensions, that fails in step "Get InfoCubes" with that error in Operator tab. org.apache.bsf.BSFExc

  • Policy Trace not returning the Correct policy

    Hi Everybody, Our issue here is that when we run a policy trace on any of our Active Directory users - it does not match the Correct policies and match the Global Access policy although the Trace return right Identity policy However if i try access a

  • Lumia 925 Black update minor problem

    Hello, Just wanted to send feedback about my update experience. - I have Lumia 925 - I have developer account and related MS updates already installed - When installing Lumia Black, installation started normally - During first reboot my phone got stu