Deleting the current table instance

Hi
I am replicating table dynamically using
this.resolveNode('form1.#subform._subForm2').addInstance(1);
if (xfa.host.version < 8) {
    xfa.form.recalculate(1);
When I try to delete the current table instance using
this.resolveNode('form1.#subform._subForm2').removeInstance(this.parent.index);
if (xfa.host.version < 8) {
    xfa.form.recalculate(1);
results in always deleteting the first instance ( table )
Any help ?
I have a table with a button "Duplicate Table" and "Delete Table"
If user clicks on "Duplicate Table" it creates/replicates/duplicates the entire table with all the fields and the buttons.
Now from the user perspective suppose I have created/duplicated 5 tables with all the data fields and buttons ( please note each of the newly created table will also have their individual "Delete Table" option). Now I want to delete the third table using the "Delete Table" from the third table ( want to delete the same instance from which the button is clicked deleted .

Recheck your line:
this.resolveNode('form1.#subform._subForm2').removeInstance(this.paren t.index);
Replace this.parent.index with the name of the subform you are deleting. (ex: myParentTable.index);
or
Find how far down your delete button is in the hierarchy. For example if my delete button is wrapped in Subform1 and Subform1 is inside of TableToRemove then your syntax would have to be removeInstance(this.parent.parent.index) because the subform you want to remove is 2 parents up.
Kyle

Similar Messages

  • Hi Friends... I'm trying to delete a back-up file on mu TC but I get the message "The operation could not be completed because the item "bands" is in use. I'd like to start the Back from scratch, could help me out with deleting the current file?

    Hi Friends...
    I’m trying to delete a back-up file on mu TC but I get the message “The operation could not be completed because the item “bands” is in use. I’d like to start the Back from scratch, could help me out with deleting the current file?

    Sorry, I am very confused. I asked the following question....
    Is this the only backup file on your Mac, or do you have other backup files and data on the Time Capsule disk?
    The answer that you gave was....
    This is the only one
    Now you are saying that....
    But I have lots of other files on Time Capsule! The back up file is only one of them.
    Can you clarify, please?

  • I want to update iCloud account with new apple id but don't know password for old apple id.  Plus can no longer receive email at old apple id.  How can I delete the current iCloud account on my iPhone if the previously stated conditions exist?

    I want to update iCloud account with new apple id but don't know password for old apple id.  Plus can no longer receive email at old apple id.  How can I delete the current iCloud account on my iPhone if the previously stated conditions exist?

    If the old ID is yours, and if it is an earlier version of your current ID, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iDevice, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • Is it possible to reference the name of the current table in a formula?

    Hi,
    I am wanting to be able to reference the name of the same table that I am entering a formula into, i.e.:
    =SUMIFS(Net,Event,"CURRENT TABLE NAME HERE",Category,"Publicity")
    Is this possible?
    Thanks,
    Nick

    AppleScript can access the current table name, so it if you are doing a lot of formula entry in different tables you could click once in a table and have a short script insert the formula for you.  Here's a simple example:
    Say you have a data table like this:
    Event
    Category
    Net
    Event 1
    Publicity
    10
    Event 2
    Celebration
    20
    Event 1
    Supplies
    5
    Event 1
    Salaries
    20
    Event 3
    Celebration
    25
    Event 1
    Publicity
    20
    Event 2
    Publicity
    11
    Event 1
    Accounting
    20
    And (important) you have 'Use Header Names as Labels' turned on in Numbers > Preferences.
    You caninsert this formula:
    =SUMIFS(Net,Event,"Event 1",Category,"Publicity")
    ... into a table named Event 1 that looks like this:
    Cat
    Amount
    Publicity
    30
    ...with a script like this:
    -- NB:  the \ "escape" the quotation marks so AppleScript takes them literally
    tell application "Numbers"
      set t to document 1's active sheet's first table whose selection range's class is range
      set c to t's selection range's first cell
      set c's value to "=SUMIFS(Net,Event," & "\"" & t's name & "\"" & ",Category,\"Publicity\")"
    end tell
    The script automatically inserts the name of the table you have clicked in.
    (To use the script just copy and paste into Script Editor, click once in the cell where you want the formula (B2 in the example) and click the 'Run' triangle button in Script Editor.)
    SG

  • HT1459 Serial number is faded and too small to read. Itunes will not recognize my IPod Classic. How can I delete the current iPod software and reinstall it to see if this would solve the problem?

    I recently upgraded my Itunes softeware, now itunes will not recognize my IPod Classic. If I delete the current IPod software and reinstall it, would this solve the problem, and if so, I'll need step by step instruction.

    Yep.
    Take a look here:
    http://www.snsforums.com/index.php?showtopic=235
    It appears that SANmp is indeed the most likely source of your problem.

  • When I put in my password I get a drop down window with options I want to delete the current options, how do I do this?

    when I am siging on to a website with my user ID, I get a drop down window when typing the first letter with options and I want to delete the current options, how do I do this?

    http://www.apple.com/support/contact/

  • Generate an Upload the current table to a comma seperated file

    Hi Freaks,
    i want to generate a comma seperated file from the current table (which was modified in the current Apex Window) and also upload the file to a file server.
    What is the best practice?
    Thanks a lot
    Wolle

    Hello Wolle,
    In the APEX SQL Workshop -> Object browser, when you select a table, and select the Data tab. There's a link at the bottom of the table, "Download". This will automatically generate a csv file for you.
    Alternatively you can use a client like toad or sql developer to generate a csv.
    Greetings,
    Rutger
    http://rutgerderuiter.blogspot.com/
    ===============================================================================
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • Why i have to delete the Current word Text if i type wrong Previous word text in the sentence, my fingers are broad cannot accurately point the specific character, I am forced to delete current word text, its really making my mind to get rid of  iPhone4.

    Why i have to delete the Current word Text if i type wrong Previousword text in the sentence, my fingers are broad cannot accurately point thespecific character, I am forced to delete current word text, its really makingmy mind to get rid of  iPhone4.

    Hold your finger on the word for a little time - after a second or so, a magnifying view appears showing the few letters around your finger, with a cursor. Roll your finger to move the cursor to just in front of the letter you want to fix. Then let your finger go. You can now backspace to delete and replace the incorrect letter.

  • I have just tried to sync my iphone. Error message saying it cannot be synced has popped up quoting error code (-50). I have just removed old iphone backups from itunes but was very careful to not delete the current one. What does this code mean?

    Hi there,
    I have just tried to sync my iphone.
    Worryingly an error message saying it cannot be synced has popped up quoting error code (-50)
    I have just removed old iphone backups from itunes but was very careful to not delete the current one
    What does this code mean?

    http://support.apple.com/kb/TS1583

  • How can i reset settings of mozilla?i want to delete the current saved usernames and passwords of every sites?

    how can i reset settings of Mozilla?i want to delete the current saved user names and passwords of every sites..how can i do it???

    Hello Anonymous.
    Hopefully this support article is what you need:
    https://support.mozilla.com/en-US/kb/Remembering+passwords#Viewing_and_deleting_passwords

  • Deleting the staging tables

    Hi all,
    We are upgrading from 8.4 to 9.0 financials.
    we are at re-applying customizations phase now.
    In previous version(8.4), there was a custom app engine to delete the Voucher Staging tables(EC tables).
    in that app engine, all deletes were based on ECQUEUEINSTANCE field.
    (for ex delete from PS_VCHR_HDR_EC WHERE ECQUEUEINSTANCE BETWEEN 1234 AND 1235)
    Peoplesoft changed EC tables to STG tables in 9.0 version
    So my question is that in 8.4 in PS_VCHR_PYMT_EC has the ECQUEUEINSTANCE field in it. but the corresponding table PS_VCHR_PYMT_STG table does not have the ECQUEUEINSTANCE field. I am just wondering if any one got into this situation and how did you delete the PS_VCHR_PYMT_STG table?
    I don't want to delete everything in PS_VCHR_PYMT_STG table.
    Thank you.

    Please post the details of the application release, database version and OS.
    Do you have the statistics collected up to date?
    Please see these docs.
    PERFORMANCE ISSUE - REFRESH COLLECTIONS SNAPSHOT WHEN RUN FOR ALL [ID 1067892.1]
    Refresh Collection Snapshots Performance - Managing MLOG$ Tables and Snapshots for Data Collections [ID 1063953.1]
    How To Improve the Performance of the Refresh Collection Snapshots When Running Very High Volumes [ID 550005.1]
    How To Run MSRFWOR - Refresh Collections Snapshots Concurrent Request From The Application [ID 211121.1]
    Advanced Supply Chain Planning ASCP Performance TIPS Profile Options [ID 209996.1]
    Fast Refresh Is Slower After OATM and 10.2.0.3 Upgrade [ID 875532.1]
    MSRFWOR Refresh Collection Snapshots Performance Database Bug 4196039 [ID 369173.1]
    Master Note for Materialized View (MVIEW) [ID 1353040.1]
    Thanks,
    Hussein

  • I have a facebook account set up to iphoto so it automatically opens that facebook when i want to upload pics. but i want to delete the current account and set it up with a new one. how do i do it? help!!!

    i have a facebook account set up to iphoto so it automatically opens when i go to share photos via facebook, but i want to delete the current one and set it up to a different account, how do i do it? helpp!!!!

    iPhoto > Preferences > Accounts

  • How to find out who deleted the standard table enteries

    Hi,
    Somebody has deleted entire KNA1 in one of our systems. Is there any way to find out who deleted the entries?
    Thanks & Regards,
    Kumaran Duraiswamy.

    Hi
    Look for help from an ABAPer. Go to SE11 for KNA1, use 'where-used list (ctrlshiftF3) and search for report that begin with Z* or Y* (perhaps LZ* or LY*, ie: function modules). See the ABAP coding if there is any instructions type:
      DELETE kna1 FROM xxx.
    Check too if the option &SAP_EDIT in tcode SE16N works in your system (see SAP Note 1420281 - CO-OM tools: SE16N: Deactivating &SAP_EDIT for instance)
    I hope this helps you
    Regards
    Eduardo
    PD: I forgot it, if option &SAP_EDIT works in SE16N, check the tables SE16N_CD_DATA and SE16N_CD_KEY.
    Edited by: E_Hinojosa on Jun 24, 2011 11:04 AM

  • How to delete the source table rows once loaded in Destination Table in SSIS?

    Data Base=kssdata
    Tables= Userdetails having 1000 rows
    Using SSIS: 
    Taking A  
    OLE DB Source----------------->OLE DB Destination
    Am Taking 200 rows in Source table and loaded into Destination table once
    Constraint: here once 200 rows are exported in destination table , that 200 rows are deleted in source table
    repeat the task as source table all the records are loaded into Destination table 
    After that am taking another 200 rows in source table and loaded into Destination table

    Provided you've a sequential primary key  or audit timestamp (datetime/date) column in the table you can do an approach like this
    1. Add a execute sql task connectng to source db with below statement
    SELECT COUNT(*) FROM table
    Store the result in a variable
    2. Have another variable and set it to below expression
    (@[User::CountVariable]/200) + (@[User::CountVariable]%200 >0? 1:0)
    by setting EvaluatesExpression as true. Here CountVariable is variable created in previous step
    3. Have a for loop container with below settings
    InitExpression
    @NewVariable = @CounterVariable
    EvalExpression
    @NewVariable > 0
    AssignExpression
    @NewVariable = @NewVariable - 1
    3. Add a data flow task with OLEDB source and OLEDB Destination
    4. Use source query as
    SELECT TOP 200 columns...
    FROM Table
    ORDER BY [PK | AuditColumn]
    Use PK or audit column depending which one is sequential
    5. After data flow task have a execute sql task with statement as below
    DELETE t
    FROM (SELECT ROW_NUMBER() OVER (ORDER BY PK) AS Rn
    FROM Table)t
    WHERE Rn <= 200
    This will make sure the 200 records gets deleted each time
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to delete the database table

    hi all
    i want to delete the data  from the custrmize table so if u can heilp me to do that....not the internal table ..i write the code but that using that code i can delete only one raw.. but i want to delete all raw in my table..
    ZLAB_SUBMIT-SHADE = '1'.
    ZLAB_SUBMIT-SUBMIT = '1'.
    ZLAB_SUBMIT-RM = 'RINGS'.
    ZLAB_SUBMIT-REMARKS = 'Approved'.
    ZLAB_SUBMIT-AP = ''.
    ZLAB_SUBMIT-USNAM = 'INDIKAF'.
    ZLAB_SUBMIT-CPUDT = '05.10.2006'.
    ZLAB_SUBMIT-CDATE = '05.10.2006'.
    ZLAB_SUBMIT-CPUTM = '21:29:19'.
    DELETE  ZLAB_SUBMIT.
    regard
    nawa
    this is my code....

    Hi,
    data itab type standard table of zlab_submit.
    select * from zlab_summit into table itab.
    delete zlab_summit from table itab.
    Kindly reward points by clicking the star on the left of reply,if it helps.

Maybe you are looking for

  • Structured storage XMLType but disappointing performance

    Hi, This relates to Oracle 11g, but maybe the same question can be asked for 10g. I'm having a lot of big XML files which are structured following this xsd: <?xml version="1.0" encoding="ISO-8859-1"?> <xs:schema    xmlns="http://localhost/public/xsd/

  • Business Objects XI 3.1 client tool installation problem

    Hi Experts, When i am installing SAP Business Objects enterprise Xi 3.1 Client tool SP3 on my local desktop its throwing error as " Update installation cannot proceed because either the target product is missing or is not in the correct version for t

  • Activation fails in Integration Builder (Directory)

    Hi, All of a sudden we have started to encounter the error below when we attempt to create/change and object and then activate it. This is PI 7.0 SP9 Any ideas? javax.transaction.HeuristicMixedException: com.sap.engine.services.ts.exceptions.BaseHeur

  • Extreme Music, can't use Audio - conso

    How can i use Audio console? Cant set it to game mode etc. Also cant set the EQ, crystalizer etc etc. If i start the program everything seems normal, but when i turn crystalizer on/off i hear no difference, also volume control EQ nothing works! I'm u

  • OneNote for iPad

    What is the best resource for figuring out how to use OneNote for the iPad.  I am using iPad Air, Macbook Air, iPhone 5 and Mac Mini.  I am trying to figure out some basic things, like how to do the following: 1. Add .pdf files to a section of a note