AUTONUMBER question

Hi Fellows.
I'd like to ask a question. In the Oracle Migration Reference .pdf, there is a description of how to emulate MS Access AUTONUMBER data format inside an migrated db from Access to Oracle platform using triggers.
But we found that there is no need to use any trigger for that. Inserting data either from Access or from Oracle via DBA Studio causes the AUTONUMBER value to be automatically increased.
I would like to ask what the described trigger in the .pdf file is needed for.
Thanks in advance.
Marcos Yoshiaki Ibuki

Hi Marcos,
When an Access database is migrated to Oracle using the Migration Workbench a sequence is created holding the next value in the auto-number sequence. A trigger is then used to emulate the auto-number functionality
provided by Access. No manual intervention is required for the database being migrated. The reason a description is provided in the reference is to make the user aware that the AUTONUMBER data type is not available in Oracle. The reference can be used by the database user should they be adding new tables post migration which require the AUTONUMBER functionality.
I hope this answers your question,
Could you direct any other queries to
[email protected]

Similar Messages

  • Autonumbering for task levels - EDD question

    Hello all,
    In our current unstructured documents, we have a style that handles what we call "major" steps, which are tasks that can be by themselves or most often are no as they are normally in just one context. I could use <substeps> but the numbering scheme is reset, and these major steps normally involve a multitude of steps, not just one or two token sub-steps. Our major step is formatted like a heading, and there is a prefix of Step1 and StepN. We curently handle this using the Autonumber format in the paragraph designer (in our unstructured environ). In our structured DITA environment, I would like to retain that style since it is very popular with our users.
    I am thinking that a change in the EDD is all I need as I could change the autonumber format based on a context. My question is, can I use a combination of {first}, etc ..rules with the ELEMENT < ELEMENT rule? My structure example appears below:
    <task>
         <title>
         <shortdesc>
         <task>
    With that second-level <task> being the MAJOR step. The highest level task is the MAIN user task, and would only required a <title> and <shortdesc>.
    The Context rule "task < task" works for the first major step, but I need to handle the subsequent najor steps.
    Any help or even an alternate way to handle this is greatly appreciated.
    Thanks much
    Tom

    Tom,
      Sorry my response did not make it through. Thanks for letting me know. Here is what I wrote:
    My question is, can I use a combination of {first}, etc ..rules with the ELEMENT < ELEMENT rule?
    Tom,
      Yes, you can combine sibling and ancestor specifications. For example:
       x{first}
    tests whether the current element is a child of an x that itself is the first child of its parent.
       {first} < x
    tests whether the current element is the first child of an x. You can repeat the sibling specification after each ancestor listed:
       x{first} < y{first}
    tests whether the current element is a child of of an x that is the first child of a y that is the first child of its parent. You can include wildcards in the ancestor chains, but you cannot test siblings of a wildcard:
       x{first} < * < y{first}
    tests whether the current element is a child of an x that is the first child of its parent and that has an ancestor named y that is the first child of its parent. The y can be a more remote ancestor than the parent of the x. However:
       x < *{first} < y
    does not work.
    The Context rule "task < task" works for the first major step, but I need to handle the subsequent najor steps.
       task < task
    tests whether the current element is a child of a task that itself is the child of a task. Whether either task is first is irrelevant. One mistake that is easy to make when writing such specifications is to use
      task < task
    instead of
      task < * < task
    These expressions differ because the first one requires there to be no intervening ancestors between the two tasks while the second one permits them.
    Another easy mistake is to forget that the order of tests in a context rule is important. Suppose you
    test
    If context is: task
    Else, if context is: task < task
    Else, if context is: task < task < task
    The else-if clauses will never fire because any element that is within three levels of task elements is also within two levels of task elements and any element that is within two levels is also within one level. Thus, any context that satisfies either else-if also satisfies the if. The if is used because it is first.
            --Lynne

  • Can you change a story or text frame's index? (re autonumbering)

    Does anyone know if there is a way to change the index of a text frame or story without changing the actual visual layout of an InDesign document? So far all I can come up with is to cut the frame and repaste it into the document. You can move a story within the index list of a document, but that visually cuts and pastes the story text.
    actDoc.stories.item(1).move(LocationOptions.BEFORE, actDoc.stories.item(0));
    I can't see any method to change the index of a text frame (other than cutting and repasting).
    I want to put together some tests. I have a bunch of questions. Each question is a single story in a single text frame in an InDesign document. The text frame is linked to an InCopy document. The first paragraph of the question has a "QuestionNumber" style but the para style has no numbering. I want to have only one version of each question (the InCopy story) but to put the questions into different tests in different orders with different numbering. What I do is to create an InDesign template for the tests that has a QuestionNumber para style that includes autonumbering with the "Continue Numbers across Stories" option checked. This works beautifully and the questions are numbered in the order in which the text frames (and stories) are (via a script) copied from the question document and pasted into the test paper document. When the same question/story/textframe is used in two tests it is numbered in the order in which it is pasted into each test paper (but the original stays the same because it has no numbering).
    The next step would be to be able to reorder the question numbers within the test paper (if you wanted to, say, swap questions 18 and 20). To do that you have to change the index of the story because the autonumbering across stories seems to depend on the index of the story.
    What seems to happen is that stories are indexed in the order in which they are pasted into a document, but text frames are indexed in the opposite order. If you paste a text frame with one story into a new document, it is textframe.item(0) and story.item(0). If you then paste a second one into the document it is story.item(1) but textframe.item(0). The first text frame becomes textframe.item(1). When you cut a text frame and repaste it, it is reindexed as if you were pasting it for the first time.
    The autonumbering also seems to be segregated by page. If you have questions 1 and 2 on page 1 and questions 3 and 4 on page 2, you can move around the text frames for 1 and 2 on the page but the numbering stays the same. Likewise for 3 and 4. If you drag 3 across to page 1 it stays as 3 but if you drag question 4 across to page 1 it becomes 3, and the original question 3 on page 2 becomes question 4. It is confusing but makes sense in a weird way once you get the hang of it.
    Anyway, I have probably answered my own question and the best way to renumber the questions in a test is to run the script again and create a new document using a new question order.
    But any other ideas are welcome.
    Thanks.

    hi Brian
    which version of InDesign you have ?
    I have checked these steps on CS3 and CS4:
    first I've set ON to option in preferences to preserve links when placing
    then I've placed DOC file as AnchoredTF in new Story
    then I've copied this AnchoredTF and pasted it on page, and then I've pasted it as another AnchoredTF - each time there was new lick created to the same DOC file
    then I've set OFF to option in preferences to preserve links when placing
    and even when I again copied and pasted this AnchoredTF with placed DOC file - it still add new link on Links palette
    so maybe with InCopy stories there is next bug or next "feature" ...
    [edit]
    ok - I've checked InCopy file - after exporting TextFrame as InCopy Story
    and it's like you've said - pasting on page - new link is created - pasting as Anchored - link isn't created ... no matter if option in preferences is set or not ...
    verdict - we've found new bug
    BUT ... if you link it again - by CTRL+D method - link is preserved even if option in preferences is set to off so you can have more than one InCopy Story placed as AnchoredTF in same parent Story ...
    robin
    www.adobescripts.co.uk

  • Autonumber Format. 01, 02, 03...

    Hello ,
    Simple question;  can you format numbering in the Paragraph Design, Autonumber Format to count 01, 02, 03... 10, 11 etc.?

    bowen192 wrote:
    Hello ,
    Simple question;  can you format numbering in the Paragraph Design, Autonumber Format to count 01, 02, 03... 10, 11 etc.?
    You might be able to fake it with a new paragraph format whose numbering prefix contains the text character zero, and the number counter (placeholder) that begins at 1; use it for numbers below 10. Use a separate paragraph format whose numbering sequence begins at 10, and continues from the previous paragraph (9).
    This might take some fiddling.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Separate table title autonumbering for two named table styles?

    I believe this very same question whizzed by a few weeks ago but I'm having no luck searching for it.
    I have two named table styles.  I want the autonumbering for the table titles to be separate.  More specifically, one will autonumber as "Table t", while the other will autonumber as "Example e".
    I have redefined the autonumbering counter for the second of the two TableTitle para style, and if I apply that style while in that table's title, I get the new autonumbering.  But I can't transmit (a) selectively update the Table Title style to this format to other tables in the chapter.  By extension, I can't copy the  wonderful new table format to other chapters in the book.
    I next tried creating a new para style "ExampleTitle", then in the Table Designer trying Update All.  Nope, other tables of type example do not receive the new title style.
    This is fully-patched FM8.  The document is structured but I don't (want to) care about that -- I simply need to get the two different named table styles
    to autonumber sequentially.
    This is probably pretty easy once I learn the "trick"...(?)
    Cheers & thanks,
    Riley

    Arnis:
    Thanks.  For some reason I couldn't get my table to update, so I went through and manually create a second table title paragraph style, then manually applied that.  (I also created a second x-ref format so that I could x-ref to "Example n:" without including the colon in the x-ref, but that's another story...)
    So for now I've worked around the problem.  After I get this document out I'll revisit the issue.  (Why do I have a vague recollection that there's a known idiosyncracy where FM6+ table styles don't update properly...?)
    Cheers & thanks 'gain,
    Riley

  • AutoNumber data type

    Hello.
    First of all, I need to tell you that I am a newbie to Oracle and I am not even sure if I am at the right place...
    Here is my question anyhow.
    I am trying to convert a MS Access table to that of Oracle and was wondering what would be the equivalent data type in Oracle for "AutoNumber" data type in MS Access? I heard that I can use sequence object and trigger to do this but I am interested in knowing whether or not there is an equivalent data type for "AutoNumber" is in Oracle.
    Thanx.
    SK
    null

    No, there is no Access-equivalent autonumber in Oracle. If you want automatic key generation, create an oracle Sequence and increment it using an insert trigger. Front end applications will see no difference - i.e. you add the new record, then you can read back the generated key.

  • Creating autonumber (CS3)

    Hello!
    I have had this question for ages and I have not managed to find a solution for it in InDesign. I assume, it is my ignorance.
    I need to create catalogues of items. Items are grouped. For each item should run overall ID (over the whole document) and group ID (inside the given sub-document). This should run through the whole indb document (each group is a separate indd file).
    So far I have renumbered it manually, but it means a lot of work in case of changes and also large possibility for human error.
    Can anyone guide me - how can I create such elements?
    I also looked through the scripting introduction document and found no direct solutions from there either.
    Thus - I need to create:
    Group 1 (document 1)
    1     1     Item
    2     2     Item
    n     n     Item
    Group 2 (document 2)
    n+1     1     Item
    n+2     2     Item
    n+m     m     Item
    Group x (document x)
    n+m+..+1     1     Item
    n+m+..+2     2     Item
    n+m+o         o     Item
    Thanks a lot!
    Antti

    234542f344d654165e wrote:
    Hi!
    That's what I thought..
    NR-1 changes its number, if it moves in the list of items. It is important, that I can point to that specific item by [2011-XX-1]. It is not important, if it has another number in another year.
    Basically - I give out each year 1 or more catalogues on various subjects. ID is for identifying an item within that year (edition). It is no problem, if in edition 2003 it was 103 and in 2011 it is 165.
    As those catalogues are big work for one person to compile and structurize, they need a lot of rework, before they are finished. At the same time, it is not good to leave them un-numbered until the print as then it is very hard to read the manuscript.
    So I need to change the items, but keep the numbers. And I do need to splid the idenfiers - sometimes there maybe from a-h parallel items with the same number.
    The more I try to find a solution the more I see, there is none.. Wisdoming process has not changed
    As Peter S. implied, changing a catalog item's number from one edition to another can be confusing for users who know the items by their numbers, and who receive new editions periodically. If this is your preferred method, so be it.
    As I noted earlier, a spreadsheet or database approach is probably applicable to a lesser or greater degree, at least in cases where the items and their identifiers are constant.
    I searched Google for "control break programming" without quotes; the term "control break" describes what is sometimes also known as a "cascading sort," or a "hierarchical sort." If you are familiar with some of the US-based TV police-forensic programs that feature techs filtering inconceivably-huge amounts of data to instantly identify suspects who fit a complex series of properties -  for example, three-fingered left-handed redheads violent robbers who've been paroled or released from prisons in states that don't apply salt compounds to their roads in snow season, and who were truants in middle school - you get the idea. All the fictional available databases are sorted to filter out those who fit all the categories. A full report of this kind of search is grouped by more-general properties, say non-road-salting states, then by more-and-more-specific properties within more-general properties. In reports, each property-group change is considered a control break - the controlling property group is exhausted, and another takes over. There's an example on page 19 of this document that turned up in my Google search: http://www.cerritos.edu/dmellas/cis103/chap07-mod.pdf The discussion of control-break programming in balance of the document may be more information than you need.
    It's still not clear to me how you assign your identifiers, the ones you want to keep constant through one edition only; if they're autonumbers, they will change when rearranged. You may be OK with usi the numbers automatically the first time you collect the content, but to keep them constant, you'll need to use Type > Bullets & Numbering > Convert  Numbers to Text on selected autonumbered content.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Query - compare answers to the same questions from only ID-X in first table to all ID's in second table

    Hello!
    I am designing a database for a summer exchange school. There are two main tables – Students and Host Families. I am struggling to create a command that would connect any chosen student with possible suitable host families.
    To determine, who is suitable, I created a table of 15 Yes/No questions, which are answered both by students and families. Now I would like to add a command button to the student form to create a query which would (1) search through all of the families and
    their answers and (2) compare these with the ones the chosen student gave (e.g. the student whose form is open). In the end it should (3) list all the families according to number of matching answers and also (4) show where they don’t match.
    Basically, I am completely lost here.
    Any help would be much appreciated! Thank you in advance,
    Vit

    The reason this is harder than it needs to be is because you have violated important database design rules by creating what's called a Repeating Group.
    Rather you should have a couple of tables:
    Stock list of questions:
    tblQuestions
    QuestionID autonumber PK
    QuestionText text(255) required uniqueindex
    Answers given by students:
    tblAnswers_Students
    QuestionID long int required PK
    StudentID long int required PK
    Answer yesno required default=false
    Similar for tblAnswers_GuestFamilies
    Then put the tables on the Relationships diagram, draw the relations, and in the dialog that comes up check the box to enforce the relation.
    Then see if you can figure it out with this correct database design.
    -Tom. Microsoft Access MVP

  • SQL and autoNumber problem!!! Pls help!

    Hi everyone!!
    I am very new with using SQL language to connect to a database.
    In my database, i have a certain table called 'Tourists' and the primary key of this table is TouristID. The data type of the primary key is an autoNumber.
    When i use SQL statement like
    String strDelete = "DELETE FROM Tourists WHERE TouristID="+touristID;
    With this I get an run time error :
    ****Data type mismatch in criteria expression.****
    This is because i save the variable as an Integer..
    IS there a way to save me ??? Plss helpp needed! :)
    Thanx

    Thnks just one question!!
    Is the primary key variable in Access an auto number!
    What i mean is that is the varibale type in database an auto number!
    That is my problem!! The tourist ID is an autonumber in Access!
    Below is the erorr!!
    java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression.
         at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6106)
         at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:6263)
         at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(JdbcOdbc.java:2525)
         at sun.jdbc.odbc.JdbcOdbcStatement.execute(JdbcOdbcStatement.java:337)
         at sun.jdbc.odbc.JdbcOdbcStatement.executeQuery(JdbcOdbcStatement.java:252)
         at TouristRegistrationGUI.deleteRecord(TouristRegistrationGUI.java:500)
         at TouristRegistrationGUI.buttonClicked(TouristRegistrationGUI.java:217)
         at BreezySwing.GBDialogButtonListener.actionPerformed(GBDialog.java:459)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:258)
         at java.awt.Component.processMouseEvent(Component.java:5021)
         at java.awt.Component.processEvent(Component.java:4818)
         at java.awt.Container.processEvent(Container.java:1380)
         at java.awt.Component.dispatchEventImpl(Component.java:3526)
         at java.awt.Container.dispatchEventImpl(Container.java:1437)
         at java.awt.Component.dispatchEvent(Component.java:3367)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
         at java.awt.Container.dispatchEventImpl(Container.java:1423)
         at java.awt.Window.dispatchEventImpl(Window.java:1566)
         at java.awt.Component.dispatchEvent(Component.java:3367)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:134)
         at java.awt.Dialog.show(Dialog.java:524)
         at ExoticToursGUI.buttonClicked(ExoticToursGUI.java:186)
         at BreezySwing.GBFrameButtonListener.actionPerformed(GBFrame.java:518)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:258)
         at java.awt.Component.processMouseEvent(Component.java:5021)
         at java.awt.Component.processEvent(Component.java:4818)
         at java.awt.Container.processEvent(Container.java:1380)
         at java.awt.Component.dispatchEventImpl(Component.java:3526)
         at java.awt.Container.dispatchEventImpl(Container.java:1437)
         at java.awt.Component.dispatchEvent(Component.java:3367)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
         at java.awt.Container.dispatchEventImpl(Container.java:1423)
         at java.awt.Window.dispatchEventImpl(Window.java:1566)
         at java.awt.Component.dispatchEvent(Component.java:3367)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

  • Removing Autonumbering when importing Word Documents

    I am attempting to import a Word document into RoboHelp8 for HTML Help and want to eliminate the numbers used in the Word Heading styles as well as the numbers imported as text in numbered lists.  I am much more familiar with the import of FrameMaker files--for which there is an "Ignore autonumbering" option in the style conversion settings.  As for Word documents, do I have to manually remove the numbers and fix the formatting in each and every generated topic?  I'm sure it must be easier than this--am I doing something wrong?  
    ~Kim

    Hi again
    Perhaps I'm mistaken. I replied to a Kim on the HATT (Help Authoring Tools and Techniques) list on the same issue. As the question seemed the same and someone named Kim asked, I assumed it was you!
    Probably wasn't if you aren't sure what HATT is.
    Basically here is what I replied with there:
    In RoboHelp 8 you have new options with dealing with Word content. The whole dialog is different. Additionally, you used to only be able to
    import and you were done. Now you can establish a link between Word and RoboHelp. If Word changes, Bing! RoboHelp alerts you to that little fact. You then bring the changes in and update content.
    I'm guessing you have experimented with the different styling and pagination options. One thing that may trip you up is the way lists are
    handled. You may need to examine the conversion settings and click the Other category (no, not the other white meat... LOL) Try enabling the Convert Word List options.
    Perhaps experiment with the options and see what you get.
    Cheers... Rick
    Begin learning RoboHelp HTML 7 within the day - $24.95!
    Click here for Adobe Authorized Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • Autonumbering and variables

    I typeset text books that use section numbering in their subheadings. Previously we've worked in Framemaker and are now converting over to InDesign. In Framemaker, we would use autonumbering in the paragraph styles for the subheads. We were able to have the subhead section numbering appear in the upper corners of the page by working with Framemaker's variable settings.
    Now that we're using InDesign, we've tried to fix this problem by creating nested styles within the subheads. This doesn't seem to work when we apply the autonumbering in the paragraph styles, and only works when actual text is present.

    I'm not sure if the commercial In-Tools.com's Power Headers InDesign plug-in  can capture the auto-number of an InDesign numbered-list paragraph style, so it could be worth your investigating here: http://in-tools.com/products/plugins/power-headers/
    Note the suggestion on that page: "For more information on what can be accomplished with Power Headers, please check out the forum here."
    You can also contact the folks from the Contact Us link with your specific questions.
    And, you might want to test the downloadable trial version in your documents.
    Please post what you learn.
    And though it's truly a wish with no guarantee of being granted, consider adding your voice for the ability for running header text variables to capture list auto-numbers, with a formal feature request here: Wishform.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices
    Joel Cherney wrote:
    Yeah, this one is tough. More and more I think about revisiting Frame (I haven't used it since version 6, I think) for situations just like this. I can just guess from the treatise & answer-book structure that you're dealing with long documents and want as much of this as possible to happen without user intervention. The TOC tool and the cross-references tool both pick up numbered lists, but it seems that text variables do not. So it must be doable for InDesign CS n+1, but a feature request doesn't carry much weight, especially if you are already midstream in conversion to ID.

  • Assistance with importing FM autonumbered lists appreciated

    Hi. I have an issue whereby when I import an unstructured FM (v12) document into RH (v11) project, autonumbered lists in the FM files don't have correct numbering after the import.
    The following describes 2 import tests I've done. (In the FM doc, lists start with a paragraph that have ListNumber1 style (<n=1>) and the remaining list items have the ListNumber+ style (<n+>).)
    Import test 1:
    I configure the import for ListNumber1 and ListNumber+ paragraphs to Convert autonumber to Multilevel list.
    I leave the Robohelp Style mapping to the default ([Source]).
    Perform the import.
    RESULT: All items in the list in the output are numbered "1.".
    Import test 2:
    As in test 1, I configure the import for ListNumber1 and ListNumber+ paragraphs to Convert autonumber to Multilevel list.
    For the RoboHelp Style mapping, I map ListNumber1 and ListNumber+ to BodyLevel1 (a built-in option).
    Perform the import.
    RESULT:None of the paragraphs in the output have any numbering at all.
    Your help with this issue would be greatly appreciated.
    -Kurt Euler

    Hmmm. OK I'll try these.
    But first a dumb question: What do you mean by your second suggestion "run your FM content through a FM template first before coming over to RH". Do you mean importing the styles (paragraph, character, table, etc) of a standard FM file that I've created that has all the styles I might use in a document? This I've done, and it includes the aforementioned ListNumber1 and ListNumber+ paragraph styles. I should think these 2 styles would be all I need to set up an (importable?) autonumbered paragraphs.
    Thanks.
    -kt

  • Pre-planning autonumbering and variables

    Today's question, sorry for the length.  ;-) 
    Recap: Former user of FM 5 or 6 years ago, now using/learning FM 11 and trying to remember a very rusty/weak skillset.
    I have read what I can find on Chapter numbering and variables (FM 9 help files and a few very general blog articles), but I never used either(autonumbering or variables) more than very simplistically in the past. I am trying to design as much structure up front as this is a pilot project that will morph a lot over time. I would appreciate input on whether I am approaching this correctly or if there is a BKM somewhere on how best to design this with concrete examples that would help me with the correct syntax for variable names.
    I am formating a new school curriculum from a series (hundreds) of individual Word docs (with nightmare formatting rife with inconsistencies). Each Word doc includes (in a single file) the Lesson Plan, between 3 and 10 Objectives and then each Objective may have zero to n classroom activities and/or zero to n physical skills (P.E activities which the gym teacher may handle instead and so want to rip out a page with only those physical skills.) Already I am getting emails that say move Lesson 3 plan to be Lesson 5 and reorder Activities 1-4 thus.
    I would like to make this as easy as possible for future formatting (though the SMEs will continue writing content in Word) by using variables and autonumbering so that I can just drag files around and know that they are re-numbered correctly, but I have only minimal experience with this kind of design in FM. In order to be sure that the numbering stays consistent and I don't have to enter it every time myself, I think I need to create each of those categories pulling them out into separate documents and then contain each of those in its own "book."  So each level is actually a book because that is the only way to keep the autonumbering flowing?
    Course (book)
         Cover (document)
         Legalese (document)
         Course Intro (document)
         TOC
            Lesson Plan 1 (book)
                   Body Text (document)
                        Objective 1  (book)
                              Body Text (document)
                                  Activity 1 (document)
                                  Activity n (document)
                                   Physical Skill 1 (document)
                                   Physical Skill n (document)
                        Objective n (book)
                             Body Text (document)
                                  Activity 1 (document)
                                  Activity n (document)
                                  Physical Skill 1 (document)
                                  Physical Skill n (document)
            Lesson Plan n (book)
                  Body Text (document)
                        Objective 1  (book)
                             Body Text (document)
                                  Activity 1 (document)
                                  Activity n (document)
                                  Physical Skill 1 (document)
                                  Physical Skill n (document)
                        Objective n (book)
                             Body Text (document)
                                  Activity 1 (document)
                                  Activity n (document)
                                  Physical Skill 1 (document)
                                  Physical Skill n (document)
             Index
            Glossary
    Then I can create a Master Page for each type of book and document (embedding the graphics that repeat) and apply the autonumbering in each book and the correct name of each thing in the footer. Most (but not all) of these categories have a unique name/title, or I will give them one as I go. Can I use system variables for all of this or should I be creating local user variables in each level?  I guess what I am asking is: is there a way to describe all of this in one place or is this something I need to do in each document? That goes to the proper syntax of the variables (would that be <chaptername> in each doc?) and then I assume I can create hyperlinks or cross-references (not sure which yet) in, say, the body text of the Lesson Plan. The goal for output of this project is printed manuals, on-line digital content, Kindle books, iPad books and then a Captivate training course. FYI, I need to create a high-res version for the digital formats and a low res one for teacher who will be photocopying things like the worksheets that would be 4 color digitally but black and white for their printing purposes, so I am planning on using conditional build tags for that purpose.
    If you read all this and have time to give me some feedback and assistance, thank you very much.
    -Laurie

    I have been looking for FM books for a month now, but the little I did find seemed so ancient or poorly reviewed. I wish they had the FM11 book available that is listed in their Book dropdown, but I went ahead and bought the FM 8 pdf based on your recommendation. I will go off and read with my morning coffee for a bit and check back later to see if anyone else has some input for me.
    Thanks Jeff!

  • Forward Delete and Turning Off autonumbering

    I am a new Mac user and it is showing as I try to work on pages. I am trying to create a numbered sequence which is single spaced within a single entry but double spaced in between each entry to look like this:
    1. First topic.......................................................................... .....................................................................
    2. Second topic.......................................................................... ................................................................
    Very easy on a PC. Seemingly quite difficult with a Mac. Having read a few chartrooms maybe part of the problem is that I don't have a "del" key on my keyboard to do a forward delete. Maybe if I could just turn off the autonumbering it would work. Help!

    I am no expert but your question got me trying to accomplish what you wanted and I think I found it.
    Start a new document, let's say a blank document, go to the Text Inspector, select Lists and select numbers. Now select text from the Text Inspector and set your line spacing to 1 and your Before Paragraph to 15pt or so. Try typing your list that and I think you will see what I am talking about.
    I hope I have been of assistance.
    Adam
    PS... As far as forward deleting, just hold the fn key while using the delete key.
    Message was edited by: Adam White

  • Need help with Autonumber Format

    We are using unstructured FrameMaker 12 on a Windows 7 platform (64 bit).
    We need to number questions in an FAQs section, that includes the "Q" in bold followed by a colon that is not in bold.
    This is what the new paragraph style needs to do:
    1.[tab][bold]Q[Default ¶ Font]:[tab]What happens when XYZ?
    [tab][bold]A[Default ¶ Font]:[tab]This is what happens.
    We would like for the number and "Q:" to appear automatically and be formatted correctly with the new paragraph style, so all we have to do is type the question. (We would prefer not to use "Q##:" because it would require a unique indentation distance in the template.)
    The "A:" should also be indented and formatted correctly.
    Both the "Q:" and the "A:" would wrap around to the same indentation for long text strings.
    Can anyone provide the "building blocks" that can make this happen?  Is this possible?
    I tried to search for the answer in this forum and on the Web. I apologize if this is answered somewhere already.
    Thanks in advance.
    Tim

    This is certainly possible! assuming I've understood the question correctly, of course …
    All you need is a pair of paragraph formats, one for the questions and one for the answers, and a character format for the labels. Set the paragraph properties so that the numbering can be outdented, and set the numbering properties to add Q (or A, depending) followed by a sequence indicator and a tab. Here's a screenshot of how I'd do it for the questions.
    And here's a bit more explanation of how the Autonumber format works its magic …
    the Q: at the very start is the series label, and the colon is an essential part of the definition. By including a series label, you can set up different series; for example to number tables and figures separately.
    after the series label, Q {space} is the text that will be included before the counter; <n+> is the building block for a numeric counter that will increment by 1; the full stop after the building block is another piece of text, and \t is a tab character.
    the character format identifies a, well, character format that is applied to anything generated by the autonumbering; the format I've used just happens to be set to light grey.
    This already gives an idea of how elegant FM numbering can be. Icing on the cake in this case is that thanks to the series label you can also display the current value of the counter for the answer. The autonumber format I've used for answers is Q:A <n>.\t
    the Q: is the same series label
    A{space} is the text, and <n> is the building block for 'current value of counter identified by this series label'
    If your document simply alternates single-paragraph questions and single-paragraph answers, you can save yourself time by using the Next Paragraph Tag option to follow questions by answers and vice versa. You'll be amazed by how quickly you'll have your Q&A ready :-}

Maybe you are looking for