IV. DISCREPANCY CAUSED BY DHCP ENHANCEMENT TO OUTPUT ROUTINES

A. Storage of "FROM and "TO" values in DHCP Sort Templates

DHCP FileMan has made a small internal "enhancement", in that, when a Sort Template is stored, the "FROM" and "TO" values for each level of sorting are stored as entered by the user, as well as in a form internally-meaningful to FileMan. The "internally-meaningful" form is consistent with the previously-used Global structure, and therefore is consistent with CHCS FileMan. The DHCP "user versions" of the Sort values, however, are appended (with a delimiting "^" character) to the "internally-meaningful" values, in the same Global node. Thus, for example, a Sort Template (with Internal Entry Number 'N') that sorts by "DOB" from "JAN 1, 1850" to "DEC 31, 1899" would look like:

^DIBT(N,0) = TEMPLATE NAME^...

^DIBT(N,2,1) = 2^.03^DOB^

^DIBT(N,2,1,"F") = 1500100.99999^JAN 1, 1850^1/1/50

^DIBT(N,2,1,"T") = 1991231.9999^DEC 31, 1899^12/31/99

In Version 21 of DHCP FileMan, this extra information is used in the display of the FROM-TO logic that appears in Data Dictionary listings, and is also shown in a prompt to a user re-editing the Template. (Strangely, in Version 20 the "user versions" were not used for any discernible purpose at all. Note, too, the ambiguity of "1/1/50" in the example.)

Portability Effect: Requires conversion. A Sort Template containing "F" and "T" nodes that look like the above would confuse CHCS FileMan. The straightforward, automatible conversion is simply to replace any "F" and "T" nodes with their first "^"-pieces.