home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / database / pcf70b.zip / PCF1.321 / CARD next >
Text File  |  1993-06-14  |  14KB  |  322 lines

  1.  
  2. PC-FILE 7  QUICK REFERENCE CARD
  3.  
  4. * NAVIGATION KEYS
  5. Navigation keys allow you to move around the screen.
  6. ENTER      Activates the current entry; move to the next step
  7. ESC        Cancels the current operation; move back one step; abandon
  8.            changes made to current record.
  9. ALT        Toggles (switches) between the work area and the menu bar.
  10.            If you hold down ALT and press the first letter of a menu
  11.            bar option, the pull-down menu displays.
  12. HOME       Moves the cursor to the leftmost position or choice.
  13. END        Moves the cursor to the rightmost position or choice.
  14. CTRL-RT ARROW Move the cursor to first character of the next word.
  15. CTRL-LFT ARROW Move cursor to first character of the previous word.
  16. CTRL-HOME  Moves the cursor to the top-leftmost position in a memo
  17.            field or edit window
  18. CTRL-END   Moves the cursor to the bottom-rightmost position in a
  19.            memo field or edit window
  20. PGUP       Scrolls the currently visible window area up one screen.
  21. PGDN       Scrolls the currently visible window area down one screen.
  22. CTRL-PGUP  When viewing records, moves to the first field.
  23. CTRL-PGDN  When viewing records, moves to the last field
  24. TAB        Moves the cursor to the next field, button, or option.
  25. SHIFT-TAB  Moves the cursor the opposite direction of TAB.
  26. CTRL-TAB   Move to the right in a Table view, modify mode.
  27. CTRL-SHIFT-TAB Move to the left in a Table view, Modify mode.
  28. LFT ARROW  Moves the cursor one position to the left.
  29. RT ARROW   Moves the cursor the opposite direction of LFT ARROW.
  30. UP ARROW   Moves cursor up one position, field, or option.
  31. DN ARROW   Moves the cursor the opposite direction of UP ARROW.
  32.  
  33. * EDITING KEYS
  34. Editing keys allow you to modify text.
  35. BACKSPACE       Moves the cursor one position to the left, deleting the
  36.                 character in that position.
  37. DEL             Deletes the character at the cursor or selected text.
  38. CTRL-DEL        Deletes the word the cursor is currently on.
  39. INS             Toggles between insert and replace mode.
  40. SHIFT-RT ARROW  Start or extend the selection one position right.
  41. SHIFT-LT ARROW  Start or extend the selection one position left.
  42. SHIFT-UP ARROW  Starts or extends the selection up one line.
  43. SHIFT-DN ARROW  Starts or extends the selection down on line.
  44. SHIFT-END       Selects all characters to the end of the line.
  45. SHIFT-HOME      Selects all characters to the beginning of the line
  46. CTRL-SHIFT-RT ARROW  Starts or extends the selection one word right.
  47. CTRL-SHIFT-LFT ARROW Starts or extends the selection one word left.
  48. SHIFT-DEL       Delete selected text and copy to buffer.
  49. CTRL-INS        Copy selected text to buffer.
  50. SHIFT-INS       Paste text from buffer.
  51.  
  52. * HOT KEYS
  53. CTRL-A    Continue most recent search
  54. CTRL-B    Blank from cursor to end of field
  55. CTRL-C    Display the calculator (Tools, Calculator)
  56. CTRL-D    Drop to DOS (Tools, Drop to Dos)
  57. CTRL-E    Expand memo field to a window
  58. CTRL-F    Duplicate field from previously-viewed record
  59. CTRL-H    Forces Insert mode ON
  60. CTRL-I    Switch to another index (File, Index Switch)
  61. CTRL-J    Dial phone number - "jingle" (Tools, Telephone Dialer)
  62. CTRL-L    Print snapshot label
  63. CTRL-M    Display macro menu to invoke macro (Macros, Execute)
  64. CTRL-N    Display next record
  65. CTRL-O    Toggle between flip data & insert tilde
  66. CTRL-P    Display previous record
  67. CTRL-Q    Begin spell checking
  68. CTRL-R    Duplicate previously-viewed or added record
  69. CTRL-S    Simple Search (Search, Simple)
  70. CTRL-T    Toggle between current and most recent view
  71. CTRL-V    View memo field contents
  72. CTRL-W    Display cursor location (Letters & Reports)
  73. CTRL-Y    Begin and end recording macro
  74. ALT-O     Chooses OK in dialog boxes and windows
  75. ALT-C     Chooses Cancel in dialog boxes and windows
  76. ALT-F1    Brings up the general help screen
  77. ALT-F7    Use with arrow keys to move boxes and windows
  78. ALT-F8    Use with arrow keys to resize memo window
  79. ALT-F10   Maximize memo window
  80. SHIFT-DEL Delete selected text and copy to buffer.
  81. CTRL-INS  Copy selected text to buffer.
  82. SHIFT-INS Paste text from buffer.
  83.  
  84.  
  85. TYPES OF SIMPLE SEARCHES 
  86.  
  87. xxx            generic (exact match based on position in field)
  88. ~xxx           scan across
  89. ?xxx           sounds-like
  90. ___x           wildcard (cannot be used in numeric fields)
  91. >xxx           comparison operator (can use >,<,>=,<=, and !)
  92.                (Where "xxx" is an appropriate string or value)
  93.  
  94. WHEN CALCULATIONS ARE ASKED FOR:
  95.  
  96. arithmetic operators:
  97.      +    addition
  98.      -    subtraction or negation
  99.      *    multiplication
  100.      /    division
  101.      %    modulo (remainder)
  102.      ^    exponentiation
  103.  
  104. logical operators:
  105.      &    and
  106.      |    or
  107.  
  108. comparison operators:
  109.      =    equal
  110.      !=   not equal
  111.      >    greater than
  112.      >=   greater than or equal
  113.      <    less than
  114.      <=   less than or equal
  115.  
  116. string operators:
  117.      UPCASE(argument)     converts "argument" to uppercase
  118.      LOWCASE(argument)    converts "argument" to lowercase
  119.      MIXCASE(argument)    converts "argument" to leading uppercase,
  120.                           following lowercase
  121.      LASTWORD(argument)   isolates last word in "argument"
  122.      FIRSTWORD(argument)  isolates first word in "argument"
  123.      TRIM(argument)       trims all trailing spaces from "argument"
  124.      argument;argument    (semicolon) concatenates (joins) strings
  125. "Argument" can be a field name, a string of characters surrounded by
  126. quotes ("xxx"), or a nested string calculation.
  127.  
  128. special calculations:
  129.  (@RANDOM#)     creates a random number between 0 and 1
  130.  (@TODAY#)      creates todays relative "day number"
  131.  (@DAY#,mask)   get date from stack, convert to day#
  132.                 mask tells date format:
  133.                 ymd  ydm  mdy  myd  dmy  dym  yymmdd
  134.  (@DATE,mask)   get day# from stack, convert to date
  135.                 mask tells date format: examples  mdy/   dmy-
  136.  (@key1,dbase2,key2,answer2)
  137.                 a relational lookup
  138.  (@*,answer3)   a subsequent relational lookup into same record
  139.  (@TIMENOW)     get the current 24-hour clock time
  140.  
  141. example arithmetic calculation:
  142.      ((cost + adjust) / 100)
  143. example comparison calculation:
  144.      ((age >= 21 & age < 40) & sex = "F")
  145. example string calculation: trim firstname and concatenate lastname
  146.      (TRIM(firstname);" ";lastname)
  147. example date arithmetic: difference between 2 dates
  148.      (date2(@DAY#,mdy) - date1(@DAY#,mdy))
  149. example date arithmetic: date 60 days later
  150.      ((date1(@DAY#,mdy) + 60)(@DATE,mdy/))
  151.  
  152. COMMANDS WITHIN MACROS
  153.  
  154. Key                Macro definition     Key combinations
  155.  
  156. ENTER              {ENTER}              With ALT       {ALT-F}
  157. ESC                {ESC}                With CTRL      {CTRL-D}
  158. BACKSPACE          {BKSP}               With SHIFT     {SHIFT-TAB}
  159. DELETE             {DEL}
  160. INSERT(toggle)     {INS}                All other keys are entered as
  161. INSERT(force)      {INSERT_ON}          typed from the keyboard without
  162. DOWN ARROW         {DOWN}               surrounding braces {}.
  163. UP ARROW           {UP}
  164. RIGHT ARROW        {RIGHT}
  165. LEFT ARROW         {LEFT}
  166. HOME               {HOME}
  167. END                {END}
  168. Function key       {Fn} (n = function key number)
  169. PAGE UP            {PGUP}
  170. PAGE DOWN          {PGDN}
  171. TAB                {TAB}
  172.                    {DELAY-nn} (nn = tenths of a second)
  173.                    {INPUT}     pauses for user input
  174.  
  175. REPORT COMMAND LANGUAGE
  176.  
  177. The sections of the report
  178.  
  179. :COVER              once at beginning of report
  180. :HEADING            top of each page
  181. :DETAIL             once for each record printed
  182. :SUBTOTAL           at each subtotal break
  183. :FOOTING            bottom of each page
  184. :TOTAL              at end of the report
  185.  
  186. Commands in filename.rep (1 command per line):
  187.  
  188. [xxx]               field xxx data prints here
  189. [COUNT*]            print count of records printed so far
  190. [DATE*]             today's date prints here
  191. [KEYIN*prompt]      ask operator input, print here
  192. [PAGE*]             print page number here
  193. [RECORDS*]          print no. of records in database
  194. [SELECT*]           print the selection criteria
  195. [SORT*]             print the primary sort field name
  196. [SUBCMD*n]          print subtotal trigger formula (n = sublevel)
  197. [SUBCOUNT*n]        print count of records in subtotal group (n= sublevel)
  198. [SUBFLD*n]          print field name of subtotal break field (n = sublevel)
  199. [SUBID*n]           print data from subtotal break field (n = sublevel)
  200. [SUBLEVEL*]         print level number of subtotal break
  201. [TIME*]             the current time prints here
  202. A nn,nnn,nn         print ASCII printer control codes here
  203. <xxx>               field xxx data (excess spaces removed)
  204. "xxx"               a constant
  205. =nn                 tab to column nn
  206. /n                  insert n newlines
  207. .FF                 form feed to new page
  208. .CP nn              conditional skip to new page
  209. .IF (condition)     if condition is true, include following commands
  210. .ELSE               if condition is not true, include following
  211. .ENDIF              end of IF construct
  212. .GROUP              start a group (no blank lines)
  213. .EGROUP             end a group
  214. .EGROUP R           end a group, replace blank lines
  215. .REFORMAT nn        begin reformat, "nn" is width to reformat
  216. .ENDREFORMAT        end reformat
  217. .BOLD               turn BOLD printing on
  218. .CONDENSED          turn CONDENSED printing on
  219. .NORMAL             turn NORMAL printing on
  220. .UNDERLINE          turn UNDERLINE printing on
  221. .ITALIC             turn ITALIC printing on
  222. .DOUBLEWIDE         turn DOUBLEWIDE printing on
  223. (a+b):z,zz#.##:     a calculated answer, with output mask
  224. (@K1,DB,k2,x2):@@@: a relational lookup
  225. (@*,fld):@@@@:      a relational lookup into the same record
  226.  
  227. Report Print Masks (examples)
  228.  
  229. :@@@@@@@@@@@@:      a character field mask
  230. :#####:             numbers, all digits appear
  231. :zz,zz#.##:         zero suppress, with commas
  232. :$$$$$$.##:         floating dollar sign
  233. :******.##:         asterisk check protection
  234. :Wnn:               word wrap mask (nn = number of characters wide)
  235. ::                  null mask (nothing prints)
  236.  
  237. MAIL-MERGE COMMANDS  (IMBED IN LETTER)
  238.  
  239. .<fieldname>        insert data, blanks stripped
  240. .[fieldname]        insert data, no blanks removed
  241. .<KEYIN*prompt>     insert data from keyboard
  242. .<DATE*>            insert today's date
  243. .GROUP              start a group (no blank lines)
  244. .EGROUP             end a group
  245. .EGROUP R           end a group, replace blank lines
  246. .FORMFEED           skip to new page on printer
  247. .FF                 skip to new page on printer
  248. .CP nn              conditional skip to new page
  249. .REFORMAT nn        begin reformat, "nn" is width to reformat to
  250. .ENDREFORMAT        end reformat
  251. .IF (condition)     if condition is true, include following
  252. .ELSE               if condition not true, include following (optional)
  253. .ENDIF              end of IF/ELSE construct
  254. .<(a+b):z,zz#.##:>  a calculated answer
  255. .<(@K1,DB2,k2,x2):@@@@@@:> a relational lookup answer
  256.  
  257. COMMANDS IN PROFILE FILES OR ON COMMAND LINE
  258.  
  259. /ADDPW,xxx       password allowing additions to database
  260. /BOLD,n          define printer codes for boldface type
  261. /CASEFIND        searches will be case sensitive
  262. /CASESORT        sorts will be case sensitive
  263. /CHARMODE        set character display mode
  264. /COLOR,n         set color pallet
  265. /CONDENSED,n     define printer codes for condensed type
  266. /DATEFORMAT,x    define default data format
  267. /DELPW,xxx       password allowing deletions in database
  268. /DOUBLEWIDE,n    define print codes for double wide type
  269. /DRIVE,x         define default disk drive for database
  270. /FILE,x          define default database
  271. /ITALIC,n        define print codes for italic type
  272. /LANDSCAPE,n     define printer codes for landscape page orientation
  273. /MEMOW,n         the width of the Memo window
  274. /MODPW,xxx       password allowing modify in database
  275. /NORMAL,n,n      ASCII values to cause normal print size
  276. /NOEMS           prevents use of expanded memory
  277. /NOXMS           prevents use of extended memory
  278. /NOSNOW          prevents snow or flickering on some CGA monitors
  279. /PAGELEN,n       size of page (no. of print lines)
  280. /PATH,x          define default path for database
  281. /PHINIT,xxxx     modem initialization string
  282. /PHLONG,n        define long distance code
  283. /PHPORT,COMx     the COM port to Jingle phone calls thru
  284. /PHPRE,xxx       telephone "connect" command characters
  285. /POSTSCRIPT      defines for PostScript output
  286. /PRINTPW,x       define password for access to Print menu
  287. /PROPORTIONAL, n define printer codes for proportional type
  288. /PRPORT,LPTx     printer output port
  289. /READONLY        open database in read-only mode (must be in database.PRO)
  290. /SNAP1,n         define first snapshot label report
  291. /SNAP2,n         define second snapshot label report
  292. /SNAP3,n         define third snapshot label report
  293. /SNAP4,n         define fourth snapshot label report
  294. /SNAP5,n         define fifth snapshot label report
  295. /SYSPW,xxx       password allows system operations
  296. /UNDERLINE,n     define print codes for underlined type
  297. /USEPW,xxx       password allows use of the database
  298. /USER1,n         user-defined printer code 1
  299. /USER2,n         user-defined printer code 2
  300. /USER3,n         user-defined printer code 3
  301. /USER4,n         user-defined printer code 4
  302. /USER5,n         user-defined printer code 5
  303.  
  304. COMMANDS FOR FORMULA INDEXES
  305.  
  306. ABS(num)              DAY(date)             ISDIGIT(char)
  307. ASC(char)             DESCEND(char)         ISLOWER(char)
  308. AT(str,str)           DOW(date)             ISUPPER(char)
  309. CALC("(pcfilecalc)")  DTOC(date)            LEFT(char,len)
  310. CDOW(date)            EXP(num)              LEN(char)
  311. CHR(num)              IIF(cond,expr,expr)   LOWER(char)
  312. CMONTH(date)          INT(num)              LTRIM(char)
  313. CTOD(char)            ISALPHA(char)         MAX(num,num)
  314. DATE()                RIGHT(char,num)       STUFF(char,num,num,char)
  315. MIN(num,num)          ROMAN(char)           SUBSTR(char,num,num)
  316. MOD(num,num)          ROUND(num,num)        TIME()
  317. MONTH(date)           RTRIM(char)           TRIM(char)
  318. RECCOUNT()            SOUNDEX(char)         TYPE(any)
  319. RECNO()               SPACE(num)            UPPER(char)
  320. RECSIZE()             STR(num,num,num)      VAL(char)
  321. REPLICATE(char,num)   TOSTR(any)            YEAR(date)
  322.