home *** CD-ROM | disk | FTP | other *** search
/ Boston 2 / boston-2.iso / DOS / PROGRAM / DATABASE / PCFILE3 / CARD next >
Text File  |  1993-12-01  |  15KB  |  343 lines

  1. PC-FILE+ 3.0 QUICK REFERENCE CARD
  2.  
  3. Special Keys and their Function
  4.  
  5. (Alt)C                 Calculator hot-key
  6. (Alt)D                 Drop to DOS
  7. (Alt)H                 Help
  8. (Alt)M                 Load new Macro smart keys
  9. (Alt)P                 Print screen (cleaned up)
  10. (Alt)T                 TEACH mode (on/off)
  11. (Alt)Y                 Smart key memorize (on/off)
  12. backspace              delete character to the left of cursor
  13. (Ctrl)A                Accept data (same as (F10))
  14. (Ctrl)B                Blank right, to end of field
  15. (Ctrl)D                Duplicate all of previous record
  16. (Ctrl)F                duplicate Field from previous record
  17. (Ctrl)L                print a Label (Snapshot)
  18. (Ctrl)left arrow      move cursor one word to the left
  19. (Ctrl)P                Print screen (cleaned up)
  20. (Ctrl)R                Read into memory
  21. (Ctrl)right arrow     move cursor one word to the right
  22. (Ctrl)W                Write from memory
  23. (Ctrl)Z                display batch number of program
  24. (Del)                  delete the character at the cursor
  25. down arrow             move cursor to following field or line
  26. (End)                  move cursor to right, past last character
  27. (Enter)                move cursor to next field, or accept data
  28. (Esc)                  cancel this operation
  29. (F10)                  accept data
  30. (Home)                 move cursor left, to start of field
  31. (Ins)                  Insert mode (on/off)
  32. left arrow             move cursor left one position
  33. (PgDn)                 move cursor to last field, or page down in
  34.                        browse mode
  35. (PgUp)                 move cursor to first field, or page up in
  36.                        browse mode
  37. right arrow            move cursor right one position
  38. (Tab)                  move cursor to next field, or move browse
  39.                        window one field to the right
  40. (Shift)(Tab)          move cursor to prior field, or move browse
  41.                        window one field to the left
  42. tilde (~)              the flip data character
  43. up arrow               move cursor to preceding field or line
  44.  
  45. SPECIAL KEYS WHEN IN EDITOR
  46.  
  47. (Ctrl)(End)            move to lower left corner of current window
  48. (Ctrl)(Home)           move to upper left corner of current window
  49. (Ctrl)(left arrow)     move to beginning of previous word
  50. (Ctrl)(PgDn)           move to left of last line of text
  51. (Ctrl)(PgUp)           move to left of first line of text
  52. (Ctrl)(right arrow)    move to beginning of next word
  53. down arrow             move down one line if not at end
  54. (End)                  move past last character on current line
  55. (Enter)                move cursor to next line, creating a new line
  56. (Home)                 move to first position on current line
  57. left arrow             move one position to left
  58. right arrow            move one position to right
  59. (PgDn)                 scroll down one screen
  60. (PgUp)                 scroll up one screen
  61. (Shift)(Tab)           tab left
  62. (Tab)                  tab right
  63. up arrow               move up one line if not at top
  64.  
  65. Editor Commands
  66.  
  67. (Ctrl)\                split line at cursor
  68. (Ctrl)A                toggle automatic paragraph wrapping
  69. (Ctrl)B                mark corner of block
  70. (Ctrl)C                copy marked block below cursor
  71. (Ctrl)D                delete marked block
  72. (Ctrl)E                erase from cursor line to end of document
  73. (Ctrl)F                fill marked block with selected character
  74. (Ctrl)L                mark line or lined block
  75. (Ctrl)M                move marked block
  76. (Ctrl)O                overlay marked block
  77. (Ctrl)R                reformat marked block; reformat current
  78.                        paragraph if no marked block
  79. (Ctrl)U                unmark the marked block
  80. (Ctrl)V                enable/disable "whoops key"
  81. (Ctrl)W                "whoops key"--recall previous buffer
  82. (Esc)                  escape from editor or insert (Esc) character in
  83.                        text
  84. (F3)                   activate Editor Menu
  85. (F5)                   delete current line
  86. (F6)                   erase from cursor to end of line
  87. (F10)                  exit and save all changes
  88.  
  89. DATABASE DEFINITION
  90.  
  91. Edit Masks specify characters allowed in a field and provide
  92. automatic data.  Examples:
  93.  
  94. :azAZ:                 allows only alpha characters
  95. :NNnnYYyy:             allows upper and lowercase N and Y
  96. :09//--  :             allows numbers, slash, dash and space
  97. :BA:                   does not allow any character
  98. :DATE*:                automatic date field in mm-dd-yy format
  99. :MM/DD/YY*:            automatic date field in mm/dd/yy format
  100. :DD/MM/YY*:            automatic date field in dd/mm/yy format
  101. :YYMMDD*:              automatic date field in yymmdd format
  102. :MO*:                  automatic field supplying month (mm)
  103. :DY*:                  automatic field supplying day (dd)
  104. :YR*:                  automatic field supplying year (yy)
  105. :TIME*:                automatic time field in hh:mm format
  106. :UNIQUE*:              automatic field for unique number
  107. :DUPE*:                automatically duplicate field from previous
  108.                        record
  109. :DATE*09//:            automatic date field with edit mask
  110. :DATE*:*A              automatic field only when adding only
  111. :DATE*:*M              automatic field only when modifying only
  112.  
  113. Constants supply default data when adding and/or modifying records.
  114. Examples:
  115.  
  116. "New York City"             supply text
  117. "(   )   -    "*A           supply text only when adding
  118. "Milton Freewater"*M        supply text only when modifying
  119.  
  120. Calculated fields generate data based on arithmetic, date or
  121. relational calculations.  Examples:
  122.  
  123. ((cost+adjustments)/100)               sample numeric calculation
  124. ((d1(@DAY#,mdy)+60)(@DATE,mdy/))       sample date calculation
  125. (@acct,master,acct,city)               sample relational lookup
  126.  
  127. SEARCHING AND SELECTING RECORDS
  128.  
  129. Types Of Simple Searches
  130.  
  131. xxxxx       generic (exact, first part)
  132. ~xxxxx      scan across
  133. ?xxxxx      sounds-like
  134. ___x_x      wildcard (ignore certain characters)
  135.  
  136. WHEN CALCULATIONS ARE ASKED FOR
  137.  
  138. Arithmetic Operators:
  139.  
  140. +           addition
  141. -           subtraction
  142. *           multiplication
  143. /           division
  144. %           modulo (remainder)
  145. ^           exponentiation
  146.  
  147. Logical Operators:
  148.  
  149. &           and
  150. |           or
  151.  
  152. Comparison Operators:
  153.  
  154. =           equal
  155. !=          not equal
  156. >           greater than
  157. >=          greater than or equal
  158. <           less than
  159. <=          less than or equal
  160.  
  161. Special Calculations:
  162.  
  163. (@RANDOM#)                       creates random number between 0 and 1
  164. (@TODAY#)                        creates todays "day number"
  165. (@DAY#,mask)                     gets date from stack, converts to
  166.                                  day-number.  mask tells date format:
  167.                                  ymd ydm mdy myd dmy dym yymmdd
  168. (@DATE,mask)                     gets day-number from stack, converts
  169.                                  to date.  mask tells date format:
  170.                                  examples mdy/ dmy-
  171. (@key1,DBASE2,key2,ANSWER2)      a relational lookup
  172.  
  173. Examples of calculations:
  174.  
  175. (SUBTOTAL + TAX + SHIPPING - DISCOUNT)
  176. ((age >= 21 & age < 40) & sex = "F")
  177. (date2(@DAY#,mdy)-(date1(@DAY#,mdy))
  178.                            difference between 2 dates
  179. (date2(@DAY#,mdy) > date1(@DAY#,mdy))
  180.                            date2 greater than date1
  181. ((date(@DAY#,mdy)+60)(@DATE,mdy/))
  182.                            date 60 days later
  183.  
  184. COMMANDS WITHIN SMART KEY DATA
  185.  
  186. [2]                        simulate (Ctrl)B (blank to right)
  187. [4]                        simulate (Ctrl)D (dupe record)
  188. [6]                        simulate (Ctrl)F (dupe field)
  189. [9]                        simulate (Tab) key
  190. [12]                       simulate (Ctrl)L (snapshot label)
  191. [18]                       simulate (Ctrl)R (read into memory)
  192. [23]                       simulate (Ctrl)W (write from memory)
  193. [271]                      simulate (Shift)(Tab)
  194. [288]                      simulate (Alt)D
  195. [291]                      simulate (Alt)H
  196. [302]                      simulate (Alt)C
  197. [315]                      simulate (F1)
  198. [316]                      simulate (F2)
  199. [317]                      simulate (F3)
  200. [319]                      simulate (F5)
  201. [320]                      simulate (F6)
  202. [321]                      simulate (F7)
  203. [322]                      simulate (F8)
  204. [323]                      simulate (F9)
  205. [324]                      simulate (F10)
  206. [327]                      simulate (Home)
  207. [328]                      simulate up arrow
  208. [329]                      simulate (PgUp)
  209. [331]                      simulate left arrow
  210. [333]                      simulate right arrow
  211. [335]                      simulate (End)
  212. [336]                      simulate down arrow
  213. [337]                      simulate (PgDn)
  214. [338]                      simulate (Ins)
  215. [339]                      simulate (Del)
  216. ^n                         imbed smart key #n (0 - 9 supported)
  217. ^K                         get keyboard input
  218.  
  219. REPORTS
  220.  
  221. Sections of a report:
  222.  
  223. :COVER            prints once at beginning of report
  224. :HEADING          prints at the top of each page
  225. :DETAIL           prints once for each record printed
  226. :SUBTOTAL         prints at each subtotal break
  227. :FOOTING          prints at the bottom of each page
  228. :TOTAL            prints once at end of the report
  229.  
  230. Commands in Command report (1 command per line):
  231.  
  232. [xxx]                           field xxx data prints here
  233. <xxx>                           field xxx data (excess spaces removed)
  234. "xxx"                           a constant
  235. (#)                             relative record number
  236. (a+b)                           calculation
  237. (@f1,DB,f2,f3)                  relational lookup
  238. =nn                             tab to column nn
  239. /n                              insert n newlines
  240. .FF                             form feed to new page
  241. .CP nn                          conditional skip to new page
  242. .GROUP                          start a group (no blank lines)
  243. .EGROUP                         end a group
  244. .EGROUP R                       end a group, replace blank lines
  245. A nn,nnn,nn                     ASCII printer control codes
  246. .IF (calculation spec)          do next commands(s) if true
  247. .ELSE                           do next commands(s) if .IF was false
  248. .ENDIF                          end of .IF .ELSE sequence
  249. [COUNT*]                        number of records printed
  250. [DATE*]                         today's date
  251. [KEYIN*prompt]                  get operator input
  252. [PAGE*]                         current page number
  253. [RECORD*]                       record number of current record
  254. [RECORDS*]                      number of rcds in database
  255. [SELECT*]                       selection criteria for report
  256. [SORT*]                         current index or primary sort field
  257.                                 name
  258. [SUBCOUNT*]                     number of records in subtotal group
  259. [SUBFLD*]                       field name of subtotal break field
  260. [SUBID*]                        data from subtotal break field
  261. [TIME*]                         current time
  262.  
  263. Output Edit Masks (examples):
  264.  
  265. :@@@@@@@@@:          character field mask
  266. :#####:              numbers, all digits appear
  267. :zz,zz#.##:          zero suppress, with commas
  268. :$$$$$$.##:          floating dollar sign
  269. :******.##:          asterisk check protection
  270. :=12,0,100,* :       barchart mask
  271. ::                   no output (don't print anything)
  272.  
  273. MAIL MERGE LETTER COMMANDS
  274.  
  275. .<fieldname>                insert data, blanks stripped
  276. .[fieldname]                insert data, no blanks removed
  277. .<KEYIN*prompt>             insert data from keyboard
  278. .<DATE*>                    insert today's date
  279. .GROUP                      start a group (no blank lines)
  280. .EGROUP                     end a group
  281. .EGROUP R                   end a group, replace blank lines
  282. .FORMFEED                   skip to new page on printer
  283. .FF                         skip to new page on printer
  284. .CP nn                      conditional skip to new page
  285. .<(a+b):z,zz#.##:>          calculation
  286. .<(@k1,db2,k2,x2):@@@:>     relational lookup
  287.  
  288. SORT ALTERNATIVES (SORT FIELD #n)
  289.  
  290. fieldname                   sort on entire field
  291. fieldname,x,y               data starts in position x, length y
  292. fieldname,R                 roman numeral sort
  293. fieldname,S                 sounds-like sort
  294. (@RANDOM#)                  random sequence
  295. (fieldname(@DAY#,mdy))      sort field in mm/dd/yy format
  296.  
  297. PROFILE COMMANDS
  298.  
  299. /ADDPW,xxx                  password allowing additions to database
  300. /AUTOSKIP                   automatic skip to next field when full
  301. /BG,n                       background screen color 0-7 (note 1)
  302. /CASEFIND                   case sensitive searches
  303. /CASESORT                   case sensitive indexes and sorts
  304. /CONDENSED,n,n              ASCII values to cause condensed print
  305. /DELPW,xxx                  password allowing deletions in database
  306. /DRIVE,x                    default disk for data
  307. /EURODATE                   print dates in european date format
  308. /EXPERT                     smaller menu prompts where possible
  309. /FASTVIEW                   fastest screen writes (possible snow)
  310. /FG,n                       foreground screen color 0-15 (note 1)
  311. /FG2,n                      alternate color (field names, highlight)
  312. /FILE,xxx                   default database name
  313. /KEYIN,xxx                  keystrokes to run at startup
  314. /LBL,xxx                    gives Snapshot label format (note 2)
  315. /MODPW,xxx                  password allowing modify in database
  316. /NORMAL,n,n                 ASCII values to cause normal print size
  317. /NOTRAP                     don't trap disk errors and (Ctrl)(Break)
  318. /PAGELEN,n                  size of page (number of print lines)
  319. /PATH,xxx                   default subdirectory for data
  320. /PRPORT,xxx                 printer output port
  321. /SORTPW,xxx                 password allowing sorts on database
  322. /SYSPW,xxx                  password allowing system operations
  323. /USEPW,xxx                  password allowing use of the database
  324. /XXXPW,xxx                  allows override of all passwords
  325.  
  326. Screen colors: background 0-7, foreground 0-15
  327.  
  328. 0 black   4 red       8 gray         12 lt. red
  329. 1 blue    5 magenta   9 lt. blue     13 lt. magenta
  330. 2 green   6 brown     10 lt. green   14 yellow
  331. 3 cyan    7 white     11 lt. cyan    15 bright white
  332.  
  333. Snapshot Feature specification:
  334.  
  335. dev,t,f,f,f,f......
  336.  
  337. dev = LPT1:, LPT2:, MYFILE, etc.
  338. t = no.  chars to tab in at left margin
  339. f = field number, or command
  340. 0 = new line
  341. -n = insert n spaces
  342. 'xx' = insert xx (a constant)
  343.