* ************************** DNSRCHHL COMMAND FILE ************************* * * dNAMES 1.1 * (c) Copyright 1982 Data Based Solutions * All Rights Reserved * **************************************************************************** ERASE SET inte OFF @ 00,0 SAY "The following are a few examples of what and how " +; "you can describe records" @ 01,0 SAY "you are looking for." SET inte ON @ 02,0 SAY "What you need to input works on the same principle " +; "as the LOCATE FOR " @ 03,0 SAY " (see your dBASE II manual for more details). " +; "The fields " @ 04,0 SAY "you are permitted to LOCATE FOR are:" @ 05,3 SAY "NAME=record name CL=classification DATE=date " +; "entered CODE=added code" @ 06,5 SAY "NOTE: The ZIP, UPDATE (which is the last date " +; "edited), and letter" @ 07,5 SAY "ranges can be entered when prompted later by dNAMES." SET inte OFF @ 08,0 SAY "Here are a few examples (you can use any combination " +; "of these):" SET inte ON @ 09,4 SAY "'*John'$NAME - Would look for records with 'John' as " +; "first name." @ 10,9 SAY "'01'$CL - Would look for a classification " +; "number of '01'." @ 11,3 SAY "DATE='010182' - Would look for an entry date of " +; "'01-01-82' (MM-DD-YY)." @ 12,7 SAY "'OK'$CODE - Would look for 'OK' in the CODE field." @ 13,10 SAY "#>=550 - Would only find records starting with " +; "record number 550." @ 14,1 SAY "$(CODE,2,1)='M' - Would look for records that were " +; "tagged for transfer." @ 15,15 SAY "* - Would look for records that are deleted." SET inte OFF @ 16,0 SAY "The above examples can be tied together by using " +; "dBASE II operators such as:" @ 17,0 SAY ".AND. .OR. .NOT. For example you might enter:" SET inte ON @ 18,7 SAY "'01'$CL.AND..NOT.'23'$CL.AND.DATE='010182'.AND..NOT.*" @ 19,3 SAY "OR: '*John'$NAME.AND.$(CODE,2,1)='M'" @ 20,3 SAY "OR: '05'$CL.OR.'09'$CL.OR.'34'$CL.AND.$(CODE,2,1)#'M'" @ 21,0 SAY "See your dBASE II manual for more examples. " SET inte OFF @ 23,25 SAY "PRESS ANY KEY TO RETURN " SET inte ON SET cons OFF WAIT SET cons ON STORE t TO showit RETURN