How to auto-number, but repeat each number 8 times?

I have a customer who has a 8 page customer service form they be using to fill out.
They want 2,000 of these 8 page forms numbered 000001 to 002000.
The twist is, they want all 8 pages to have the same number, before it advances to the next number. I know how to use auto-numbering in InDesign, but obviously it assumes the very next page (or frame) is the next number. I need it to repeat 8 times before going to the next number:
000001
000001
000001
000001
000001
000001
000001
000001
000002
000002
000002
000002
000002
000002
000002
000002
000003 etc.
Anyone know how to do this?

[email protected] wrote:<br />> Gee, what about scripting it?<br />>   <br /><br />Oh. Okay, since you twisted my arm... ;)<br /><br />Give a script label "numbering" to one or more text frames on the master <br />page, and run this script:<br /><br />//DESCRIPTION: Creates repeated numbers in text frames with the script <br />label "numbering". (written by Harbs -- www.in-tools.com)<br />var kAppVersion =parseFloat(app.version);<br />if(kAppVersion<5){var offsetIncrease=0}<br />else{var offsetIncrease=1}<br />var doc=app.documents[0];<br />var pages=doc.pages.everyItem().getElements();<br />RenumberPages(pages);<br />function RenumberPages(pages){<br />    var err;<br />    var increment=prompt ("How many times would you like to repeat page <br />numbers?", "8");<br />    if(!increment){return}<br />    increment=parseInt(increment);<br />    if(isNaN(increment)){return}<br />    for(var i=0;i<pages.length;i++){<br />        var page =pages[i];<br />        var frames=page.textFrames.item("numbering");<br />        if(IsValid(frames)){<br />            if(!(frames instanceof Array)){frames=[frames]}<br />            for(var j=0;j<frames.length;j++){<br />                frames[j].contents= String(Math.ceil( <br />(page.documentOffset+offsetIncrease)/increment) );<br />                }<br />            continue;<br />            }<br />        var master=pages[i].appliedMaster;<br />        var frames=master.textFrames.item("numbering");<br />        if(IsValid(frames)){<br />            frames=frames.getElements();<br />            }<br />        else {return}<br />        for(var j=0;j<frames.length;j++){<br />            if(frames[j].parent.side==page.side){<br />                try{<br />                    var newFrame=frames[j].override(page);<br />                    newFrame.contents= String(Math.ceil( <br />(page.documentOffset+offsetIncrease)/increment) );<br />                    }<br />                catch(err){}<br />                }<br />            }<br />        }<br />    }<br />function IsValid(obj){<br />    var err;<br />    if(kAppVersion>=6){<br />        try{return obj.isValid}<br />        catch(err){return false}<br />        }<br />    try{<br />        var test = obj.parent;<br />        return true;<br />        }<br />    catch(err){return false;}<br />    }<br /><br />-- <br />Harbs<br />http://www.in-tools.com

Similar Messages

  • How to auto number existing chapters?

    I have chapters and a TOC already created in Pages.  Some of the chapter titles were copy/paste so that they have the same chapter number (but I changed the chapter sub head).  My TOC looks like this:
    Chapter 1      4
    xxx
    Chapter 2      15
    xxx
    Chapter 2      24
    xxx
    Chapter 2       37
    xxx
    I did go into Inspector > Text > List > Numbers but that ends up looking like this:
    1. Chapter 1      4
    xxx
    2. Chapter 2      15
    xxx
    3. Chapter 2      24
    xxx
    4. Chapter 2       37
    xxx
    Is there a way to get the auto number in front of the word "Chapter"?
    Also, will this update the chapter numbers inside the document?

    Ok.
    While you're here, how do I make my TOC titles clickable?  Seems like this was working earlier but not they don't bring me to the title within the document.

  • How to limit number of time website appears to once in "most visited"?

    Please help. I tried to adjust settings somewhere or tuther and have ended ended up with "Most Visited" list gathering my website visits at 19 to the dozen. Could you please advise how I could set "Most Visited" list so that each visited website will only get listed once?

    See the solution to this question, but change the number of max results to the one you want:
    *[https://support.mozilla.org/en-US/questions/957018]

  • How to show number of times as output?

    i have a table books_issue_details. I would like to show as output
    books table:
    book_id,book_name,author_name,etc..
    book_issue_details
    columns book_id,issue_id,student_id,issue_date
    output:
    title 1 has been issued o times
    title 2 has been issued 4 times

    Use outer join:
    with books as (
                   select 1 book_id,'A' book_name from dual union all
                   select 2,'B' from dual
         book_issue_detail as (
                               select 2 book_id,99 student_id from dual
    select  'Title ' || t1.book_name || ' has been issued ' || count(t2.book_id) || ' times.' cnt
      from      books t1
            left join
                book_issue_detail t2
              on t2.book_id = t1.book_id
      group by t1.book_id,
               t1.book_name
    CNT
    Title A has been issued 0 times.
    Title B has been issued 1 times.
    SQL> SY.

  • How to auto-generate a "empno" field at run time in oracle forms 6i

    Hello!
    I have connected to a SCOTT schema. And i am using emp table. At run time mode when i press F8 then the data is displayed in the fields.
    My task is to generate auto "empno" as soon as i run the form. Kindly do the needful.
    Thanks in advance

    Hi Francios,
    I think with your solution our user only able to see the current information in the form.I donot think it will auto generate the empno.
    Dear user,
    I suggest what you can do is to create one sequence in your database and use it to generate automatic
    empno.
    In post query trigger try to implement the idea.
    Suppose in the name of the sequence is empno_seq.
    if emp.empno is null then
    :emp.empno := empno_seq+1;
    end if;
    Try i hope it will work
    Regards
    Rajat

  • I keep on losing my tabs and i am getting seriously frustrating as i need them to open each and every time i open firefox 4, i have tabs mix plus. why does this keep on happening? please help as i am a student and i need help with this..

    i have now installed too many tabs 1.3.3 to see if that will fix problem.
    but yes each and every time i use firefox, not googlechrome, or ie or opera but only firefox 4 and having used tabs mix plus before i never had a problem.
    but now with firefox beta and now the full release, the issue is still arising. evrytime i open firefox i close my eyes and wait for it to load... and load... when it does open, i open my eyes and lo and behold my tabs are gone.
    thats it please help guys, i love firefox for many reasons i dont want to use opera.
    regards
    ehtisham

    '''[https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/ Adblock Plus]''' {web link}
    Blocks annoying video ads on YouTube, Facebook ads, banners
    and much more. Adblock Plus blocks all annoying ads, and
    supports websites by not blocking unobtrusive ads by default (configurable).
    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/viruses/disinfection/5350 Anti-Rootkit Utility - TDSSKiller]
    * [http://general-changelog-team.fr/en/downloads/viewdownload/20-outils-de-xplode/2-adwcleaner AdwCleaner] (for more info, see this [http://www.bleepingcomputer.com/download/adwcleaner/ alternate AdwCleaner download page])
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • I get each email 3 times

    I have just set up my iphone.
    I am receiving my emails from my outlook account, but get each email 3 times?

    Sorry - I changed this message once I saw that you were trying to sign onto iCloud.com....
    Go into Safari and under Safari (top menu) Preferences>Privacy click on the "Details" button next to Cookies and other Website data. Scroll down the list until you find iCloud.com, select it, and then click on Remove.
    Reboot your Mac, then go to iCloud.com and try to sign in again. Be sure to type in the password - don't let it prefill.
    Cheers,
    GB

  • How to file auto number in save for web ?

    Hi All,
    how to file auto number in save for web ?
    I have make an action script in Photoshop cs5 that
    change the image resolution and SaveForWeb...
    (but at this point user need to supply the file name)
    so, How to write the code/action such that when the
    action button is click the image will save into the file
    file2eMail_001,file2eMail_002,file2eMail_003,file2eMail_004
    or to any unused number ?
    thank for any help!

    You could also ask over in the Photoshop Scripting Forum, I’m pretty certain stuff like progressively numbered copies has been addressed there previously.

  • How do I create and header on the left and auto number pages on the top right? I can't rearrange my document by making page 10 page 5 and so forth

    I've just completed my school report however I seem to be having difficulty with creating a header. I've managed to create the header for all pages in my document by however I also need to use APA style and insert page number on the top right hand corner of each page. I've chosen to auto number them and clicked on INSERT --AuTO PAGE NUMBERS however if I need to make changes to the page numbers, each change i make repeats on every page. Please help.
    I also can't seem to rearrange my document. It's 10 pages long and i want to make page 10 page 1. I thought I could click on that page and drag it into page 1 position like in Keynote however it's not offering me that option. when i click on page 10 in my page thumbnails, all of my pages are highlighted yellow instead of that 1 particular page. what am I doing wrong? someone please help

    You can chose to make left and right headers different in:
    Inspector > Layout > Section
    To move material the best solution is always to copy and paste the content where you want it. You can move sections however so:
    click at end of page 9 > Menu > Insert > Section Break
    You will then have a separate yellow border around the page 10 thumbnail and can drag it to the beginning.
    Peter

  • How to add Auto-Number column

    I want my PK column to be an Auto-Number field? Preferably like a number(10) col that has a seed of 1 and increments by 1, no cryptic guid #.
    Also, how do I insert an explicit value into the Auto-Number field?
    e.g. - preserving the ID column value of 1:
    insert into mytable (ID, Name)
    values (1, 'Chris')
    Thanks in advance
    Chris

    You would have to use a sequence in combination with a before insert trigger.
    In that trigger you will get the next value from the sequence and insert it into the correct field.
    If you need the generated number in an other insert (e.g. parent-child tables), you can use the returning clause.
    Technicly it is possible to insert a explicit value (in the trigger you would check if there is a value given for that field), but it would be bad practice if it concerned an key field.
    greetings
    Freek D
    I want my PK column to be an Auto-Number field? Preferably like a number(10) col that has a seed of 1 and increments by 1, no cryptic guid #.
    Also, how do I insert an explicit value into the Auto-Number field?
    e.g. - preserving the ID column value of 1:
    insert into mytable (ID, Name)
    values (1, 'Chris')
    Thanks in advance
    Chris

  • How to auto increment a NUMBER(10) datatype

    Anyone know the syntax on how to auto increment a number field every time a new row comes in?
    TIA
    CREATE TABLE loc_color_group_values(
         ID number(10) NOT NULL auto_increment, <----------------
         COLOR_CODE_ID number(10) default 0,
         PROD_LOC_ID number(10) default 0,
         COLOR_GROUP_CODE_ID number(10) default 0,
         PRIMARY KEY(ID)
    );

    Here is an example:
    CREATE OR REPLACE TRIGGER "EXAMPLE_TRIG" BEFORE
    INSERT ON "loc_color_group_values" FOR EACH ROW BEGIN
      IF :NEW.id IS NULL THEN
        SELECT loc_color_group_values_seq.nextval INTO :NEW.id FROM dual ;
      END IF;
    END ;This allows you to overide the sequence without having to disable the trigger.

  • Portal Master-detail form how to auto assign detail record sequence number

    Portal Master-detail form how to auto assign detail record sequence number.Please help me?

    You can just read the following section
    Can I specify a sequence number generator as the default value for a form column?
    Yes. Enter the following in the "default value" field for the column:
    #<schema name>.<sequence name>.nextval
    where <schema name> is the name of the schema containing the sequence, and <sequence name> is the name of the sequence. The entry is preceded by a "#".
    For example, if the schema name is "SCOTT", and the sequence name is "CUSTOMER_SEQ", the default value entry is:
    #SCOTT.CUSTOMER_SEQ.NEXTVAL
    same way you can do for master - detail form.
    for more information on forms please refer the following URL.
    http://otn.oracle.com/products/iportal/htdocs/portal_faq.htm#BuildingApplications
    hope it helps.

  • I have a Windows copy of Photoshop Elements 11, but the serial number has been lost. I didn't buy the product and I am unable to find the box. As far as I know, it's never been used so has not been registered. Does anyone know how the serial number can be

    I have a Windows copy of Photoshop Elements 11, but the serial number has been lost. I didn't buy the product and I am unable to find the box. As far as I know, it's never been used so has not been registered. Does anyone know how the serial number can be recovered under these circumstances?

    If you never bought the product then you cannot get the serial number.

  • "I am constantly getting a message which says Itunes cannot run because some of it's required files are missing.  Please reinstall iTunes."  I've reinstalled a number of times and re-booted but it only seems to last a short time.  How do I fix it?

    I am constantly getting a message which says "iTunes cannot run because some of it's required files are missing.  Please reinstall iTunes."  I've reinstalled a number of times and re-booted but it only seems to last a short time.  How do I fix it?

    HI daddio,
    Ok some things first I need to know...Did you use Microsoft cleanup utility to clean up all those uninstalls you have done?
    I hate Norton and anyone who reads my posts will know that. I have seen way too many infected PC's by Norton users. Did you try the EWIDO and AdAware scan? I see you said you read lots of posts. That is helping folks remove the malware in order to get iTunes and quicktime back to health.

  • How to create rownum or auto number

    Hi All,
    I got some problem in create rownum or auto number in following table condition.
    eg.
    MeasID PosID Desc
    ==== ====== ===
    P01 1 Abc
    P01 1 Cde
    P01 2 Abc
    P01 2 Efg
    P01 2 Xyz
    in select statement, I would like to make it look like:
    Num MeasID PosID Desc
    === ==== ====== ===
    1 P01 1 Abc
    2 P01 1 Cde
    1 P01 2 Abc
    2 P01 2 Efg
    3 P01 2 Xyz
    How can I create a running number and make like some short like group by PosID?

    Use analytic row_number:
    with t as (
               select 'P01' MeasID,'1' PosID,'Abc' Descr from dual union all
               select 'P01','1','Cde' from dual union all
               select 'P01','2','Abc' from dual union all
               select 'P01','2','Efg' from dual union all
               select 'P01','2','Xyz' from dual
    select  row_number() over(partition by MeasID,PosID order by Descr) num,
            MeasID,
            PosID,
            Descr
      from  t
      order by MeasID,
               PosID,
               Descr
           NUM MEA P DES
             1 P01 1 Abc
             2 P01 1 Cde
             1 P01 2 Abc
             2 P01 2 Efg
             3 P01 2 Xyz
    SQL> SY.

Maybe you are looking for