[Date Prev][Date Next]
[Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[New search]
Subject: Re: Autonumbering sheet X of Y
From: lsmalley@xxxxxxxxxxxxxxxx (Lester C. Smalley)
Date: Fri, 21 Apr 2000 11:39:27 -0400
Cc: framers@xxxxxxxxxxxxxx, framers@xxxxxxxxx
Sender: owner-framers@xxxxxxxxx
John - <snip> What I'd like to do is add an autonumber to the heading row on each so that it will read "Sheet X of Y", where X is a number incremented each time by 1 and Y is the number of the last table in the series. </snip> Sorry to break the bad news, but this is not what the "TableSheet" variable is intended to do -- its purpose is to number the pages (sheets) of a (lengthy) single table. Which, as you point out, you prefer not to resort to the subterfuge of faking the appearance of multiple tables in a single large table with special rulings. If your tables are numbered (as in, they have a "table title" and whatever paragraph format has an autonumber value), you can do this semi-automatically by using cross-references. You would create a pair of cross-reference formats, the first one to extract the number of the current table (the X part of your request) and a second to get the number of the last table (the Y part). For example, something like: XRef ThisTable: "Sheet <$paranumonly>" XRef LastTable: " of <$paranumonly>" Of course, you can do this with only one XRef format, you would just have to enter the fixed text manually. You will need to add XREFs to heading rows as you desire, pointing to the appropriate table title paragraph when you insert the references. Now, here is the 'semi-automatic' part -- this will work fine as long as you don't add a new "LAST" table. If you do, you will need to go back to each table and update the references so they point to the last table. This is actualy the reason I suggested using two different XRef formats - at least, you'll be able to use the FIND tool to jump to them directly by searching on the XRef format name. -- Lester ---------------------------------------------------------------- Lester C. Smalley | email: LSmalley@Infocon.com Information Consultants, Inc. | phone: (302) 239-2942 Hockessin, DE USA 19707-0310 | fax: (302) 239-1712 ---------------------------------+------------------------------ * Adobe Certified Expert -- FrameMaker and FrameMaker+SGML * INFOCON is an ADOBE Solution Sales Provider offering hardware and software focused on integrated office solutions for productivity. ---------------------------------------------------------------- http://www.infocon.com/ ** To unsubscribe, send a message to majordomo@omsys.com ** ** with "unsubscribe framers" (no quotes) in the body. **