THE WELCH COMPANY
440 Davis Court #1602
San Francisco, CA 94111-2496
415 781 5700
rodwelch@pacbell.net


S U M M A R Y


DIARY: April 22, 2005 08:49 AM Friday; Rod Welch

SDS Contacts improved with changes to menu system for faster access.

1...Summary/Objective
2...000003 Menu Access for Contacts Eliminate 4 Char and Case Limitations
3...047041 Contact Locate in Summary Long Strings in Correct Case


..............
Click here to comment!

CONTACTS 

SUBJECTS
Menu Access Contacts Improved Eliminate 4 Char Limitation Provides G

0503 -
0503 -    ..
0504 - Summary/Objective
0505 -
050501 - Follow up ref SDS 5 0000, ref SDS 4 7K6I.
050502 -
050503 - Improve method of entering specifications into the menu bar for
050504 - opening a Contact record.  This eliminates the limitation of entering
050505 - a maximum of only four (4) characters, and eliminates former
050506 - requirements for specifying only lower case letters.
050507 -
050508 -     [On 050427 submitted update to Gary, and notified of improvements
050509 -     to contacts system. ref SDS 6 TZ6F
050511 -      ..
050512 -     [On 050618 reduced keystrokes and cognitive overhead to capture
050513 -     and enter replication with F3. ref SDS 8 5I7M
050514 -
050515 -
050516 -
050518 -  ..
0506 -
0507 -
0508 - Planning
0509 -
050901 - Opening Contact records through the menu has been limited to entering
050902 - a maximum of four (4) characters.  It has also required entering all
050903 - lower case.  This has been effective for 20 years, because the
050904 - limitations are easy to accomodate, and do not impact performance a
050905 - great deal.  Expanding the audience to more than a few users will
050906 - result in people entering longer strings, and using upper case for the
050907 - first char, and then lower case in some cases, because that is a
050908 - standard format commonly used.  This has minimal impact on
050909 - productivity, but may broaden the base of users who can learn SDS, so
050910 - list in the record of improvements on 000824. ref SDS 3 ME6L
050912 -  ..
050913 - Today, will change the menu to accept a longer string, and accept
050914 - uppoer and lower case, so that users will not get a blank.
050915 -
050916 -
050917 -
050918 -
050919 -
0510 -

SUBJECTS
Contacts User Enter Full Partial String Lower Upper Case in  enu Bar

0803 -
080401 -  ..
080402 - 000003 Menu Access for Contacts Eliminate 4 Char and Case Limitations
080403 -
080404 - Follow up ref SDS 2 5924, ref SDS 1 9044.
080405 -
080406 - Line 60, ref OF 2 OK7H, -entry 79 in 00003 about 40 lines below
080407 -
080408 -    -if @5 > 32 -goto lpdw1
080409 -
080410 -        Found today that somehow this command was linked to a redundant
080411 -        label, so changed to a single, and eliminated the redudancy.
080412 -
080414 -  ..
080415 - Line 120, ref OF 2 ON6O, -label lpdw1 in 00003
080416 -
080417 -    -label lpdw1
080418 -
080419 -        Eliminated redundant label at this location.
080420 -
080421 -
080423 -  ..
080424 - Line 640, ref OF 2 4W4O, -label stcur2 in 000003
080425 -
080426 -    This location had code for the user to enter a string in the menu
080427 -    bar for File that called 06115 which is a keyword locator that was
080428 -    developed originally for the SDS Schedule.  Subsequently this was
080429 -    incorporated into a general keyword locator using macro 06114 and
080430 -    called in the Tools menu of the Editor.
080432 -     ..
080433 -    Today, deleted...
080434 -
080435 -                   c: sd 03 06115
080436 -                   c: 01 04 061150
080438 -     ..
080439 -    Removed the compiled code in 000003
080440 -
080441 -
080443 -  ..
080444 - Line 650, ref OF 2 247I, -label stcur2 in 000003 about 30 lines below
080445 -
080446 -        Streamlined code to permit entering a string of any length for
080447 -        finding a Contact in the database.
080448 -
080449 -
080451 -  ..
080452 - Line 710, ref OF 2 IB5M, -label mbecT in 000003 about 20 lines below
080453 -
080454 -    -if @180 = 67 -if @181 = 111 -if @182 = 110 -if @183 = 116 -goto mbcnT
080455 -    -goto cnMu2
080456 -    -label mbcnT
080457 -    -if @184 = 97 -if @185 = 99 -if @186 = 116 -if @187 = 115 -goto diary9
080458 -    -label cnMu2
080459 -
080460 -        Changed this code to check for the full string "Contacts" so
080461 -        that there can be an organization beginning with the string
080462 -        Cont, such as Contract Engineers, Contra Costa Windows, etc.
080464 -         ..
080465 -        Eliminated transferring the counter values for the string
080466 -        entered by the User into counters 175, 177, 178 and 179,
080467 -        because the revised code will use the values captured by macro
080468 -        1182 in couners 180+ called under macro 817. ref OF 2 PJ9N
080469 -        Nothing was gained by this transfer, except it limited the
080470 -        string to 4 char and today, this is eliminated.
080472 -         ..
080473 -        Now users can enter a string that extends across menus, for
080474 -        example...
080476 -  ..
080477 - The Editor menu, opened with Shift F10 or right clicking anywhere on
080478 - the screen, looks like...
080479 -
080480 -           File  Edit  Contacts  Print  Tools  Macros  HTML
080482 -  ..
080483 - A user can now enter by typing over Contacts as follows...
080485 -            ..
080486 -           File  Edit  boeing, seatÛnt  Tools  Macros  HTML
080487 -
080488 - ...when the User presses Enter with the cursor at the end of "seat,"
080489 - the code will find in the Contacts Summary...
080490 -
080491 -                   Boeing, Seattle
080492 -
080493 - ...rather than Boeing, Huntington Beach, or Boeing, Chicago.
080495 -  ..
080496 - Similarly, if a person's name is entered in the menu for searching the
080497 - organization contact database from an SDS record where the menu
080498 - shows...
080499 -
080500 -     File  Edit  Contacts  Diary  Subjects  Manage  Reports  Documents  Tools
080501 -
080502 - ...it would look like this...
080503 -
080504 -     File  Edit  Williams, AngelaÛSubjects  Manage  Reports  Documents  Tools
080505 -
080506 - ...when the User presses Enter with the cursor at the end of "gela,"
080507 - the code will find in the Contacts Summary...
080508 -
080509 -                   Angela Williams
080510 -
080511 - ...rather than Tom, Fred, Mary, or Janice Williams.
080513 -  ..
080514 - Note that this dual and multiple string feature is not yet available
080515 - for personal contacts.  To look for Rod Welch, enter....
080516 -
080517 -                     welch
080518 -                     Welch
080519 -                     WELCH
080520 -
080521 - ...and this will find the top of the list of Welch, where Rod can be
080522 - found visualy in the list.
080524 -  ..
080525 - However, entering...
080526 -
080527 -                     welch, rod
080528 -
080529 - ...or any combination of multiple strings is not yet supported.
080530 -
080532 -  ..
080533 - Line 780, ref OF 2 2L9G, -entry 817 in 000003 about 40 likes below
080534 -
080535 -    loc_cur 0 @6
080536 -    setcnt 266 0
080537 -    -if @131 = 32 setcnt 266 9996
080538 -    macro 53
080539 -    setcnt 266 0
080540 -    loc_cur 0 @6
080541 -    setcnt 86 180
080542 -    macro 1182
080543 -
080544 -        Added code to set all characters to upper case when processing
080545 -        organization contacts, and to lower case when processing an
080546 -        individual contact record. -if @131 = 32 setcnt 266 9996 means
080547 -        a character was not entered by the user in front of Contacts,
080548 -        so this is processing an organization record, and in that case,
080549 -        setcnt 9996 causes macro 53 to convert whatever string the user
080550 -        entered to all capitals, which is the format of the
080551 -        organization contact summary.  Otherwise, if 131 is not 32,
080552 -        then the user started the specification in front of Contacts,
080553 -        and this is an individual contact record.  macro 53 converts to
080554 -        either upper case for 131 = 32 or to lower caser for 131 = to
080555 -        something other than a space.  macro 1182 captures the full
080556 -        length of what the user entered.
080557 -
080558 -           [On 050522 added a conditional to macro 53 so that only
080559 -           Contact specifications are converted to lower case, and no
080560 -           diary search specifications. ref SDS 7 IS52
080561 -
080562 -
080564 -  ..
080565 - Line 1250, ref OF 2 1D5I, -label Jelp in 000003
080566 -
080567 -
080568 -
080569 -
080570 -
080571 -
080572 -
080573 -
080574 -
080575 -
080576 -
080578 -  ..
080579 - 047041 Contact Locate in Summary Long Strings in Correct Case
080580 -
080582 -  ..
080583 - Line 320, ref OF 1 6090, -label 5r3 in 047041 about 50 lines below
080584 -
080585 -    -if @180 > 90 subcnt 180 32
080586 -    setgbl 180 @180
080587 -    setcnt 177 @180
080588 -
080589 -        Added code to use counters captured by macro 817 in 000003 with
080590 -        macro 1182, and eliminated using transferred counters that
080591 -        previously limited specification to 4 characters, per above.
080592 -        ref SDS 0 OO8G  -if @180 > 90 means the code in macro 817 ran
080593 -        macro 53 to convert everything to lower case, because the user
080594 -        is searching the personal contacts database, rather than the
080595 -        organization contacts database.  In that case, subcnt 180 32
080596 -        changes the first char to upper case, because that is the way
080597 -        names are entered in the Personal Contacts database.  setcnt
080598 -        177 @180 prepares to open the database for the letter that
080599 -        contains the target contact name.
080600 -
080602 -  ..
080603 - Line 590, ref OF 1 FY9L, -label Blnk in 047041
080604 -
080605 -    -label Blnk</A></B>
080606 -    e c:\sd\03\047041
080607 -    getgbl 181 181
080608 -    -if @181 = 0 -goto no_spec
080609 -    line........................ && *e4
080610 -    loc_cur 5 4
080611 -    setcnt 86 180
080612 -    macro 1181
080613 -    setcnt 1 @100
080614 -    subcnt 1 180
080615 -    addcnt 1 1
080616 -    ic 47
080617 -    loc_cur 4 8
080618 -    inscnt 1 0
080619 -    ic 32
080620 -    ic 32
080621 -
080622 -        Changed this code to eliminate counters 175, 178, and 179,
080623 -        which previously limited the user specification to 4
080624 -        characters.  Changed code to enter the specification using
080625 -        macro 1181 beginning with counters 180, developed today, per
080626 -        above. ref SDS 0 OO8G  Use value in counter 100 that stores
080627 -        the total number of characters in the string, and do some math
080628 -        to enter the ending zone parameter for the search command.
080629 -
080630 -
080631 -
080632 -
080633 -
080634 -
080635 -
080636 -
080637 -
080638 -
080639 -
080640 -
080641 -
080642 -
080643 -
080644 -
080645 -
080646 -
080647 -
080648 -
080649 -
080650 -
080651 -
080652 -
080653 -
080654 -
080655 -
080656 -
080657 -
080658 -
080659 -
080660 -
080661 -
080662 -
080663 -
080664 -
080665 -
080666 -
080667 -
080668 -
080669 -
080670 -
080671 -
080672 -
080673 -
080674 -
080675 -
080676 -
080677 -
080678 -
080679 -
080680 -
080681 -
080682 -
080683 -
080684 -
080685 -
080686 -
080687 -
080688 -
080689 -
080690 -
080691 -
080692 -
080693 -
080694 -
080695 -
080696 -
080697 -
080698 -
080699 -
080700 -
080701 -
080702 -
080703 -
080704 -
080705 -
080706 -
080707 -
080708 -
080709 -
080710 -
080711 -
080712 -
080713 -
0808 -