Results 1 to 3 of 3
  1. #1
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Index table Identifiers

    From the Word97SR2 help files "Index":

    f "Identifier " Creates an index using only the specified entry type. The index generated by { INDEX f "a" } includes only entries marked with XE fields such as { XE "Selecting Text" f "a" }. The default entry type is "I".


    From the Word97SR2 help files "XE":

    f "Type " Defines an entry type. The entry for the field { XE "Selecting Text" f "a" } is included only in an index inserted by the field { INDEX f "a" }. The default entry type is "i."


    I am particularly fascinated by the default type.


    I have set up six {Index} fields in a document:

    {Index}
    {Index f""}
    {Index f"I"}
    {Index f"i"}
    {Index f"I."}
    {Index f"i."}


    I have set up six Index entry fields in the same document:

    {XE "aaaa"}
    {XE "bbbb" f""}
    {XE "cccc" f"I"}
    {XE "dddd" f"i"}
    {XE "eeee" f"I."}
    {XE "ffff" f"i."}

    I expected to see one and only one of each of the {XE} appear in the corresponding [Index}.

    Instead I see this:


    No identifier for this table.
    aaaa, 1


    table ""
    bbbb, 1


    Table "I"
    cccc, 1
    dddd, 1
    eeee, 1
    ffff, 1


    table "i"
    cccc, 1
    dddd, 1
    eeee, 1
    ffff, 1


    Table "I."
    cccc, 1
    dddd, 1
    eeee, 1
    ffff, 1


    Table "i."
    cccc, 1
    dddd, 1
    eeee, 1
    ffff, 1


    The non-existent and the empty string identifiers do more or less what I'd expect.

    For the rest, it seems as if ANY identifier is as good as any other.


    I attach a small document for inspection by interested parties. This is my first foray into Index table Identifiers, so it's quite possible I've done something that could only be done late on a Friday afternoon.
    Attached Files Attached Files

  2. #2
    5 Star Lounger
    Join Date
    Dec 2000
    Location
    Tallahassee, Florida, USA
    Posts
    901
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Index table Identifiers

    For field identifiers, the quotes are only required where you have the f "". In all other instances ("i" "I" "i." and "I."), you may remove the quotes as Word only recognizes the first character, digit, special character and is not case sensitive. Thus, you may use "f a" "f b"

    <img src=/S/tongue.gif border=0 alt=tongue width=15 height=15>This will, needless to say, limit your options.
    Karen

  3. #3
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Index table Identifiers

    This is actually good news. Instead of maintaining a string array of {Index} table identifiers I now only maintain a simple string, appending letters as I go. Determining if a table has been referenced is an INSTR call. Lovely!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •