Deleteing data when button presssed

Hi Sir/Madam,
I have created one button named CLEAR. Now what I want is that when I click on the button the cell on which the cursor is become empty...please notice that not the entire record only the cell on which cursor is.
To make more clear....lets take an example.
A table is there named "EMP" having three columns say "A","B","C".
suppose the cursor be at column "B" second row. So when we press CLEAR button then only the column "B" second row data become Clear or invisible or deleted.
Hope I made you clear..:)
How to do this ???
Thanks

How about putting this code under the button :
copy('',:system.cursor_item);

Similar Messages

  • Went to "setting" deleted data from "music" to make more space (I don't use iCloud). When I open "Music", the list is still there but there is no content/the actual songs.  How can it back to a clean slate? "Setting" shows "Music" has no data.

    Wanted to change my playlists and music, so went to >settings>music>delete data.  So now, within the usage menu, the "music" shows "no data".  But, when I open the Music app, it still shows the list of music that was supposedly deleted.  And the weird thing is, it is only the list. There is no content.  No actual music.  How do I get rid of this lists and get it to a clean slate???

    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings                            
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from iCloud backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       

  • How to maintain dynamic rows with data when click on Previous button?

    Hi,
    I have 1 aspx page and divided into 3 pages using panels.Each panel has "Next" and Previous buttons
    I have created and deleted dynamic table rows when click on Add button using javascript. whenever i click on Next button it will navigate to same page of next panel.
    when i click on previous button then it goes to previous panel but whatever i have added dynamic table rows in 1st panel that got removed.
    Can u please help me for how to maintain state of dynamic table rows with entered data when click on Previous button?
    How to get dynamic table rows with entered data in previous panel when click on Previous button?
    Please find the below javascript code:
    function insertRow() {
    if (index >= 2) {
    document.getElementById('deleteRow').style.display = "inline";
    else { document.getElementById('DeleteRow').style.display = "none"; }
    var table = document.getElementById("myTable");
    var row = table.insertRow(table.rows.length);
    cell1 = row.insertCell(0);
    t1 = document.createElement("select");
    t1.options[t1.options.length] = new Option('--Select--', '0');
    t1.id = "ddlYear" + index;
    cell1.appendChild(t1);
    for (var i = 1975; i <= 2015; i++) {
    opt = document.createElement("option");
    opt.value = i;
    opt.text = i;
    t1.add(opt);
    t1.style.width = "155px";
    var cell2 = row.insertCell(1);
    t2 = document.createElement("Select");
    t2.options[t2.options.length]=new Option('--Select--','0');
    t2.options[t2.options.length]=new Option('State Board','1');
    t2.options[t2.options.length]=new Option('CBSE','2');
    t2.options[t2.options.length]=new Option('ICSE','3');
    t2.options[t2.options.length] = new Option('Others', '4');
    t2.style.width = "155px";
    t2.id = "ddlCourse" + index;
    cell2.appendChild(t2);
    var cell3 = row.insertCell(2);
    t3 = document.createElement("input");
    t3.id = "txtCity" + index;
    cell3.appendChild(t3);
    var cell4 = row.insertCell(3);
    t4 = document.createElement("input");
    t4.id = "txtInstitute" + index;
    cell4.appendChild(t4);
    var cell5 = row.insertCell(4);
    t5 = document.createElement("Select");
    t5.options[t5.options.length] = new Option('--Select--', '0');
    t5.options[t5.options.length] = new Option('English', '1');
    t5.options[t5.options.length] = new Option('Hindi', '2');
    t5.options[t5.options.length] = new Option('Telugu', '3');
    t5.options[t5.options.length] = new Option('Others', '4');
    t5.style.width = "155px";
    t5.id = "ddlMedium" + index;
    cell5.appendChild(t5);
    var cell6 = row.insertCell(5);
    t6 = document.createElement("input");
    t6.id = "txtSpecialization" + index;
    cell6.appendChild(t6);
    var cell7 = row.insertCell(6);
    t7 = document.createElement("input");
    t7.id = "txtFnl" + index;
    cell7.appendChild(t7);
    index++;
    function DeleteRow(index) {
    var table = document.getElementById("myTable");
    table.deleteRow(index);
    // if (index = 2) { alert("There is no rows added.Please add the new row"); }
    Design:
    <tr style="font-size: 12pt" id="trSecond" runat="server">
    <td colspan="3">
    <table id="myTable" width="100%" border="0">
    </table>
    <tr>
    <td colspan="3" align="right">
    <input type="button" title="Add" value="Add" onclick="insertRow();" />
    <input type="button" id="deleteRow" title="Delete" value="Delete Row" onclick="DeleteRow(this);" style="display:none" />
    </td>
    </tr>
    Thank you.

    Put the button click into an action listener and build the new frame there. The code I have below isn't exactly what you're doing (it's amazingly oversimplified), but it's probably similar enough to get your wheels turning in the right direction.
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class sample
         public static void main(String[] args)
              JFrame frame = new JFrame("Sample");
              frame.setSize(400,400);
              Container content = frame.getContentPane();
              content.setLayout(new FlowLayout());
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              final JTextField text = new JTextField(10);
              content.add(text);
              JButton button = new JButton("Send");
              content.add(button);
              frame.setVisible(true);
              button.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent ae)
                        JFrame myframe = new JFrame("Results");
                        myframe.setSize(200,200);
                        Container mycontent = myframe.getContentPane();
                        mycontent.setLayout(new FlowLayout());
                        String mytext = text.getText();
                        JLabel label = new JLabel();
                        label.setText(String.valueOf(mytext));
                        mycontent.add(label);
                        myframe.setVisible(true);
    }

  • How can I restore my data from iCal? I didn't make any backup, but I use  time machine with an external HD. I deleted iCal when I deleted my gmail account. I have tried to restore, but I can only restore the iCal software and not the data.

    How can I restore my data from iCal? I didn't make any backup, but I use  time machine with an external HD. I deleted iCal when I deleted my gmail account. I have tried to restore, but I can only restore the iCal software and not the data.

    So what is your question?
    If you forgot your encryption password:
    Warning: Make sure it's a password you will remember or write it down for safekeeping. If you encrypt an iPhone backup in iTunes and forget your password, you can't restore from backup and your data will be unrecoverable.
    If you can't remember the password and want to start again, you must perform a full software restore and chooseset up as a new device when iTunes prompts you to select the backup from which to restore.
    The above comes from here:
    http://support.apple.com/kb/HT4946

  • When i was trying to update my iPhone 5s to the latest version of ios 8.1 , it required more space so i had to delete data manually, meanwhile i was doing so the phone got stuck and went off & when it came on again i found it on the recovery mode  ??

    hello there everyone
    I lost everything cause I wanted to update my phone
    here is what happened with me exactly :-
    I plugged in my phone into the charger  & connected my phone to a wireless connection to  start the operation of updating it, I immediately noticed that I dont have the required space to proceed the download so i had to delete data manually, & meanwhile i was doing so my phone became slow  and it got stuck then it went off after that it came on again but it was on the recovery mode ??
    did I lose everything ??? what did I do wrong  ??? what can i do to recover this ??

    Hi, Milanista5
    Thank you for visiting Apple Support Communities.
    When experiencing issues restoring or updating an iPhone, here are the best articles to go through.  If you received a specific error number when restoring, see the section labeled Get more help in the second article below.
    iOS: Unable to update or restore
    http://support.apple.com/kb/ht1808
    iOS: Troubleshooting update and restore issues
    http://support.apple.com/kb/ts1275
    Cheers,
    Jason H.

  • How do I make it so that the one computer that has the main itunes account on it be used on other computers, when it comes to backing up phones and not deleting data off of phone that isnt on that computer itunes becasse its all on the one main computer

    how do I make it so that the one computer that has the main itunes account on it be used on other computers, when it comes to backing up phones and not deleting data off of phone that isnt on that computer itunes becasse its all on the one main computer. Baiscally the problem is that one comuter and one account has always been sued for eey persons itunes. Now if we want to be able to backup and use itunes on our own computers fro our iphones and such, how will all he data that is on our phones not be deleted once its plugged into a new computer? Also, is theere a way to get all the stuff on thw current itunes onto each computer, via differtn account name?

    option discovered in preferences. Really this and any feature that moves deletes or edits a users data should as far as possible be OFF BY DEFAULT. It shouldn't by default and without the users specific say do this dangerous and unnecessary thing without even letting the user know what it's doing!!! And then cause me a few hours (as i'm new to mac) searching for the option so as to switch it off. If i hadn't noticed the status cage declaring that it was copying files then i might never have twigged that this insane thing was occurring. And if i hadn't of noticed i would have been left maintaining the contents of the folder i copied the files to, the folder which as far as i was informed and so believed was also the location of the music files i was playing. How does Apple justify this 'genius' piece of software non-design? Surely it will hurt no one if this was off by default for new users - overall at least i dare say it would cause a lot less distress in the future for the unsuspecting public at large. Thanks for the support.

  • HI, I need your help. How can I delete all data, when I do not have the special security code, which I didn´t remember ? I also think, that I never create this code before. But I cannot put my settings back.

    HI, I need your help. How can I delete all data, when I do not have the special security code, which I didn´t remember ? I also think, that I never create this code before. But I cannot put my settings back.

    You must remember the code, if you can't then take the phone and proof of purchase to an Apple Store.

  • My computer was reimaged and iTunes was deleted, now when I try to sync my ipad it says it is synced with another library?  How do I sync with the newly installed iTunes without losing all of my data on my ipad?

    My computer was reimaged and iTunes was deleted, now when I try to sync my ipad it says it is synced with another library?  How do I sync with the newly installed iTunes without losing all of my data on my ipad?

    Copy all the content on your iPod back to your PC and into iTunes. Then go ahead and sync the iPod with your new library.
    See this older post from another forum member Zevoneer covering the different methods and software available to assist you with the task of copying content from your iPod back to your PC and into iTunes.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • Error about mapping with sqlexec when delete data

    I've created a sample replication process
    There's no problem when i'm inserting data (lookup process is working well too)
    but when i'm deleting data from source table it cannot delete record in target table
    and this is the error
    ERROR OGG-01296 Oracle GoldenGate Delivery for Oracle, CC.prm: Error mapping from GG_SOURCE.SOURCE to GG_TARGET.TRG_MAP
    and this is code of replicat process
    replicat cc
    userid gg_target,password oracle
    sourcedefs D:\GG\target\dirdef\source.def
    map gg_source.source
    , target gg_target.trg_map
    , def ssource
    , sqlexec (id chk_acct
         , query "select account_id_lkp id_out from lkp where account_id_lkp = :id_in"
         , params (id_in = acct_id))
    , colmap (USEDEFAULTS
         ,ACCOUNT_NUMBER = ACCT_ID
         ,ACCT_MAP = @GETVAL (chk_acct.id_out));
    Could anyone plese help?

    Hi Deepshika,
    Could you also advice me how u resolved this issue i am also getting same issue...i have also activate MSDTC Service ,Inbound/Outbound allowed & also allowed Distributed transaction in Firewall.
    Regards
    Shehzad

  • What's the exact trigger for when updating/inserting/deleting data from one DB to another DB which contains same info?

    Hi guys,
    I have created a copy of the AdventureWorks2012 DB called AdventureWorks2012_new on the same instance.
    I have created the following trigger below but my friend who is a DBA told me that this is not correct and I should be using the inserted table when creating this trigger. I would like AdventureWorks2012_new DB to be updating/inserting/deleting data from
    the same tables that have been updated/inserted/deleted in the AdventureWorks2012 DB. How exactly should I do this for all the tables in the whole database ? What I have written below is just for one of the tables, is there a quicker way to do it for all tables
    in this DB so that it performs the actions mentioned above, automatically ? Help would be greatly appreciated so I can understand how this works, thanks
    CREATE TRIGGER [HumanResources].[tr_HumanResources_AfterUpdate]
    ON [AdventureWorks2012].[HumanResources].[Department]
    AFTER UPDATE
    AS
    BEGIN
    SET NOCOUNT ON;
    UPDATE AdventureWorks2012_new.HumanResources.Department
    SET Name = t2.Name,
    GroupName = t2.GroupName,
    ModifiedDate = t2.ModifiedDate
    FROM AdventureWorks2012.HumanResources.Department AS t2
    INNER JOIN AdventureWorks2012_new.HumanResources.Department AS t1
    ON t2.DepartmentID = t1.DepartmentID
    END

    For insert it's easy:
    CREATE TRIGGER [HumanResources].[tr_HumanResources_AfterInsert]
    ON [AdventureWorks2012].[HumanResources].[Department]
    AFTER INSERT
    AS
    BEGIN
    SET NOCOUNT ON;
    Insert INTO AdventureWorks2012_new.HumanResources.Department
    (DepartmentID, Name, GroupName, ModifiedDate)
    SELECT DepartmentID, Name, GroupName, ModifiedDate
    FROM Inserted;
    END
    I didn't verify column names, so you may need to make sure to use correct column names for that table.
    Setting replication is a bit advanced topic although BOL is clear and you may start here
    http://technet.microsoft.com/en-us/library/ms151198.aspx
    If it will be complicated for you, you can ask extra questions in the MSDN Replication forum.
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • IOS 5's iPad memory management deletes app data when memory is low.

    ForeFlight claims iOS 5 includes a new file management feature that arbitarily deletes files to make room for new data when iPad memory is insufficient. The only warning given to the iPad user is a "cleaning" symbol. This makes no sense to me. Something is missing from this story. Has anyone heard of this.
    Read ForeFlight's warning to its user base here: http://blog.foreflight.com/2011/10/14/flying-with-foreflight-and-ios-5/

    I think that makes it quite clear:
    http://www.marco.org/2011/10/13/ios5-caches-cleaning
    Wilfried

  • How to delete data from Open Hub DB table when the DTP is inactive..

    Hi Gurus,
    I am transporting some 2LIS extractors to QA with some enhancements.
    The data goes to an OHD ( third party ) pulled by a process outside SAP enabled by a BAPI.
    Now , By mistake , I imported the OHDs with still some old left in the DB table of OHD ( /bic/oh<>)
    It's not allowing to me do manual activation and also DTP is inactive ( cannot do a delta DTP and make no of records zero )
    I want to delete the data in the OHD DB tables ..any clues....
    Thanks,
    Chetan

    Hi Chetan,
    The OHD table name is usually /BIC/OH<OHD-name> .  You can find it in the OHD definition.
    Go to transaction se14, give the table name and say edit.
    Select Delete Data and say Activate and adjust database.
    This will delete the entire contents of the OHD DB table.
    Regards,
    Uma Maheswari

  • How do I delete the download button which is next to my home button? I keep clicking it when I want home and it is annoying.

    How do I delete the download button which is next to my home button?

    You can use the Customize feature to move it to a less irritating location. I suggest the Add-on bar if you keep that displayed.
    Start customizing with either of these, then drag the arrow to a new location, or into the dialog to remove from all bars:
    * right-click a blank area of the tab bar > Customize
    * tap the Alt key > View menu > Toolbars > Customize
    You will notice that some of the combined controls split apart in the customize view. If you put anything between them, they won't be able to recombine. (For example, if you separate stop and reload, or put something between back/forward and the URL box.)

  • Can not Delete Data in SEM-BCS

    Dear Expert,
    I do the following steps :
    1. Created Consolidation groups in workbench ( I was not assigned it to anywhere)
    2. Save.
    3. Deleted Consol group above.
    4. WHen i tried to save, There are errors that said "The data model contains inconsistencies. These have to be cleaned up before you proceed." . And then i click button "Full Display" but the result said : "Data is Consistent. SYnchronzation not neccessary".
    How do i delete data in workbench? because i cannot delete master data that i created in workbench.
    Please advice.
    Thanks in advance.

    Hi,
    Actually, yes, you may delete master data in BW and then syncronize them with BCS.
    The name of the infoobject containing master data for cons group you may see in your data basis, on the tab strip showing roles assignment (swithing on the tech names).
    Execute RSA1 t-code. Find in infoobjects, the IO for cons groups, delete its master data.
    SE38 t-code, program name = UGMDSYNC. Choose the cons group IO; set source = your BW system name; set target = local. Execute syncronization.
    After that the data for cons group in BW and BCS will be equivalent.
    Best regards,
    Eugene

  • How to delete data-records with BI-planning in BEx?

    Hi folks, masters and gurus,
    we just upgraded some of our functions from BPS to BI-Planning.
    Only one thing I could not resolve up to now:
    In BPS (web based) it was easily possible to delete data-records by choosing a radio-button beside the data-entry-field and click the "delete"-button (a red "-") on the top.
    When I tried to find a delete-function in RSPLAN now I only found one that deletes the data, but not the record itself.
    Does anyone know how to build a function that I can use to delete data-records?
    Thx in advance for your help,
    Thomas

    Oh yes ... it´s not necessary as it is easily possible to supress lines with only 0 in it with
    query-properties / rows/coloumns / supressing Zero / activ ...
    Edited by: Thomas Kejik on Jan 19, 2009 9:46 AM

Maybe you are looking for

  • Reading in a certain number of characters from a file.

    Hi guys, I need some pointers on how to read in a specified number of characters from a text file.For example,how would I read in the first 100 characters to an array from a text file with an unspecfied number of characters (more than 100 rather than

  • Unpleasant surprise after buying my first iMAC- what do I do with old movies?

    I just switched to the MAC after using Windows since it came out based on the promise that everything is so easy to perform with it... I have many short movies (most just a few minutes long, a few 10-20 minutes) in different formats created by differ

  • Cannot be more dissatisfi​ed with Verizon customer service!

    I used to say Verizon is great because it has a great customer service. Now, I am having a second thought. I have just bought a new phone with a new contract and since then I have been having all kinda technical issues with the phone reception and it

  • Compiling a cfc/cfm coldfusion file

    I've got the source code for an app in coldfusion that I'd like to compile. There are a bunch of cfc and cfm files. I have coldfusion 8.0 installed on the server too. These cfc and cfm files work with java I believe. Would anyone have any ideas how t

  • Adobe Flash 11.9 won't install on Mavericks

    I just upgraded to Mavericks and I can not get Flash to load.  In fact, Flash is nowhere to be found on my system.  I have tried 10 or 11 times.  It will walk through the load/install process, say it is finished and then is nowhere to be found.  I am