Autonumber for several fixed rows

I have often used the autonumber for dynamic row instances with no problem, but now have a problem where my table starts with 3 rows with different content, and the user needs to be able to add and delete rows, at the same time maintaining the autonumbering.
I created the table with three rows, and each row has the same name (Table1.Row) - I set the Binding to Repeat row with Initial Count set to 1 - no Minimum count
On a text field in that row, I use the Calculate event with
var vIndex = ["(a)", "(b)", "(c)"];
var i = this.parent.index;
this.rawValue = vIndex[i];
This produces rows with (a), (b) and (c)
I have a delete button for each row - Click event 
Table1.Row.instanceManager.setInstances(0)
- this deletes the row I click on
All good so far, but the autonumbering does not recalculate the remaining rows when I delete one.
Does anyone have an idea of how I can get the remaining rows to recalculate? I tried putting
  xfa.form.recalculate();
in various events, but no joy

Oh well - found my own solution. Same as the above, but
"On a text field in that row, I use the Layout:Ready event with
var vIndex = ["(a)", "(b)", "(c)"];
var i = this.parent.index;
this.rawValue = vIndex[i];
This produces rows with (a), (b) and (c)  - and the deletion works to remove the row and renumber the remaining ones.

Similar Messages

  • Fixed-Row Enumeration.

    Hi all,
    Can some one tell me the procedure for using Fixed-row enumeration. I have enforced in my rows NOT to repeat across pages and tried several other different ways like nesting etc., but all ended up in vain.
    Thanks in advance,
    Balaji

    If you want to ensure that data within a row of a table is kept together on a page,
    youcan set this as an option using Microsoft Word’s Table Properties.
    1. Select the row(s) that you want to ensure do not break across a page.
    2. From the Table menu, select Table Properties.
    3. From the Row tab, deselect the check box "Allow row to break across pages".
    This features is available in Latest Release.

  • Is anyone else having issues with "skipping" while the songs are playing?! It is very aggravating to us... and we've had it going on for several months now.  Any ideas at all how to fix it?

    Is anyone else having issues with "skipping" while the songs are playing?! It is very aggravating to us... and we've had it going on for several months now.  Any ideas at all how to fix it?

    So, don't use youtube.
    http://www.the-top-tens.com/lists/best-alternatives-youtube.asp
    http://www.youtubealternative.com/

  • I am using a Canon 640 printer and my MPNavigator will not remain open.  It pops open then quickly closes.  I've used it for several years but it just started doing this.  What can I do to fix this problem?

    I am using a Canon 640 printer and my MPNavigator will not remain open.  It pops open then quickly closes.  I've used it for several years but it just started doing this.  What can I do to fix this problem?

    I had a similar problem with a Canon MP800R under Mac OS X 10.9.2 Mavericks.
    In my case, the MP Navigator app in the dock was linking to the wrong file.
    It linked to Applications > MP Navigator 2.1.app > Contents > Resources > MP Navigator.app, but it should link to the "main" app, probably under Applications > MP Navigator 2.1.app.
    After pulling the correct MP Navigator app file to the dock, I can start MP Navigator again by clicking on it in the dock. However, when clicking on it, a second MP Navigator icon will show up in the dock and stay there until the app is closed. By the way, the MP800R scanner also works (although officially not supported by Canon).

  • My hard drive crashed. Lost Photoshop 11 software. When hard drive fixed, I bought and downloaded Elements 12. Trying to get photos in 12. All I have had for several hours are hour glasses. Photos are there if you click on hour glass, but cannot get photo

    My hard drive crashed. Lost Photoshop 11 software. When hard drive fixed, I bought and downloaded Elements 12. Trying to get photos in 12. All I have had for several hours are hour glasses. Photos are there if you click on hour glass, but cannot get photos to show up on the grid. What should I do?

    Thank you. Unfortunately I have  very limited technical skills.I am not sure what some of your suggestions relate to and the others I would not know how to do. But I do appreciate your respnse. A good start might be if you could tell me how to turn off face recognition. Thank you again

  • Hi, i have question about my macBook pro.  I have a somehow managed to delete a driver or no, so I can not install new software updates. I have tried for several hours to fixe it on OS X tools-Disc Tools. anyone has a clue about this more than I have.

    I have a somehow managed to delete a driver or no, so I can not install new software updates. I have tried for several hours to fixe it on OS X tools-Disc Tools. anyone has a clue about this more than I have about Mac´crack that **** formatted and has really nothing to the HD. what do I do??
    <Edited by Host>

    Cami87,
    which model MacBook Pro do you have, and which version of OS X is installed on it?

  • My xtreme tong-its seems corrupted...before it was working very well, but for several games played it stop working, i tried remove and re-install it but nothing happens. Can you please tell me what to do in fixing this particular game.

    my xtreme tong-its seems corrupted...before it was working very well, but for several games played it stop working, i tried remove and re-install it but nothing happens. Can you please tell me what to do in fixing this particular game.

    It sounds like you may have multiple problems, but none of them are likely to be caused by malware.
    First, the internet-related issues may be related to adware or a network compromise. I tend to lean more towards the latter, based on your description of the problem. See:
    http://www.adwaremedic.com/kb/baddns.php
    http://www.adwaremedic.com/kb/hackedrouter.php
    If investigation shows that this is not a network-specific issue, then it's probably adware. See my Adware Removal Guide for help finding and removing it. Note that you mention AdBlock as if it should have prevented this, but it's important to understand that ad blockers do not protect you against adware in any way. Neither would any kind of anti-virus software, which often doesn't detect adware.
    As for the other issues, it sounds like you've got some serious corruption. I would be inclined to say it sounds like a failing drive, except it sounds like you just got it replaced. How did you get all your files back after the new drive was installed?
    (Fair disclosure: I may receive compensation from links to my sites, TheSafeMac.com and AdwareMedic.com, in the form of buttons allowing for donations. Donations are not required to use my site or software.)

  • Network disconnects after Mac mini is running for several hours but a reboot fixes it

    i have updated my Mac mini to Yosemite but now it has a networking problem after running for several hours . Trying to open a webpage in Safari or chrome doesn't work, the remote site appears to disconnect.  Mail is not downloaded and email already downloaded has no images when I display them.  Interestingly DNS resolution is working nslookup finds the IP but telnet to a web site on port 80 gets an instant disconnect. 
    THe connection ion is wired into a hub and the ISP connection is fine from the other computers on our home network.
    I am now rather perplexed how to fix this without constantly rebooting the Mac which just goes against the grain.

    Hi loseph94,
    Welcome to the Apple Support Communities!
    I understand that issues with your computer running slowly can be frustrating. In this situation I would recommend reading over and using the information located in the attached article to help troubleshoot the issue. 
    OS X Yosemite: If your Mac runs slowly
    Have a great day,
    Joe

  • My on off button on my iPhone isn't working and it has been for several months but i went to the apple store today and the warranty was only 16 days over is it possible to get it fixed for free

    my on off button on my iPhone isn't working and it has been for several months but i went to the apple store today and the warranty was only 16 days over is it possible to get it fixed for free

    If the genius at the Apple Store did not offer repair under warranty then NO
    12 months is 12months asume you did not have AppleCare

  • RE case number 185479759 which was closed today (thought problem was fixed but still persists). LR keeps crashing and no one seems to be able to figure out why. Am getting really frustrated here as I have been dealing with this with Adobe for several days

    Come on now, how many times do I have to type the above question. I need help getting my LR5 to work. It keeps crashing. Have been working with Adobe for this problem for several days now and still no resolution.

    You're not talking to Adobe here - this is a user-to-user forum.
    If you want help here, you'll need to explain exactly what the problem is, and include details like your OS, your camera, what you're doing when the crash happens, etc.
    FAQ: What information should I provide when posting, or What do you need to know to solve my issue?

  • My yahoo e-mail not pushing to iPhone4, again.  Had this same problem in October for several weeks.  My kids and husband have 3 other types of smart phones, and none of them are experiencing this problems.  This has been going on for 2 weeks so far.

    My yahoo e-mail is not pushing to my iPhone4, again.  Had this same problem for several weeks in October/November 2011.  It's been a problem again for two weeks now.  My kids and husband have three other types of smart phones, and none of them have had this problem.  I'm NOT impressed.  I've seen that others in the iPhone community have also been having this problem.  Is Apple doing anything about it?

    Read this: https://discussions.apple.com/message/17333604#17333604
    It's a yahoo issue. Nothing you can do on your phone to fix it.

  • HT5429 How long after you report a problem does it take for the fix to be picked up in maps?

    How long after you report a problem does it take for the fix to be picked up in maps? The street I live on is misspelled. It's shown as one word, but it should be two words. Maps cannot find the address when it is spelled correctly, so I have it purposely misspelled it as one word in my contacts, which helps for the most part, however it still tries to place my home on an entirely different street all together. Fortunately this new random street is at least close to where I live. When I used to spell my street correctly with two words, maps would try to send me to the next town over. So it kind of works, as long as I misspell my street, and ignore the fact that it is showing where I live to be a couple of streets down from where I actually live. I live in Connecticut - not in the most populated of areas, but not in the middle of nowhere either. Amazingly enough Google Maps will correctly find my address whether it's spelled with one words or two words. Google Maps also shows my apartment complex, which Apple Maps does not. I really wish Apple would just do a quick pass of the area to fix these issues. I’ve reported the problem several times, months ago. How long will it take for there to be a fix? I keep trying to use the Apple ecosystem, but Google is clearly the better solution for me.

    Apple does not do the GIS data for maps. That comes from 3rd party vendors like Tom Tom. I have read it takes some time to update map data. The only thing you can do is report it.
    Not to belittle your complaint, but on my end it is Apple that is clearly better. When looking at my house in Google, the satellite photo is more than 4 years old, and the Apple one is much newer. I can tell because of the condition of my home and the neighbor's. They had an above ground pool which was removed 4 years ago and it shows on the Google Map. I had remodeling and roof work done to my home that started 3 years ago and Apple's satellite view showed this work done, which took over a year to complete. I live in the middle of a block in a rural town. Both Apple and Google split the block into 100 parts and put my home close to the beginning of the block instead of where it actually sits. I've reported it to both Google and Apple and no one has changed. Just one of those things. But, keep your chin up, it will get corrected eventually.

  • Firefox.exe has encountered a problem and needs to close. We are sorry for the inconvenience. I have been using firefox for years. I installed the latest version of Firefox. It worked fine for several days. Now I get the above message each time I try to s

    firefox.exe has encountered a problem and needs to close. We are sorry for the inconvenience.
    I have been using firefox for years. I installed the latest version of Firefox. It worked fine for several days. Now I get the above message each time I try to start Firefox, even in safe mode. i have checked with latest antivirus softwere also.. i didn't find any thing suspicious.
    == This happened ==
    Every time Firefox opened
    == after loading firefox 3.6.6 ==
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4

    I was having this problem few days ago,and I have fixed.Try this steps-If you have AVG antivirus so go on firefox>Tools>Add On and Disable AVG safe search and AVG tool bars too.Then restart computer.

  • DI-Error: You cannot select batch or serial numbers for a closed row

    Hello Experts,
    I have several B1-Systems connected to R/3-Systems via B1iSN.
    In B1 for example I have 2 rows in Purchase Order. One row was closed by a goods receipt - 1 row is still open.
    From our R/3-System we send Order-Acknowledgements to B1. Because line 1 is already closed we want to ignore row 1 and update only information in row 2. By using KeyExpansion I could solve that requirement (check in B1-System if row is already closed -> insert row in IDoc only with LineNum). For example:
    <Document_Lines>
      *<row>* <!-- ignore -->
        *<LineNum>0</LineNum>*
      *</row>*
       <row> <!-- update -->
        <LineNum>1</LineNum>
        <ItemCode>ABCDEFGHIJK</ItemCode>
      </row>
    </Document_Lines>
    Unfortunately DI-API does not allow to update each row separated. I always have to send all rows in IDoc even if one row is closed.
    For one B1-Company batchnumbers on every transaction is required. When creating Goods Receipt we have to define a batchnumber for item. But now if I want to update a open row (as described above) I get an B1iSN-Error:
    DI Error: (-10) You cannot select batch or serial numbers for a closed row
    Any ideas to solve that Error? Thanks.
    Regards,
    GB

    Hi Bastian,
    I have still one open question. How to tread Document Lines Additional Expenses?
    If I use the logic of visual order I still get the error "You cannot select batch or serial numbers for a closed row".
    Example:
    <Document_LinesAdditionalExpenses> 
    -      <row>
               <LineNumber>4</LineNumber>*no expenses*
    </row>
    -      <row>
               <LineNumber>0</LineNumber>*no expenses*
    </row>
    -     <row>
               <LineNumber>1</LineNumber>*no expenses*
    </row>
    -     <row>
               <LineNumber>2</LineNumber>*no expenses*
    </row>
    -     <row>
               <LineNumber>3</LineNumber>*expenses correct*
               <ExpenseCode>3</ExpenseCode>
               <LineTotal>10.00</LineTotal>
    </row>
    </Document_LinesAdditionalExpenses> 
    How can I solve that?
    Thanks and regards,
    GB

  • Firefox will not launch. The screen goes black for several seconds, then returns to the launcher drawer.

    Installed Fennec 4.0b2 on my Acer Liquid running Android 2.2. When I tried to launch application, the screen goes to black, with a grey bar at the top with the word "firefox" within. This screen persists for several seconds, before the returning to the previous screen.

    Thanks for the report. This is a known bug that only affects Acer Liquid phones. We're working on it, but we don't have a fix ready yet. For details, see https://bugzilla.mozilla.org/show_bug.cgi?id=606194

Maybe you are looking for