home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0040 - 0049 / ibm0040-0049 / ibm0040.tar / ibm0040 / NUTSP-00.ZIP / NUTPLUS.DOC
Encoding:
Text File  |  1991-03-19  |  455.2 KB  |  10,669 lines

  1. IRIS Software Products, has worked hard to make both the software
  2. and the manual easy to use. If you should have difficulty, we
  3. suggest that you:
  4.  
  5. 1. Press F1 to read the various help screens. These help screens
  6. provide answers to many commonly asked questions.
  7.  
  8. 2. Consult the Nutshell Plus II manual. By using the index and the
  9. table of contents, you will usually be able to find your answers
  10. quickly and easily.
  11.  
  12. 3. Contact your local dealer. Most dealers are familiar with
  13. Nutshell Plus II and will provide you with the most convenient
  14. service.
  15.  
  16. 4. If you still have a question, please call the IRIS Software
  17. Products, Customer Service Hot line at 1-617-341-1969 weekdays
  18. between 10:00 am and 4:00 pm Eastern Standard Time. Please have
  19. your registration number handy so that we can provide you with the
  20. fastest service. The registration number is located on the Warranty
  21. Registration Card that came with your Nutshell package or on the
  22. opening (file cabinet) screen display.
  23.  
  24. Upgrade Policy
  25.  
  26. IRIS Software Products, listens to its customers. When suggestions
  27. are incorporated into a new version of Nutshell, we want to keep
  28. you up to date. By sending in your registration card, you will
  29. receive advance notification of both minor updates and major new
  30. releases. We will automatically send registered owners free
  31. updates, and will offer substantial discounts on upgrades to new
  32. releases.
  33.  
  34. From the opening Nutshell Plus II Screen; Write Your Registration
  35. Card Number here:
  36.  
  37. Nutshell and File Maker are registered trademarks of Claris Corp.
  38. IBM and TopView are registered trademarks of International Business
  39. Machines Corporation. dBase is a registered trademark of Ashton-
  40. Tate. DIF is a registered trademark of Lotus Development
  41. Corporation. Macintosh and MacWrite are registered trademarks of
  42. Apple Computer, Inc. Microsoft is a registered trademark of
  43. Microsoft Corporation. DESQview is a trademark of Quarterdeck
  44. Office Systems. Leading Edge is a registered trademark of Leading
  45. Edge Products, Inc. Rolodex is a trademark of Insilco.
  46.  
  47. Contents
  48.  
  49. Introduction to Nutshell PLUSS II About This Manual Concepts of
  50. Managing Information with Nutshell Introduction Basic Concepts
  51. Files Records Fields Layouts Concepts of Using Look up Files Using
  52. Look Up Files How the Concepts Work Together Nutshell on Your
  53. System Introduction What~s on the Disks System Requirements and
  54. Options Installing and Running Nutshell Running the Guided Tour
  55. Nutshell Conventions The Screen On line Help The Menus The Keyboard
  56. Opening and Closing Files Creating a New File Opening an Existing
  57. File Closing a File and Exiting Nutshell Making Backups Deleting
  58. Files Designing Files Deciding How to Organize Your Information
  59. Organizing Information Using Look up Files Defining Fields Text
  60. Fields Number Fields Date Fields Calculation Fields Summary Fields
  61. Time Fields Setting Criteria for Checking the Accuracy of
  62. Information Changing or Deleting Field Definitions Creating
  63. Additional Fields Changing a Field Name Changing a Field Type
  64. Changing a Calculation Formula Changing a Summary Formula Changing
  65. or Removing Validation Criteria Deleting a Field Defining Links
  66. between Files Changing or Deleting Links Between Files Defining
  67. Links to Additional Files Defining Additional Links to the Same
  68. File Adding a Field Pair Changing an Existing Link Deleting a Field
  69. Pair or a Link Adding New Records Typing in Fields Using the Index
  70. Copying Information from Another Record Checking for Validity of
  71. Information Specifying Preset Field Values Changing the Information
  72. in a Record Removing Records Displaying, Adding, and Editing
  73. Information in Look up Files Changing the Visual Presentation:
  74. Creating Reports, Forms, and Other Layouts Nutshell's Standard Way
  75. of Presenting Information Using Different Layouts to Display,
  76. Manage, and Print Information Copying a Layout Creating a New
  77. Standard Layout Creating an Empty Layout Deleting a Layout
  78. Arranging Information on the Layout Changing the Size or Shape of
  79. a Field Adjusting Field Size Removing Empty Space from Printed
  80. Fields Adding Fields to a Layout Adding Look up Fields Adding and
  81. Editing Text Highlighting Information Using a Monochrome Monitor
  82. Using a Color Monitor Formatting Fields Formatting Text Formatting
  83. Numbers Formatting Dates Formatting Time Erasing Fields or Text
  84. Adding Power to Reports Concepts of Partitioning a Layout 186 Body
  85. Header Footer Grand Summary Sub summary creating and Changing
  86. Partitions Deleting Partitions Deciding Where to Place Information
  87. Finding Information Creating a Pattern for Finding Records Finding
  88. a Range of Values Finding Values Greater Than or Less Than a Given
  89. Value Additional Criteria for Finding Values in Text Fields Adding
  90. Sets of Criteria Finding Records That Don't Match Validation
  91. Criteria Changing or Erasing Criteria Summary of Symbols Used in
  92. Finding Records
  93.  
  94. Sorting Information Creating a New Sort Order Sorting Records
  95. Repeating a Sort Changing the Sort Order Returning the Records to
  96. Their Original Order Printing Information Preparing for Printing
  97. Destination Printer Model Character Spacing Line Spacing Paper
  98. Length Pause Between Pages Number of Labels Label Width Divide Body
  99. Printing Records Printing Mailing Labels Stopping and Restarting
  100. the Printer Copying Information To and From Other Files Copying
  101. From Another File
  102.  
  103. Nutshell ASCII dbase II Merge DBASE III/IV FileMaker Copying to
  104. Another File Nutshell ASCII dBASE II DIF Merge dBASE III/IV
  105. FileMaker Other Automating Tasks Using Macros Cresting Macros
  106. Nicknaming Macros Using Macro Functions Using Macros Within Macros
  107. Playing Back Macros Stopping Macro Playback Using Copy, Paste, Date
  108. and Time Changing or Deleting Macros Changing a Macro Name Changing
  109. or Deleting a Macro Nickname Inserting or Deleting Macro Steps
  110. Deleting a Macro Menu Map Menu Options Nutshell Browse Find Add
  111. Modify Remove Sort Output Layout Define Zoom Macros (F9) Appendix
  112. A: What's New in Nutshell Plus II Appendix B: Nutshell Utilities
  113. Appendix C: Technical Specifications Glossary Index
  114.  
  115. Nutshell is a tool for managing all the various kinds of
  116. information you handle in a business day
  117.  
  118. all the text, numbers, and dates you use for answering letters,
  119. producing reports, preparing budgets, billing your clients, and so
  120. on. With Nutshell as your filing cabinet, you can find information
  121. in a fraction of the time it takes you to search through paper
  122. files. You'll have information in the order you need it, produce
  123. forms and reports that were too much trouble to do before, and get
  124. calculations and summaries of your data without dragging out a
  125. calculator or using a spreadsheet.
  126.  
  127. Nutshell's great advantage over a traditional filing cabinet is its
  128. flexibility. Once your data is contained in Nutshell files, you can
  129. use it for many different purposes without having to retype any of
  130. it. For example, you could use the same client information to print
  131. customized form letters and mailing labels, prepare invoices, print
  132. Rolodex~ cards, and compile statistics, such as a count of the
  133. clients in each sales region or the dollar value of orders you
  134. received from each client in a given time period. You can store all
  135. the different arrangements for forms, form letters, reports,
  136. labels, or other documents in your Nutshell file, so that producing
  137. them again is a snap.
  138.  
  139. Nutshell lets you combine and use data from different files in any
  140. way you want. For example, you can keep a Rolodex-like directory of
  141. names and addresses in one file and a collection of accounts
  142. receivable in another. There's no need to type names and addresses
  143. once in your Rolodex file and again, several times, in your
  144. accounts receivable file. Nutshell can automatically look up
  145. information from your Rolodex file and display or print it with
  146. information in your accounts receivable file. Nutshell's ability to
  147. look up data in linked files and use it with data in the file
  148. you're currently working with saves you time as well as space,
  149. since you don't have to type data in more than one place, and you
  150. don~t have to duplicate information unnecessarily. And if you have
  151. to make a correction, you only need to make it once.
  152.  
  153. Getting your data into Nutshell is easier than you may think.
  154. Nutshell can copy data directly from other file formats, such as
  155. FileMaker, DBASE (11, 111 and IV), DIF, and ASCII. And when you
  156. need to type new information, you can have Nutshell Plus 11
  157. automatically check it for accuracy. For example, Nutshell Plus 11
  158. can make sure that two clients don't receive the same account
  159. number, that the date of each order is filled in, or that clients
  160. who receive credit are on an approved list.
  161.  
  162.  Any work that you do repeatedly can be automated using Nutshell
  163. Plus II's macro feature. Using one keystroke you can automatically
  164. change the spelling of a name in all your records or produce a
  165. weekly report; or you can create macros for others so they can
  166. complete jobs with almost no instruction .
  167.  
  168. Nutshell Plus 11 always lets you change your mind
  169.  
  170. add new information, change the formula for a calculation, or
  171. arrange information in another way for a new form or report. As you
  172. think of better ways to organize and present your information,
  173. Nutshell Plus 11 helps put your ideas into action, so you can get
  174. more done every business day.
  175.  
  176. What follows is some advice for learning and using Nutshell Plus
  177. 11. Because Nutshell Plus 11 is easy to use, you won't fall into an
  178. abyss if you ignore the advice, but you may not get the most out of
  179. Nutshell Plus 11. So consider these suggestions, and return to them
  180. later if you don't have time now.
  181.  
  182. The Nutshell Plus 11 manual assumes you have a basic working
  183. knowledge of DOS, the operating system that controls your computer.
  184. For instructions on using DOS, consult the DOS manual that came
  185. with your computer.
  186.  
  187. Now for the advice:
  188.  
  189. If you're upgrading to Nutshell Plus 11 from a previous version of
  190. Nutshell Plus or Nutshell, read Appendix A. It will give you a
  191. quick run down of what's new, and note where in the manual you can
  192. find details.
  193.  
  194. To get a quick introduction to Nutshell Plus 11, take the Guided
  195. Tour provided on your Guided Tour Disk. (First make a working copy
  196. of the disk and store the original for safekeeping). It uses sample
  197. files to demonstrate Nutshell Plus II's most salient features.
  198. Instructions for running the Guided Tour are given in the chapter
  199. Installing Nutshell Plus 11 on Your System.
  200.  
  201. To set started using Nutshell Plus 11 for your own work, read the
  202. first three chapters: Concepts of Managing Information with
  203. Nutshell Plus 11, Installing Nutshell Plus 11 on Your System, and
  204. Nutshell Plus 11 Conventions. They provide important background on
  205. concepts central to Nutshell Plus 11, information on running
  206. Nutshell Plus 11 on your computer system, and an overview of
  207. conventions that pertain throughout Nutshell Plus 11 to using the
  208. keyboard, choosing options, and getting help.
  209.  
  210. To get an overview of what's in the manual, read the chapter
  211. contents and the introduction at the beginning of each chapter. The
  212. introduction will give you a good idea of what~s covered in the
  213. chapter and what it will help you accomplish.
  214.  
  215. To find specific topics, such as how to open a file or print
  216. mailing labels, use the Contents and the Index.
  217.  
  218.  To find out what a particular word or menu option means, use the
  219. Glossary and the Quick Reference at the back of the manual. The
  220. Quick Reference also contains a map of all the menu options in
  221. Nutshell Plus 11, which, like a road map, is useful for getting
  222. your bearings.
  223.  
  224. Before you start using Nutshell, you'II find it helpful to
  225. understand the concepts that make Nutshell such a flexible tool for
  226. managing information. This section outlines the most important
  227. concepts and terms you should be familiar with.
  228.  
  229. Files
  230.  
  231. Nutshell files are designed to do the same thing as file folders in
  232. a filing cabinet: they hold related information, or data. Nutshell
  233. files are collections of data, such as a set of sales reports, an
  234. inventory of parts or products, or a bibliography.
  235.  
  236. The difference between Nutshell files and paper files is that
  237. Nutshell files let you use the same data for any number of
  238. different purposes, without retyping. For example, you could use
  239. the same sales data to list sales by city, by salesperson, by date
  240. of sale, or by size of sale. Nutshell can summarize data for you,
  241. automatically calculating subtotals of sales for each city, and a
  242. grand total of all sales. You can use the same file to print a
  243. summary report of sales by month, to analyze the productivity of
  244. each member of your sales force, and to send a letter to those you
  245. want to congratulate.
  246.  
  247. Records
  248.  
  249. The information you put into a file concerning one person, one
  250. transaction or one item is called a record. All the records in one
  251. file contain the same type of information. For example, a personnel
  252. file could comprise one record for each person employed by a
  253. company. Each record contains information such as education and
  254. employment history, date of hire, and salary.
  255.  
  256. It~s easy to add new records to Nutshell files, to find records you
  257. need to change, or to discard records you no longer need. The
  258. number of records you can have in a file is limited only by disk
  259. space.
  260.  
  261. Finding specific records to update or print is accomplished in a
  262. few keystrokes. You can sort records in any order you like to
  263. produce custom reports, and you can create a new file from a subset
  264. of records. Using the example of a personnel file, you might sort
  265. employee records by department and date of hire for a report
  266. analyzing fulfillment of requisitions, or you might create an
  267. archive file of employees who have retired from the company.
  268.  
  269. Fields
  270.  
  271. Each record is composed of one or more fields, each of which holds
  272. a specific type, or category, of information. For example, a
  273. bookstore's inventory file that has one record for each book in
  274. stock might contain fields for title, author, publisher, and date
  275. of publication. Each record in a file contains the same fields,
  276. although the data in the fields is usually different from record to
  277. record.
  278.  
  279. When you create a new Nutshell file, you define a field for each
  280. category of information you want to store in your records, creating
  281. as many fields as you need. Each field can be any one of five types
  282. (using the bookstore example for purposes of illustration):
  283.  
  284. Text
  285.  
  286. When you organize your information into the appropriate field
  287. types, you have maximum flexibility in finding information quickly,
  288. sorting by as many fields as you need, and having Nutshell perform
  289. arithmetic for you. You can change your field definitions as your
  290. file grows, adding new fields, deleting obsolete yields, and
  291. refining formulas for calculations.
  292.  
  293. Layouts
  294.  
  295. A layout is an arrangement of elements on a page. With Nutshell,
  296. you can arrange fields and text in a layout to create the visual
  297. effect you want, both on the screen and on paper. In any Nutshell
  298. file you can create as many layouts as you need. For example, you
  299. could create a compact layout that includes instructions for the
  300. person who will type the data, another layout for producing
  301. reports, a third layout for printing data on reprinted forms, and
  302. a fourth layout for showing the data in a tabular format.
  303.  
  304. Layouts are separate from the data in your files; each layout
  305. affects only the way your data is displayed and printed when you
  306. use that layout. Each layout can contain any number of fields; for
  307. example, you might use a layout with only name and address fields
  308. to produce mailing labels, or use a layout with only summary fields
  309. and a title to produce a summary report.
  310.  
  311. Nutshell's standard layout may be all you need, it contains all
  312. your fields and lets you add information to a file without
  313. designing a layout of your own. Later, you can alter the standard
  314. layout or make a new layout for a particular purpose. For example,
  315. Nutshell uses a concept called partitions to let you designate
  316. portions of the layout for a page header and footer. You also use
  317. partitions to indicate the areas where you want sub summary and
  318. grand summary information, such as subtotals and a grand total for
  319. sales. Partitions make it easy to put titles on reports, have
  320. Nutshell print the current date, time, and page number at the top
  321. or bottom of each page, and handle other details that make your
  322. documents come out just the way you want them to look. You can take
  323. advantage of these options as you become more experienced with
  324. Nutshell, because you can create new layouts or change existing
  325. ones at any time.
  326.  
  327. When you first create Nutshell files, each one is a separate
  328. entity, independent of any other file you create. Keeping your data
  329. in separate files is useful, because it allows you to store
  330. different kinds of data efficiently. For example, to keep track of
  331. product orders you might want one file to contain orders, a second
  332. file to contain customer information, and a third file to contain
  333. inventory records. These files may be maintained by different
  334. people, or they may simply help you keep your information well
  335. organized, so it's easy to update, analyze, and use for reporting.
  336.  
  337. Although you store information in separate files, you'II often want
  338. to use information that you keep in one file with information you
  339. keep in other files It's easy to share information between Nutshell
  340. files, because you can link files together. When you're working
  341. with a file that links to another file, you can use data in the
  342. linked file together with data in the file you're working with. The
  343. linked file is called the look up file because Nutshell looks up
  344. data in it; the file that links to the look up file is called the
  345. base file because it is your base of operations. You can define,
  346. change, or delete links to other files at any time, even after
  347. you've added data to your files.
  348.  
  349. Linking files gives you the following capabilities:
  350.  
  351. Using the Zoom option, you can open and use look up files directly
  352. from the file you're using; you don't have to close the base file
  353. before opening the look up file. For example, while you're entering
  354. an order for a new customer, you can zoom to the customer file and
  355. type the customer's address, then return to the orders file.
  356.  
  357. You can display data from look up files by including fields in a
  358. look up file, or look up fields, on any layout in the base file.
  359. For example, when a product number you type for an order matches a
  360. product number in the inventory file, Nutshell can look up and
  361. display in the orders file the product description and unit price
  362. which are stored in the inventory file. Even though the information
  363. is stored in separate files, you can display and print it together
  364. whenever you need to.
  365.  
  366. You can perform calculations that use information stored in a look
  367. up file. For example, you might create a calculation formula that
  368. multiplies the quantity ordered (in the orders file) by the unit
  369. price (looked up from the inventory file) to get the total price
  370. for an item.
  371.  
  372. You can sort and summarize data using fields from look up files.
  373. For example, you might want to sort orders by a product category
  374. (in the inventory file), in order to summarize the volume or dollar
  375. amount of orders by product category.
  376.  
  377. You can print information from several look up files in a number of
  378. different formats such as reports, forms, or mailing labels. Any
  379. information you have Nutshell look up and display from a look up
  380. file can be printed from the base file.
  381.  
  382. To link one file to another, both files must have at least one
  383. field that contains the same kind of information (for example,
  384. first name and last name, serial, ID, or Social Security numbers,
  385. and so on). You define a link by telling Nutshell which pair (or
  386. pairs) of fields in the two files contain the same kind of
  387. information. Any two fields that you specify as containing
  388. corresponding data are called a field pair.
  389.  
  390. Once you've defined a link by specifying at least one field pair,
  391. Nutshell can trigger the look up process: for each record in the
  392. base file Nutshell looks up and finds the corresponding record in
  393. the look up file, using matching data that's contained in the field
  394. pairs. If two or more records match the record in the base file,
  395. Nutshell finds all the matching records in the look up file, but
  396. uses only the first matching record for display on layouts, in
  397. calculations, for sorting, and for sub summarizing. When you use
  398. the Zoom option, however, you will be able to see all matching
  399. records. Any time you change certain information in the base file,
  400. Nutshell performs the look up process again in order to update the
  401. correspondences, using the current data in the look up file.
  402.  
  403. In the example given above, the orders file and the customer file
  404. can be linked because each file has a field containing customer
  405. names. When you type a customer name in the orders file, and it
  406. matches a customer name in the customer file, Nutshell can
  407. automatically look up information, such as the customer's address,
  408. and display it in the orders file.
  409.  
  410. The ability to link your files in this way turns Nutshell, in
  411. effect, into one large and intricately cross referenced file
  412. cabinet. You can organize your data in separate files, yet you can
  413. link your files and use all of the data in any number of different
  414. combinations. Using any layout you can display and print data
  415. contained in look up files just as you can display data contained
  416. in one file. You can also create reports that use data in look up
  417. files along with data in the base file. In fact, all the things you
  418. can do with the data in one file you can also do with the combined
  419. data of any of your files, as long as the files are linked.
  420.  
  421. Using Look up Files
  422.  
  423. Once you've linked two files, you can begin to use the link you've
  424. defined. When you're working with linked files, you use the base
  425. file as your ~base" of operations. Even though you can view, print,
  426. and otherwise use data from look up files, you can make changes
  427. only to the current file
  428.  
  429. the file you are currently working with. But at any time you can
  430. easily move from a base file to a look up file using the Zoom
  431. option. Once you've zoomed to the look up file, it becomes your
  432. current file. You can add or change records, define new fields,
  433. create new layouts or change existing ones
  434.  
  435. in fact, anything you can do in the base file you can also do in a
  436. look up file simply by zooming directly from one file to the next.
  437. Of course you can return to the base file at any time.
  438.  
  439. For example, if you notice while you're entering an order in the
  440. orders file that a new customer's address has not been entered into
  441. the linked customer file, all you have to do is zoom from the
  442. orders file to the customer file, add the missing address, and
  443. return to the orders file.
  444.  
  445. You can use look up files to provide data for calculations which
  446. Nutshell will automatically perform, storing the result in the base
  447. file. For example, a payroll office might keep employee records in
  448. one file, records of time worked in a second file, and payroll
  449. records in a third file. For any pay period each person's gross pay
  450. can be calculated by taking the employee's hourly rate from the
  451. personnel tile, multiplying it by the number of work hours from the
  452. time worked file, and storing the result in the payroll file.
  453.  
  454. You can sort data from both the base file and look up files
  455. together, summarizing the data on layouts in the base file. For
  456. example, checks printed from the payroll file can be sorted and
  457. summarized first by department and then by employee's name (fields
  458. in the personnel file).
  459.  
  460. On any layout in the base file you can also display data from a
  461. look up file. The data in the look up file is not transferred to
  462. the base file; it remains in the look up file. But you can display
  463. it, use partitions to format it, and print it, as if the looked up
  464. data were all kept in the base file. For example, you could create
  465. an invoice layout in an accounts receivable file that displays the
  466. addresses from a customer file.
  467.  
  468. You can start using Nutshell by creating a new file, defining
  469. fields, and using the standard layout to add data This is all you
  470. need to do in order to view, edit, find, sort, and print records.
  471.  
  472. By finding records according to specific criteria, you can work
  473. with just the records you need. For example, in a personnel file
  474. you could find records for employees hired within the last month,
  475. or find records for those who work in a department that is to be
  476. moved to a new facility.
  477.  
  478. By sorting records, you can browse or print records in the order
  479. you need. For example, you could sort personnel records by date of
  480. hire in order to review seniority.
  481.  
  482. Using these capabilities already gives you significant advantages
  483. over manual filing systems. With the records stored in a Nutshell
  484. file instead of a paper file, you never have to retype data when
  485. you need information in a new form. You can find things more
  486. quickly, update records easily, and put information in order
  487. without shuffling papers.
  488.  
  489. However, you'II get the most out of Nutshell if you also take
  490. advantage of its more powerful capabilities: to create multiple
  491. layouts, to summarize data, to link files together, and to create
  492. your own macros to automate tasks.
  493.  
  494. Multiple layouts provide you with the ability to view the same data
  495. in a number of different ways. On any layout you can specify the
  496. fields you want to include, as well as the size and shape of each
  497. field. You can use highlighting, such as underlined or bold
  498. characters, to emphasize field contents. You can change or remove
  499. text that labels each field, and add titles, instructions, or other
  500. text as needed. You can have Nutshell automatically format your
  501. fields. And you can control margins at the top and bottom of
  502. printed pages, as well as the placement of page breaks.
  503.  
  504. One of the many flexible features of Nutshell is the ability to
  505. automatically calculate summaries when you define a summary field.
  506. A summary field shows the total, average, or count of another field
  507. in the records. For example, you could have Nutshell automatically
  508. calculate both the average salary and total salary of all the
  509. employees. By finding a particular group of records, such as
  510. employees with more than ten years of service, you can browse or
  511. print the summary for just those records.
  512.  
  513. By using other summary fields and sorting the records differently,
  514. you can use the same data to analyze different groups of records.
  515. For example, by creating a summary field that totals a field
  516. tracking attendance, you could sort records by department and
  517. determine which departments should be rewarded for low rates of
  518. employee absenteeism.
  519.  
  520. Linking files allows you to use data from a number of different
  521. files. The Zoom option lets you open and use a linked file without
  522. having to close the file you're currently using. You can create
  523. layouts that use fields from look up files to display data from
  524. other files. And you can sort records in the current file using
  525. fields in look up files.
  526.  
  527. The macro feature greatly expands the scope of Nutshell's
  528. capabilities. Macros not only automate tasks you perform regularly
  529. or routinely with Nutshell, they also automate lengthy or complex
  530. tasks that you might not otherwise carry out because of the time it
  531. takes to type a long sequence of Nutshell commands and wait while
  532. each command is performed. A macro is a single command which
  533. automatically performs a whole series of steps that you would
  534. otherwise have to do manually, one after the other. When you use a
  535. macro, you give only one command, and Nutshell carries out the
  536. sequence of steps you've specified.
  537.  
  538. For example, using the Copy and Paste macros that are automatically
  539. included in every Nutshell file, you can copy data or layout text
  540. from anywhere in a file, then paste it where you want, even to a
  541. different file. You can create a macro that makes the same change
  542. on every record in a file, or a macro that finds, sorts, and prints
  543. records in a report. Managers can set up lengthy sequences of
  544. Nutshell steps that they want performed weekly or monthly, and have
  545. untrained users prepare complex reports by simply typing one or two
  546. keystrokes.
  547.  
  548. Because you can define new fields, create and edit layouts, share
  549. data by linking files, find or sort records, and create macros
  550. whenever you need to, you can learn to use Nutshell's capabilities
  551. one by one as needs arise. For example, you don't need to use the
  552. Layout option until you want to change the size or shape of a
  553. field, to include fields from a linked file, or to rearrange the
  554. way your records look.
  555.  
  556. Nutshell lets you change your files and create new links between
  557. files as your needs grow. You might want to start out using a
  558. single file to get familiar with what Nutshell can do; later you
  559. can link groups of files together as you need to. As you use more
  560. of Nutshell's capabilities, you'II manage your information with
  561. less effort and more control. You may find yourself creating
  562. summarized reports, customized form letters, alphabetized
  563. directories, and many other documents that were too time consuming
  564. or difficult to compile with information stored only in paper
  565. files.
  566.  
  567. This section explains what's on the disks included in your Nutshell
  568. Plus 11 package and outlines the computer system requirements and
  569. options for running Nutshell Plus 11. It also provides instructions
  570. for installing and running both the Nutshell Plus 11 program and
  571. the Guided Tour. The Guided Tour uses sample files to give you an
  572. introduction to Nutshell Plus II's most important features before
  573. you start creating your own files.
  574.  
  575. Your Nutshell Plus 11 package contains five disks: three 5 25 inch
  576. disks and two 3.5 inch disks. Before getting acquainted with
  577. Nutshell Plus 11. you should make copies of each of the disks
  578. you're going to use. store the originals in a safe place. and use
  579. your copies to run Nutshell Plus 11, If you always use working
  580. copies of the disks, you'II be able to make fresh copies from the
  581. original disks in the event of a mishap. Use the DOS DISK COPY
  582. command to copy everything on each original disk to blank disks.
  583. For instructions, refer to your DOS manual. Of course, you can also
  584. use the DOS COPY command to copy individual files if you want to
  585. group them differently from the arrangement on the original disks.
  586. For example, if you are using a single drive system, you may want
  587. to copy the Nutshell Plus 11 help file (NUT PLUS.HOP) to the disk
  588. on which you will store data files instead of to a working copy of
  589. the Program Disk; this lets you access the help screens while
  590. working with your files.
  591.  
  592. The sections below explain the files that are on each disk and note
  593. any requirements for using the files. Refer to the section
  594. Installing and Running Nutshell Plus 11 later in this chapter for
  595. directions on using Nutshell Plus 11 with different system
  596. configurations.
  597.  
  598. If You're Using 5.25 Inch Disks
  599.  
  600. There are three 5.25 inch disks: the Program Disk, the Utilities
  601. Disk, and the Guided Tour Disk.
  602.  
  603. The Program Disk
  604.  
  605. The Program Disk contains all you need to run the Nutshell Plus 11
  606. program. Filename: Description:
  607.  
  608. NUT PLUS.EXE Nutshell Plus 11 program file. This file is essential
  609. for running Nutshell Plus 11.
  610.  
  611. NUT PLUS.HLP Nutshell Plus 11 help file.
  612.  
  613. This file is especially useful while you are learning Nutshell Plus
  614. 11, or if you use Nutshell Plus 11 infrequently. It allows you to
  615. view screens that describe menu options and useful keys as you are
  616. working with Nutshell Plus II, by pressing the F1 key. Once you are
  617. acquainted with Nutshell Plus II, you may want to save disk space
  618. by deleting this file from your working copy of the Program Disk.
  619.  
  620. Note: If you are using a single drive system, you should copy the
  621. NUTPLUS.HLP file to each disk you will use to store Nutshell data
  622. files. In order for Nutshell to display help screens when you press
  623. F1, NUTPLUS.HLP must be on a disk that is in the drive.
  624.  
  625. If you are using Directories to organize your files, make sure your
  626. copy of the NUTPLUS.HLP file is in the same directory as
  627. NUTPLUS.EXE and NUTUTILS.EXE, or use the PATH command to specify a
  628. different directory. Consult your DOS manual for information on how
  629. to use the PATH command.
  630.  
  631. The Utilities Disk
  632.  
  633. The Utilities Disk contains utilities that allow you to compress
  634. Nutshell files in order to conserve disk space, and to recover
  635. Nutshell files that have been damaged due to a hardware failure,
  636. power failure, or other problem with your computer system.
  637. Directions for using the utilities are provided in Appendix B.
  638. Filename: Description:
  639.  
  640. NUTUTILS.EXE Utilities program file.
  641.  
  642. NUT PLUS.HLP Nutshell Plus II help file. This is identical to the
  643. help file on the Program Disk and is provided so you can use the F1
  644. key to get help while you are running the utilities program. To get
  645. help while using the utilities, the NUTPLUS.HLP file must be in the
  646. same directory as NUTUTILS.EXE, or you must use the PATH command to
  647. specify the directory in which NUTPLUS.HLP is stored. Consult your
  648. DOS manual for information on how to use the PATH command.
  649.  
  650. INSTALL.BAT Hard Disk Install batch file.
  651.  
  652. Installing Nutshell on Your System
  653.  
  654. The Guided Tour Disk (5.25 Inch)
  655.  
  656. This disk contains all the files you need to nun the Guided Tour,
  657. which uses sample database files to introduce you to Nutshell's
  658. most important features. The Guided Tour is divided into segments
  659. that you choose one at a time, so you can stop after any segment
  660. and continue later. Details on how to take the Guided Tour are
  661. provided at the end of this chapter in the section Running the
  662. Guided Tour. After you're familiar with Nutshell Plus 11, you
  663. probably won't need the files on your copy of the Guided Tour Disk;
  664. however, you should feel free to copy the sample files for
  665. experimentation or for adaptation to your own work
  666.  
  667. If You're Using 3.5 Inch Disks
  668.  
  669. There are two 3.5 inch disks: the Program/Utilities disk and the
  670. Guided Tour disk. These disks contain the same files as are on the
  671. 5.25 inch disks. The Nutshell Plus 11 program file and the Nutshell
  672. utilities file are on one 3.5 inch disk, along with the Nutshell
  673. Plus 11 help file.
  674.  
  675. The Program/Utilities Disk
  676.  
  677. The Program/Utilities Disk contains all you need to run the
  678. Nutshell Plus 11 program, to compress Nutshell files in order to
  679. conserve disk space, and to recover Nutshell files that have been
  680. damaged due to a hardware failure, power failure, or other problem
  681. with your computer system. Directions for using the utilities are
  682. provided in Appendix B.
  683.  
  684. NUTPLUS.HLP Nutshell Plus II and utilities help file. This file is
  685. especially useful while you are learning Nutshell Plus II, or if
  686. you use Nutshell Plus II infrequently. It allows you to view
  687. screens that describe menu options and useful keys as you are using
  688. Nutshell Plus II Plus II or the Nutshell utilities program, by
  689. pressing the F1 key. Once you are acquainted with Nutshell Plus II,
  690. you may want to save disk space by deleting this file from your
  691. working copy of the Program Disk.
  692.  
  693. Note: If you are using a single drive system, you should copy the
  694. NUTPLUS.HLP file to each disk you will use to store Nutshell data
  695. files. In order for Nutshell Plus II to display help screens when
  696. you press F1, NUTPLUS.HLP must be on a disk that is in the drive.
  697.  
  698. If you are using directories to organize your files, make sure your
  699. copy of the NUTPLUS.HLP file is in the same directory as
  700. NUTPLUS.EXE and NUTUTILS.EYE, or use the PATH command to specify a
  701. different directory. Consult your DOS manual for information on how
  702. to use the PATH command.
  703.  
  704. Installing Nutshell on Your System The Guided Tour Disk (3.5 Inch)
  705.  
  706. This disk contains all the files you need to run the Guided Tour,
  707. which uses sample database files to introduce you to Nutshell Plus
  708. lI's most important features. The Guided Tour is divided into
  709. segments that you choose one at a time, so you can stop after any
  710. segment and continue later. Details on how to take the Guided Tour
  711. are provided at the end of this chapter in the section Running the
  712. Guided Tour. After you're familiar with Nutshell Plus 11, you
  713. probably won't need the files on your copy of the Guided Tour Disk;
  714. however, you should feel free to copy the sample files for
  715. experimentation or for adaptation to your own work
  716.  
  717. System Requirements and Options
  718.  
  719. Nutshell Plus II supports the optional Intel 8087 and 80287 math
  720. coprocessor chips.
  721.  
  722. Operating System
  723.  
  724. Disk Operating System (DOS) Version 2.0 or higher. Operating
  725. Environment
  726.  
  727. Nutshell Plus II is compatible with the optional Microsoft Windows,
  728. DESQview, TopView, and DoubleDOS operating environments, but may
  729. not take advantage of all the features of these products.
  730.  
  731. Memory At least 384K of Random Access Memory (RAM). Nutshell Plus
  732. II will use any extra memory up to the full 640K. If you are using
  733. one of the optional operating environments listed above, consult
  734. the manual that came with the operating environment software for
  735. memory requirements. The more memory you have installed (up to
  736. 640K), the faster Nutshell Plus II will perform.
  737.  
  738. Installing Nutshell on Your System
  739.  
  740. Disk Drive
  741.  
  742. At least one double sided, double density floppy disk drive, either
  743. 5 25
  744.  
  745. inch or 3.5 inch. Nutshell Plus 11 can also be used on a system
  746. with two floppy disk drives or a hard disk.
  747.  
  748. Monitor
  749.  
  750. Either a monochrome or a color 80 column monitor. Both monochrome
  751. and color display adapters are supported.
  752.  
  753. Printer
  754.  
  755. Nutshell Plus 11 works with a number of different parallel and
  756. serial printers. When you prepare to print from Nutshell Plus 11,
  757. you can choose your printer model by name from a list displayed on
  758. the screen. If your printer is not among the more than 60 models
  759. listed, you can choose a standard setting that uses the preset
  760. information in your printer to determine line spacing, character
  761. spacing, and paper length.
  762.  
  763. Installing and Running Nutshell
  764.  
  765. If you haven't already done so, make copies of each of the disks
  766. that came with your Nutshell Plus 11 package as suggested in the
  767. earlier section What's on the Disks. The original disks are your
  768. insurance that you can continue to use Nutshell Plus 11 if your
  769. working copies of the disks become damaged or lost.
  770.  
  771. When you've made working copies of the disks you're going to use,
  772. find your system configuration below and follow the instructions.
  773.  
  774. Using The Install Batch File (with a hard disk): If you have a hard
  775. drive on your system you can use the install batch file which will
  776. create a directory for Nutshell Plus 11 (named Nut plus) and then
  777. copy the required programs into that directory. Alternately you can
  778. follow the instructions later in this section if you do not wish to
  779. use the install batch procedure.
  780.  
  781. 1. When DOS displays the C:> prompt insert your copy of the
  782. Nutshell Plus 11 Utilities Disk into either the A or B floppy
  783. drive.
  784.  
  785. 2. Log onto the floppy drive which now contains the Utilities Disk.
  786. If your disk is in drive A for example, type A: and press return.
  787. 3. When DOS displays the prompt such as A:> or B:>, type install
  788. followed by the name of the source (floppy) drive and the target
  789. (hard) drive, then press return. For example to install Nutshell
  790. Plus 11 from your A drive to your C drive you would type the
  791. following: install a: c:return
  792.  
  793. You may install Nutshell Plus 11 from either the A or B drive to
  794. any hard drive or existing partition on your hard drive from C to
  795. H. The install batch will create a subdirectory called Nutplus on
  796. the selected drive. If this subdirectory already exists, files in
  797. that directory which have the same name as the new files will be
  798. overwritten. You should rename or make copies of any such files
  799. that you wish to retain. No .db files will be overwritten during
  800. the installation procedure, but backup copies should always be
  801. maintained.
  802.  
  803. On a single drive system:
  804.  
  805. 1. Load DOS from your DOS disk according to the instructions in
  806. your DOS manual.
  807.  
  808. Installing Nutshell on Your System
  809.  
  810. 2. When DOS displays the A> prompt, take the DOS disk out of the
  811. drive and insert your copy of the Nutshell Plus 11 Program Disk.
  812.  
  813. 3. Type nutplus, then press return. The system loads Nutshell Plus
  814. 11 into memory.
  815.  
  816. 4. When the Nutshell Plus 11 screen appears, take your copy of the
  817. Nutshell Plus 11 Program Disk out of the drive and insert a data
  818. disk (a formatted disk you will use to store your Nutshell data
  819. files). For instructions on creating new files or using existing
  820. files, turn to the chapter Opening and Closing a File. To use on
  821. line help, the data disk must contain a copy of NUTPLUS.HLP. For
  822. instructions on copying NUTPLUS.HLP to your data disks, refer to
  823. your DOS manual.
  824.  
  825. 5. To exit Nutshell Plus 11 and return to DOS, press the Esc
  826. (Escape) key.
  827.  
  828. Note: To prevent loss of data, always make sure the DOS prompt is
  829. displayed and the disk drive light is out before removing your data
  830. disk from the drive or turning off your computer.
  831.  
  832. Running the Guided Tour
  833.  
  834.  The Guided Tour is divided into segments that each take less than
  835. twenty minutes to run. You can stop after any segment and return
  836. later to finish the tour.
  837.  
  838. To run the Guided Tour:
  839.  
  840. 1. Load DOS.
  841.  
  842. 2. At the DOS prompt, make the drive from which you will run the
  843. Guided Tour be the current drive. For example, if you will run the
  844. Guided Tour from drive A, type a :, then press return
  845.  
  846. 3. Insert your copy of the Guided Tour Disk in the current drive.
  847. If you have not yet made a copy, do so now, following instructions
  848. in your DOS manual.
  849.  
  850. 4. Type tour, then press return. The system loads the Guided Tour
  851. into memory.
  852.  
  853. 5. Follow the instructions on the screen.
  854.  
  855. 6. To end a segment of the Guided Tour at any point, press the Esc
  856. (Escape) key. Select another segment, or, to return to DOS, press
  857. Esc once more.
  858.  
  859. Nutshell Plus 11 Conventions
  860.  
  861. The Screen Nutshell is designed to provide a consistent framework
  862. in which you manage your data. You can expect to see certain types
  863. of information in particular areas of the screen, to use special
  864. keys to get particular results, and to use menus in a systematic
  865. way to select available options.
  866.  
  867. This section introduces the conventions Nutshell uses to make
  868. managing your files a straightforward process. Even if you're used
  869. other database products, you should read this section to find out
  870. how Nutshell uses special keys on the keyboard and to get an
  871. overview of the menu structure. You should also note how to take
  872. advantage of on line help, which serves as a quick reference for
  873. the screen or option you are using.
  874.  
  875. The Screen
  876.  
  877. The first screen you see when you open a Nutshell file is shown
  878. below. It serves to illustrate the basic landscape of all Nutshell
  879. Plus II screens.
  880.  
  881. The name of the screen is centered on the top line. To the right of
  882. the screen name is status information, such as the number of
  883. records when you are viewing the Browse, Add, or Modify screens, or
  884. the position of the cursor when you are viewing the Layout screen.
  885. Here, it shows that the records are sorted and that you are working
  886. with a subset of the file (the number of records found). The
  887. abbreviation Pug followed by an arrow symbol tells you which keys
  888. you can press to look at other "pages" (records, layouts, and so
  889. on): 1 indicates that you are viewing the last page and can use the
  890. Pgup key to look at previous pages, I indicates that you are
  891. viewing the first page and can use the PgDn key to look at
  892. subsequent pages, and t shows that you can use either Pgup or PgDn.
  893.  
  894. When a blinking bullet ( ) appears in the upper right corner of the
  895. screen, it means that Nutshell is busy saving changes you've made
  896. to the file, or is carrying out a command, such as sorting records.
  897.  
  898. The Help and Menu functions are available on every screen, as
  899. indicated at the top left. The F1 function key displays a help
  900. screen that describes the current screen and its options. The F2
  901. function key moves the cursor to the menu, where you can select the
  902. option you want. The menu is always on the bottom line of the
  903. screen and lists the options available from the current screen.
  904.  
  905. When you are using a file that has links to look up files, the
  906. information at the top left changes. The name of the file you're
  907. currently working with is displayed. When you use the Zoom option
  908. to open a look up file, the name of the look up file is displayed
  909. along with the name of the base file (the file from which you
  910. started). If you zoom from the look up file to another look up
  911. file, Nutshell displays the path of the link, from the base file to
  912. the look up file. If you zoom again to another look up file, and
  913. the path of links doesn't fit, Nutshell omits the earlier
  914. characters, replacing them with an ellipsis (. . .).
  915.  
  916. Nutshell uses the line above the menu to give messages or
  917. instructions. Often this line tells you how to complete or cancel
  918. an option that you have initiated. For example, if you are using
  919. the Browse screen and you try to type in the record displayed,
  920. Nutshell gives you a message reminding you to select Modify before
  921. you type
  922.  
  923. The middle area of the Browse screen is used to display your
  924. records, one at a time. On other screens this is your work area the
  925. space where you define, add, modify, or arrange your data. When the
  926. cursor is in the work area, it shows where you can type, or
  927. indicates which item will be affected by a menu option you select.
  928.  
  929. On line Help
  930.  
  931. Nutshell has built in help right on the screen to explain every
  932. menu option.just press F1, the ~help~ key, and Nutshell displays
  933. information about the
  934.  
  935. current screen, a quick reference for the available options, and a
  936. list of useful keys. You can press F1 from any screen in Nutshell.
  937.  
  938. When you're finished consulting the help screen, just press the Esc
  939. (Escape) key to return to what you were doing.
  940.  
  941. Note: In order to use F1 to get help, NUTPLUS.HLP must be in the
  942. current directory or a directory specified in the PATH command. For
  943. details, see the sections What's on the Disks and Installing and
  944. Running Nutshell in the previous chapter Installing Nutshell on
  945. Your System.
  946.  
  947. The Menus
  948.  
  949. The menu at the bottom of each Nutshell Plus 11 screen shows the
  950. options F2 | you can select from that screen. You never have to
  951. type commands or J remember complicated syntax.
  952.  
  953. The menu map on the following page shows all the main screens and
  954. options. As you can see from the map, the Browse screen is the
  955. point of departure for all the main tasks involved in managing
  956. data: finding, adding, modifying, and so on. Below the box
  957. representing each main task, the options are listed for controlling
  958. different aspects of the task.
  959.  
  960. To select a menu option:
  961.  
  962. 1. Press the F2 key to move the cursor to the menu. 2. Move the
  963. cursor to the option you want using any of the following:
  964.  
  965. First letter of the option ∙ Spacebar ∙ (Cursor Left and Cursor
  966. Right keys) (Tab key) and (Shift Tab) (Backspace key)
  967.  
  968. 3. Press the return key. or
  969.  
  970. 1. Hold down the Alt (Alternate) key and type the first letter of
  971. the option.
  972.  
  973. To cancel a menu selection:
  974.  
  975. 1. Press the Esc (Escape) key. By pressing Esc, you can move back
  976. up one level at a time through the menus.
  977.  
  978. After you're familiar with Nutshell, you may want to use the Quick
  979. Reference at the back of the manual to refresh your memory on how
  980. to reach a particular option, or to check on the result of
  981. selecting a given option. The Quick Reference contains a more
  982. detailed menu map than the one shown here, and provides a brief
  983. explanation of each option.
  984.  
  985. The Keyboard
  986.  
  987. Variety is the spice of life except in keyboards, where it
  988. complicates matters. For purposes of simplicity, this manual refers
  989. to keys according to the names or symbols used on the Enhanced IBM
  990. keyboard shown below. If you are using a system with a different
  991. keyboard, you should familiarize yourself with the key names in
  992. this illustration, so you can equate the names to the appropriate
  993. keys on your keyboard.
  994.  
  995.  (Enter) and Esc (Escape)
  996.  
  997. The two most important keys in using Nutshell are
  998.  
  999. (Enter) and Esc.
  1000.  
  1001. Press return to go ahead with a process, such as selecting a menu
  1002. option or closing a file. Whenever the instructions at the bottom
  1003. of the screen say to press return to accomplish something, you can
  1004. press F10 or the + (plus) key in the numeric keypad to accomplish
  1005. the identical action.
  1006.  
  1007. On some screens, return has another function: to move the cursor to
  1008. the next line, as it does in word processing. Where this is the
  1009. case, it is noted in the appropriate section of the manual.
  1010.  
  1011. Press Esc to cancel a process (such as sorting records) or to
  1012. indicate that you have completed specifying information (such as
  1013. defining fields or changing a layout). Pressing Esc usually
  1014. displays the screen that is one level higher in the menu network.
  1015. By successively pressing Esc, you display the Browse screen, which
  1016. is the point of departure for all the other screens.
  1017.  
  1018. Function Keys
  1019.  
  1020. Nutshell uses four function keys: F1, F2, F9 and F10. When pressed
  1021. from any Nutshell Plus II screen, these keys do the following:
  1022.  
  1023. F1 displays a help screen that contains information about the
  1024. current screen, the available menu options, and the functions of
  1025. special keys. (See the earlier section, On line Help, for more
  1026. detail.)
  1027.  
  1028. F2 moves the cursor to the menu at the bottom of the screen.
  1029.  
  1030. F9 displays the Macros screen with the four redefined macros, Copy,
  1031. Paste, Date, and Time, and any other macros you subsequently
  1032. create. F9 is available once you've opened a file.
  1033.  
  1034. F10 tells Nutshell to go forward with a task, such as selecting an
  1035. option from a menu or deleting a layout. Pressing the + (plus) key
  1036. in the numeric keypad has the same effect as pressing F10.
  1037.  
  1038. The other function keys (F3 through F8) are unassigned by Nutshell,
  1039. and can be assigned by the user as macro nicknames. For information
  1040. about macros, see the chapter Automating Tasks Using Macros.
  1041.  
  1042. Pressing
  1043.  
  1044. (Tab) moves the cursor to the next item. For example, in a Tab
  1045. moves the cursor to the next option. In a record, moves the cursor
  1046. to the next field in which you can type.
  1047.  
  1048. Pressing (Shift tab) moves the cursor back one item (in the
  1049. opposite
  1050.  
  1051. direction For Shift Tab, hold down the (Shift) key while you press
  1052.  
  1053. Alt (Alternate)
  1054.  
  1055. In Nutshell the Ale key gives you a short cut for selecting menu
  1056. options. Hold down Alt and type the first letter of the option you
  1057. want. Also you can enter extended ASCII characters by pressing the
  1058. Alt key while typing the decimal value on numeric keypad with num
  1059. lock on.
  1060.  
  1061. For example to enter the escape key value, type Alt 027
  1062.  
  1063. Ctrl (Control
  1064.  
  1065. Ctrl, like the (Shift) and Alt keys, is always used in combination
  1066. with another key. It provides a quick way to move the cursor to the
  1067. beginning or end of a record or a file, or to the edge of the
  1068. screen. With unassigned letter keys it can also be used for macro
  1069. nicknames. Hold down the Carl key while you press the second key:
  1070.  
  1071. Note if the cursor is already at the edge of the screen, Nutshell
  1072. scrolls one screen in the direction of the arrow.
  1073.  
  1074. (Backspace)
  1075.  
  1076. Pressing (Backspace) deletes the character to the left of the
  1077. cursor.
  1078.  
  1079. Backspaces When insert mode is on (controlled by pressing the
  1080. Insert key), pressing (Backspace) causes all the characters to the
  1081. right of the cursor to move left to fill the space. When replace
  1082. mode is on, the deleted character is replaced with a space, and the
  1083. characters to the right of the cursor don't move.
  1084.  
  1085. Control Keys and Numeric Keypad
  1086.  
  1087. The Ins (Insert) key switches between insert mode and replace mode.
  1088. Inserts When the effect of the key is to insert characters, the
  1089. cursor is a block when the effect is to replace characters, the
  1090. cursor is an underscore (
  1091.  
  1092. The Del (Delete) key deletes the character at the cursor position.
  1093. All the characters to the right are moved left to fill the space.
  1094.  
  1095. Home and End move the cursor to the beginning or the end of a field
  1096. or line
  1097.  
  1098. Pgup (Page Up) and PgDn (Page Down) move one page at a time. A
  1099.  
  1100. Page in Nutshell corresponds to a record, a layout, or a pattern of
  1101. criteria for finding records, depending on the menu option you have
  1102. selected. A page also corresponds to the section of a list (of
  1103. files, fields, or other items) that can be displayed on the screen
  1104. at one time. You can use Pgup and PgDn to display other sections of
  1105. the list.
  1106.  
  1107. The (Cursor Up) (Cursor Down), (Cursor Left), and
  1108.  
  1109. (Cursor Right) keys move the cursor one space at a time in the
  1110. direction of the arrow. (If the cursor is already at the edge of
  1111. the screen, Nutshell scrolls the screen.)
  1112.  
  1113. The PrtSc (Print Screen) key, when used with the Ctrl key, prints
  1114. a list that's displayed on your screen.
  1115.  
  1116. Pressing the Num Lock (Number Lock) key switches the operation of
  1117. this set of keys between a numeric keypad (which speeds typing of
  1118. numbers) When Num Lock is on, the keys are used to type the number
  1119. or symbol on the key. The only exception is the + (plus) key, which
  1120. is used throughout Nutshell to complete an action. Whenever Num
  1121. Lock is on, a light comes on in the status light area of the
  1122. keyboard to remind you of the fact.
  1123.  
  1124. When Num Lock is off, the keys are used to move the cursor and to
  1125. scroll to areas off the current screen.
  1126.  
  1127. You can hold down the (Shift) key to temporarily reverse Num Lock.
  1128. For example, when you are using the numeric keypad to type numbers,
  1129. you can hold down the Shift key and use the cursor keys to move the
  1130. cursor.
  1131.  
  1132. Useful Keys for Lists of Items
  1133.  
  1134. To save you from having to type names of things you want to work
  1135. with, Nutshell lets you select items from lists with the cursor.
  1136. For example, you can select a filename from a list of files on your
  1137. disk instead of typing the filename to create or open the file. The
  1138. process is the same as that for selecting an option from the menu:
  1139. you move the cursor to the item you want, then press return.
  1140.  
  1141. In some lists you move the cursor to an item, then select an option
  1142. from the menu to work on the item. For example, you delete a field
  1143. by moving the cursor to the field that you want to delete, then
  1144. selecting the Delete option from the menu.
  1145.  
  1146. Using the Ctrl Print Screen key you can also print any list for
  1147. reference, such as a list of field definitions, files in a
  1148. particular directory, and so on.
  1149.  
  1150. To work with items in lists:
  1151.  
  1152. 1. Move the cursor to the item you want using any of the following:
  1153. First letter (or number) of the item name
  1154.  
  1155. Spacebar and
  1156.  
  1157. (Backspace) keys (Cursor Up and Cursor Down) keys
  1158.  
  1159. If the list contains more items than are displayed, Nutshell
  1160. displays the Pgup, Pgdn or Pg symbol in the upper right corner. Use
  1161. the PgDn key to scroll to the next page of the list and the Pgup
  1162. key to scroll to the previous page.
  1163.  
  1164. To move the cursor to the first item in the list, press Ctrl PgUp
  1165. or Ctrl Home; to move the cursor to the last item in the list,
  1166. press Ctrl PgDn or Ctr End.
  1167.  
  1168. 2. Press return to select the item, or select the menu option that
  1169. applies to the item.
  1170.  
  1171. if an item is wider than the width of the list, you can display
  1172. additional characters to the right by pressing (Cursor Right), and
  1173. scroll back to the left by pressing (Cursor Left). To scroll many
  1174. characters at once, press Ctrl or Ctrl
  1175.  
  1176. To print a list:
  1177.  
  1178. 1. Hold down the Carl (Control) key and press the Print Screen
  1179. (PrtSc) key. Nutshell asks for the destination, which can be an
  1180. attached printer or a DOS file.
  1181.  
  1182. 2. Type the device name assigned to your printer, such as LPT1: or
  1183. COM1:, or type a legal DOS filename. For more details on specifying
  1184. a destination, see the section Preparing for Printing in the
  1185. chapter Printing Information.
  1186.  
  1187. 3. Press return. Nutshell prints the list or stores it in the file
  1188. as specified.
  1189.  
  1190. Useful Keys for Typing and Editing Text
  1191.  
  1192. When you type in Nutshell, you can always correct your typing on
  1193. the spot, whether you are typing a filename, data in a field, text
  1194. on a layout, or anything else. The table below summarizes the keys
  1195. to use in typing and editing in a Nutshell file.
  1196.  
  1197. This section tells you the mechanics of creating, opening, and
  1198. closing files. It also tells how to exit Nutshell, and mentions the
  1199. DOS commands you should use to make backups of files and to delete
  1200. files.
  1201.  
  1202. As a safety feature, Nutshell automatically saves your changes to
  1203. a file during short lulls in your work activity. This is why you
  1204. may notice the disk drive light flashing even when you haven't
  1205. touched the keyboard. If the time Nutshell chooses to update the
  1206. file is inconvenient for you, just proceed with your work--Nutshell
  1207. stops updating when you use the keyboard, and waits for another
  1208. pause in order to save your changes.
  1209.  
  1210. Even though your file is updated frequently, you should always
  1211. close a file before turning off the computer or removing the disk
  1212. on which the file is stored. This ensures that no data will be
  1213. lost. See the section Closing a File and Exiting Nutshell later in
  1214. this chapter.
  1215.  
  1216. Creating a New File
  1217.  
  1218. Creating a new Nutshell tile is a straightforward process which, in
  1219. its most usual form, consists of running Nutshell and typing a
  1220. filename. Variations include running Nutshell and typing the
  1221. filename both in one step from DOS, and issuing DOS commands within
  1222. Nutshell in order to create a new file on a different disk, or in
  1223. a directory other than the current directory. For the latter,
  1224. Nutshell provides menu options to streamline the process.
  1225.  
  1226.  To create a new file:
  1227.  
  1228. 1. Run Nutshell according to the instructions in the earlier
  1229. chapter Installing Nutshell on Your System. The Nutshell Plus 11
  1230. screen is displayed .
  1231.  
  1232. 2. To create a file in the current directory on the disk in the
  1233. current drive, type a legal DOS filename, then press return. (Refer
  1234. to your DOS manual for restrictions on filenames.) If you don't
  1235. type an extension, Nutshell automatically adds the extension .db to
  1236. the filename.
  1237.  
  1238. To create the file on a disk in a different drive, precede the
  1239. filename with the drive specifies. For example, if you are running
  1240. Nutshell from
  1241.  
  1242. Note: You can combine the first two steps of this process by typing
  1243. the new filename directly from DOS. Type a space after nutplus,
  1244. then the filename, then press return. On the Nutshell Plus 11
  1245. screen, the filename you typed appears in the space for the
  1246. filename.
  1247.  
  1248. 3. If the filename is as you want it, press return again to create
  1249. and open the file. If you need to correct the filename, press the
  1250. Esc (Escape) key, make the correction, then press return. Nutshell
  1251. displays the Browse screen with instructions to select Define in
  1252. order to define fields for the new file. For information about
  1253. defining fields to hold your data, refer to the chapter Designing
  1254. Files.
  1255.  
  1256. To create the new file in a different directory:
  1257.  
  1258. 1. Select Show Files from the Nutshell Plus 11 screen. (For details
  1259. on selecting menu options, refer to the section The Menus in the
  1260. chapter Nutshell Conventions.) Nutshell displays a list of files
  1261. with the .db extension in the current directory, and a new menu
  1262. appears with the options Drive, Extension, and Path.
  1263.  
  1264. 2. Select Path.
  1265.  
  1266. 3. Type the path on the line provided at the top of the screen,
  1267. then press return. The path is the series of directory names (from
  1268. the root directory or
  1269.  
  1270. 3. Type the path on the wine provided at the top of the screen,
  1271. then press return. The path is the series of directory names (from
  1272. the root directory or from the current directory) that lead to the
  1273. directory in which you want the file to be stored. Refer to your
  1274. DOS manual if you need instructions for specifying the path.
  1275.  
  1276. Note: Changing the path changes the directory in which the new file
  1277. is stored. When you exit Nutshell, the current directory is reset
  1278. to the one from which you ran Nutshell.
  1279.  
  1280. or
  1281.  
  1282. Select Show Directories to select (instead of typing) the directory
  1283. names that compose the path. (For details on selecting items from
  1284. lists, refer to the section The Keyboard in the chapter Nutshell
  1285. Conventions.)
  1286.  
  1287. The Show Directories option lets you change the current directory
  1288. and display a list of directories beneath the new current
  1289. directory. <Root, and <parent, directories are also listed.
  1290.  
  1291. Select <parent, to change the current directory to one immediately
  1292. above the directory listed in the path.
  1293.  
  1294. Select <root to change the current directory to the top level
  1295. directory (the root directory).
  1296.  
  1297. Specify the path by successively selecting directory names from the
  1298. displayed lists, starting with the highest level subdirectory in
  1299. the path. Each time you select a directory beneath the one already
  1300. in the path, the directory is added to the path (displayed at the
  1301. top of the screen).
  1302.  
  1303. 4. When the path is correctly specified, press Esc. Nutshell moves
  1304. the cursor back up to the path.
  1305.  
  1306. 5. Press Esc again. Nutshell displays a list of files in the
  1307. specified directory.
  1308.  
  1309. 6. Press Esc, then type the filename and press return. To create
  1310. and open the new file in the directory you specified, press return
  1311. once more.
  1312.  
  1313. you'II notice a striking similarity between the directions for
  1314. opening an existing file and those for creating a new file. In
  1315. order to open a file, all you have to do is run Nutshell and type
  1316. the name of the file. The instructions that follow go into more
  1317. detail, and mention a shortcut for those who prefer to open files
  1318. directly from DOS. They also contain more about how to use Show
  1319. Files, the Nutshell menu option that lets you scan the contents of
  1320. your disks within Nutshell, in order to select a file from a list
  1321. rather than having to remember where n is stored and type the
  1322. filename.
  1323.  
  1324. If the file you are opening has links to look up files, the look up
  1325. files need to be available to Nutshell. When you try to open a file
  1326. that has links to look up files, Nutshell first looks for the look
  1327. up files in the current directory on the current drive. If a look
  1328. up file is not found, Nutshell then looks in the directory (and
  1329. drive) where the look up file was located when you last used the
  1330. file that you're in the process of opening. If Nutshell still can't
  1331. find the look up file, a message informs you that it can't be
  1332. found. You can either go ahead and open and use the file, not using
  1333. the link, tell Nutshell where to find the look up file by typing
  1334. the path name, or specify another filename.
  1335.  
  1336. To open an existing Nutshell file by typing the filename:
  1337.  
  1338. 1. Run Nutshell according to the instructions in the earlier
  1339. chapter Installing Nutshell Plus 11 on Your System. The Nutshell
  1340. Plus 11 screen is displayed .
  1341.  
  1342. 2. to open a file in the current directory on the disk in the
  1343. current drive, type the filename. If the extension is .db, you
  1344. don't need to type the extension.
  1345.  
  1346. To open a file on a disk in a different drive, precede the filename
  1347. with the drive specifies. For example, if you are running Nutshell
  1348. from a hard disk (drive C), and the file you want to open is on a
  1349. disk in drive A, type a: before the filename. Do not include a
  1350. space between the colon and the filename.
  1351.  
  1352. 3. Press return. Nutshell opens the file and displays the Browse
  1353. screen.
  1354.  
  1355. Note: You can combine these three steps by typing the filename
  1356. directly from DOS. Type a space after nutplus, then type the
  1357. filename, then press return. Nutshell opens the file and displays
  1358. the Browse screen. (If the file is on a disk in a different drive,
  1359. precede the filename with the drive specifies. If you need more
  1360. information on specifying drives or files from DOS, consult your
  1361. DOS manual.)
  1362.  
  1363. To open an existing Nutshell file by selecting the filename from a
  1364. list:
  1365.  
  1366. 1. Run Nutshell according to the instructions in the earlier
  1367. chapter installing Nutshell on Your system.
  1368.  
  1369. The Nutshell Pluss II screen is displayed.
  1370.  
  1371. 2. Select Show Files. Nutshell displays the path and a list of
  1372. files with the extension .db in the current directory.
  1373.  
  1374. 3. Select the file you want Tom the list. (For details on selecting
  1375. items from a list, see the section The Keyboard in the chapter
  1376. Nutshell Conventions.) Nutshell opens the file and displays the
  1377. Browse screen.
  1378.  
  1379. or
  1380.  
  1381. Follow the instructions below to display the files on another
  1382. drive, with a different extension, or in a different directory,
  1383. using the Drive, Extension, and Path menu options. You can then
  1384. select the file from the appropriate list.
  1385.  
  1386. If the file Is on another drive:
  1387.  
  1388. 1. Select Drive and type the drive specifies, then press return.
  1389. Nutshell displays a list of files on the drive for the extension
  1390. and path shown on the screen.
  1391.  
  1392. If the file has a different extension:
  1393.  
  1394. 1. Select Extension and type the extension, then press return.
  1395. Nutshell displays a list of files with the new extension.
  1396.  
  1397.  If the file is in a different directory:
  1398.  
  1399. 1. Select Path. Type the new path and press return. Nutshell
  1400. displays a list of files in the specified directory.
  1401.  
  1402. or
  1403.  
  1404. Select Show Directories to select (instead of typing) the directory
  1405. names that compose the path. For instructions on selecting
  1406. directories in the path, see the previous section Creating a New
  1407. File. The steps are the same as for creating a new file in a
  1408. different directory
  1409.  
  1410. Closing a File and Exiting Nutshell
  1411.  
  1412. You close a tile, and you exit Nutshell, by first returning to the
  1413. nucleus of the Nutshell menu structure, the Browse screen. When you
  1414. close a file, Nutshell automatically closes all open linked files
  1415. and saves any changes you have made. To avoid damaging a file, make
  1416. sure you close your file before removing the disk on which the file
  1417. is stored, and always exit Nutshell and wait until you see the DOS
  1418. prompt before turning off your computer.
  1419.  
  1420. To close a file:
  1421.  
  1422. 1. Press the Esc (Escape) key as many times as is necessary to
  1423. display the Browse screen.
  1424.  
  1425. 2. From the Browse screen, press Esc once more, and at the
  1426. confirmation message, press return. The Nutshell Plus II screen is
  1427. displayed. You can open another file, or exit Nutshell.
  1428.  
  1429. To exit Nutshell:
  1430.  
  1431. 1. Close the file if you haven't done so, according to the steps
  1432. above.
  1433.  
  1434. 2. Press Esc. The DOS prompt is displayed. When you exit Nutshell,
  1435. you always return to the drive and directory from which you gave
  1436. the command to run Nutshell.
  1437.  
  1438. Making Backups
  1439.  
  1440. By automatically saving your changes to a file during lulls in your
  1441. work, Nutshell provides a measure of security for your data.
  1442. However, (to our regret), Nutshell can't prevent hardware failures,
  1443. power outages, faulty disks, or earthquakes. So you should always
  1444. take the precaution of backing up (making a spare Copy of) all
  1445. important files on a different disk.
  1446.  
  1447. Use the DOS COPY command, the DOS BACKUP command, or any of the
  1448. third party backup software to make frequent backups of your files.
  1449. If you need instructions, refer to your DOS or software backup
  1450. manual.
  1451.  
  1452. Deleting Files
  1453.  
  1454. When you no longer need a file, you can save disk space by deleting
  1455. it. If your file includes any links to look up files, the look up
  1456. files are not deleted when you delete the current file. If you
  1457. delete a look up file, then open a file that has a link to the
  1458. deleted look up file, Nutshell tells you that it can't find the
  1459. deleted file. You can then either proceed to open the file without
  1460. using the link, or specify another look up file. For information
  1461. about deleting links to look up files, see the section Changing or
  1462. Deleting Links to Look up Files in the chapter Designing Files
  1463.  
  1464. Use the DOS DEL command or ERASE command to delete files. If you
  1465. need instructions, refer to your DOS manual.
  1466.  
  1467. Introduction
  1468.  
  1469. Before you start creating Nutshell files, you need to decide how
  1470. you want to organize the information you want to keep in them. In
  1471. some cases you may want to keep your data in separate, unlinked
  1472. files, while in other cases you may want to keep it in groups of
  1473. linked files.
  1474.  
  1475. Before you start adding information to a new Nutshell file, you
  1476. define fields in order to tell Nutshell what kinds of information
  1477. the file will contain. By typing a field name and selecting a field
  1478. type (text, number, date, calculation, summary, or time), you
  1479. control the way information in each field can later be typed,
  1480. found, sorted, formatted, and used to compute new information.
  1481.  
  1482. In order to start displaying and using information from look up
  1483. files, you define links that tell Nutshell how to connect your
  1484. files together. You type the name of a look up file, then specify
  1485. a field pair (a match field in the look up file and a trigger field
  1486. in the base file) in order to tell Nutshell how to match records in
  1487. the look up file with records in the base file.
  1488.  
  1489. This chapter first discusses some general principles of organizing
  1490. your information. Next it gives details on defining fields,
  1491. including the characteristics of each field type, the validation
  1492. types you can assign, and how to change field definitions later.
  1493. Finally it describes how to define links between files, and how to
  1494. change and delete them.
  1495.  
  1496. Deciding How to Organize Your Information
  1497.  
  1498. You'II probably find as many different ways to organize your
  1499. information as you have different kinds of data to keep track of.
  1500. Deciding how to design your files, and deciding whether to keep
  1501. data in separate or in linked files, depends on the different ways
  1502. you will want to organize your information. You may want to keep
  1503. some kinds of information in separate files, and you may never want
  1504. to link other files to them. On the other hand, you may want to
  1505. organize your data by dividing it up and storing it in different
  1506. files, then link the files in order to share and use the
  1507. information in various ways. In either case, you should feel free
  1508. to experiment with different ways to store your data, since it's
  1509. easy to link and unlink files at any time.
  1510.  
  1511. Whether you're setting up separate files or groups of linked files,
  1512. you'II usually want to keep records belonging to one category or
  1513. subject together in their own file. In a doctor's office you might
  1514. keep patients' medical records in one file and billing records in
  1515. another file. In a bookstore you might keep bibliographic
  1516. information in one file and book orders in another file.
  1517.  
  1518. An address and phone directory, a file of personnel records, a file
  1519. of applications for employment, and a resume file are all examples
  1520. of collections of data that you would want to store in separate
  1521. files. But by linking these files together, you can display and
  1522. work with all the information that pertains to any one applicant or
  1523. employee, even though the information is kept in several different
  1524. files.
  1525.  
  1526. Linking files lets you cut back on unnecessary duplication of
  1527. information. For example, an orders file might have several orders
  1528. for the same customer. In a paper file the customer's name,
  1529. address, and phone number would need to be duplicated on each
  1530. order, but in Nutshell files, with orders in one file and customer
  1531. addresses in a linked file, Nutshell can look up the customer's
  1532. address as many times as it needs to, and can display and print the
  1533. address on each separate order, without actually duplicating the
  1534. data.
  1535.  
  1536. Organizing Information Using Look up Files
  1537.  
  1538. Any link between two files depends on there being a common category
  1539. of information in each file. For example, an employee file and a
  1540. payroll file might both contain social security numbers, and an
  1541. inventory file and a price list file might both contain part
  1542. numbers. It is the common information in two files that lets you
  1543. link them together.
  1544.  
  1545. A file that you define a link to is called a look up tile, because
  1546. Nutshell looks up information in a in order to display and print
  1547. it, use it in calculations, and so on. The file that links to the
  1548. look up file is called the base file, because you use it as your
  1549. base of operations. The base file can use any fields that are
  1550. stored in the look up file. When you're organizing your files,
  1551. you'II want to decide which of two files you want to use as your
  1552. base file and which as the look up file. For example, if you have
  1553. a customer file and a billing file, you'd probably set up the
  1554. billing file as the base file and link it to the customer file
  1555. because you'II want Nutshell to look up addresses from the customer
  1556. file in order to display and print them in the billing file.
  1557.  
  1558. Here are a few simple guidelines that you'II find helpful as you
  1559. plan to set up a group of linked files to hold related data. These
  1560. are not hard and fast rules; Nutshell lets you create your files,
  1561. define links between them, and add and change fields whenever you
  1562. want to. But you can save time and avoid unnecessary backtracking
  1563. if you plan and then set up your files using the following general
  1564. order of steps.
  1565.  
  1566. Decide what files you want to create, determining what kinds of
  1567. information you want to keep in each file, or decide what existing
  1568. files you want to link together.
  1569.  
  1570. For any two files you want to link together, determine what common
  1571. information the two files share. For example, to link personnel
  1572. records and payroll records, you might use social security numbers
  1573. as the common information that links the files, or to link medical
  1574. records with billing records, you might use last names and first
  1575. names as the common information. Nutshell will use the common
  1576. information in the two files to match any records in the look up
  1577. file that correspond to records in the base file. For each two
  1578. files you intend to link together, plan to include fields to
  1579. contain the common information.
  1580.  
  1581. Determine which file you want to use as the base file. The base
  1582. file is the file you'll use most often as the current file, and is
  1583. the file to which you'II link other look up files.
  1584.  
  1585. Once you're accomplished these three planning steps, you're ready
  1586. to create the files. You'II find it helpful to set up the look up
  1587. files first, then create the base file, since look up files may
  1588. contain fields that you want to display or that will be used in
  1589. calculations in the base file. By setting up look up files before
  1590. you set up the base file, you ensure that look up fields will be
  1591. available when the base file is ready to use them.
  1592.  
  1593. Finally, define the links from the base file to the look up files.
  1594.  
  1595. For detailed instructions on how to define a link between files,
  1596. see the section Defining Links Between Files later in this chapter.
  1597.  
  1598. Defining Fields
  1599.  
  1600. The first thing you do when you create a new Nutshell file is to
  1601. define the fields you want your file to contain. You do this by
  1602. typing a field name and selecting a field type.
  1603.  
  1604. The field name should indicate what the field will contain; it
  1605. allows you and Nutshell to keep track of the field. For example,
  1606. field names in a doctor's file of patients' records might be Name,
  1607. Address, Phone, Date of Visit, Complaint, Diagnosis, and
  1608. Prescription. You don't have to be utterly precise in assigning
  1609. field names Nutshell always lets you rename a field later. Also,
  1610. the field name needn't appear on forms or reports; Nutshell's
  1611. layout feature lets you control all the text that appears on
  1612. screens for typing data and on printed reports.
  1613.  
  1614. The field type determines how much information you can type in a
  1615. field, and how you can retrieve and organize that information. For
  1616. example, a text field can hold many lines, even pages, of text. You
  1617. can search for any word in the field, and sort text fields in
  1618. alphabetical or reverse alphabetical order. By contrast, a date or
  1619. time field can hold only one date or time respectively, which
  1620. allows you to search for chronological information and to sort data
  1621. either from oldest to most recent or the reverse. It is possible to
  1622. change the field type at any time. Consult the section on Changing
  1623. Filed Definitions for additional information .
  1624.  
  1625. A field definition can include one or more optional validation
  1626. types. Validation types tell Nutshell to check data you type in a
  1627. field against the criteria that you specify. For example, you can
  1628. specify a validation type of List in order to give Nutshell a list
  1629. of the only values that should be accepted in a field.
  1630.  
  1631. You can create as many fields as you need in a file. The only limit
  1632. to the number of fields is the amount of available disk space.
  1633.  
  1634. There are two important things to consider when you are defining
  1635. fields:
  1636.  
  1637. How much information should each field hold? For example, should
  1638. you define one field for Name, or two fields: one for First Name,
  1639. and one for Last Name?
  1640.  
  1641. What field type should you choose for the field?
  1642.  
  1643. Deciding whether you need one field or more than one for a given
  1644. piece of information should be based on how you want to view or
  1645. find that information later. For example, deciding whether to
  1646. create one field for Address, or four fields for Street, City,
  1647. State, and Zip Code, would depend on whether you want to sort your
  1648. file by an individual part of the address, such as by state or by
  1649. Zip code. In general, the more you divide your information into
  1650. separate fields, the more flexibility you will have in using it
  1651. later.
  1652.  
  1653. The sections that follow will help you decide which field type to
  1654. select for a given field. It's usually easy to decide what field
  1655. type is appropriate for most fields. For example, a name is
  1656. obviously text; a field that is to contain names would be defined
  1657. as a text field. On the other hand, a field to hold telephone
  1658. numbers could be defined as either a number or a text field. You'II
  1659. be able to determine which is best for your use by reading the
  1660. sections on each of these field types.
  1661.  
  1662. Nutshell automatically indexes values in each field according to
  1663. the field type you choose. By viewing the index, you can check for
  1664. errors, copy a value from the index into a record, and quickly see
  1665. how many unique values a field contains (because the index doesn't
  1666. show duplicate values). Notes on how Nutshell indexes information
  1667. for each field type are included in the sections that follow.
  1668.  
  1669. The basic steps for creating fields in a file are the same for all
  1670. field types. The steps are provided first to give you an overview
  1671. of the process. However, you should read the sections describing
  1672. each field type before you begin to create fields. (For details on
  1673. how to add fields to an existing file see the section Creating
  1674. Additional Fields later in this chapter.)
  1675.  
  1676.  To create a field:
  1677.  
  1678. 1. From the Browse screen, select Define. Nutshell displays the
  1679. Define screen.
  1680.  
  1681. 2. Type the field name, then press return. The field name can be
  1682. from 1 to 19 characters long, including spaces. If the field is to
  1683. be a number, date, or calculation field that will be used in a
  1684. calculation formula, make sure the name doesn't begin with a digit
  1685. or include any of the following symbols: +, -, *, /' ^, :, ,, or .,
  1686. (If it does, Nutshell will interpret these symbols as part of the
  1687. formula. See the section on Calculation Fields for more information
  1688. .)
  1689.  
  1690. Nutshell displays a menu of field types: Text, Number, Date,
  1691. Calculation, Summary, Time.option
  1692.  
  1693. 3. Select the field type that matches the type of information the
  1694. field will contain. If you select Text, Number, or Date, Nutshell
  1695. displays the field type opposite the field name in the list of
  1696. defined fields. If you select
  1697.  
  1698. Defining Fields
  1699.  
  1700. Calculation or Summary, Nutshell asks you to enter the formula for
  1701. the calculation or summary; details are given in the sections on
  1702. each of these field types.
  1703.  
  1704. 4. To continue creating fields, repeat steps 2 and 3.
  1705.  
  1706. 5. Press Esc when you're finished creating fields. Nutshell
  1707. displays a menu that lets you create, modify, or delete fields, set
  1708. up validation criteria for the fields you're created, or create
  1709. links to other files. To use these options, refer to the sections
  1710. Changing or Deleting Field Definitions, Setting Criteria for
  1711. Checking the Accuracy of Information, Defining Links Between Files,
  1712. and Changing or Deleting Links Between Files later in this chapter.
  1713.  
  1714. 6. Press Esc to return to the Browse screen.
  1715.  
  1716. After you've defined one or more fields, you can add data right
  1717. away by selecting Add from the Browse screen. See the chapter
  1718. Adding, Editing, and Deleting Information for details.
  1719.  
  1720. Text Fields
  1721.  
  1722. A text field can hold anything you can type. Initially Nutshell
  1723. allows one line for a text field, but you can use the layout to
  1724. change the size and shape of a text field to make it as large as
  1725. you want. If you make the field more than one line long, Nutshell
  1726. automatically wraps text to fit the lines, breaking each line
  1727. between words. If you prefer, you can start a new line at a
  1728. different place by pressing return. This flexibility lets you type
  1729. information in the arrangement you want, whether it is a block of
  1730. text, such as notes on a patient's medical history, or a columnar
  1731. list, such as a list of prescribed medications .
  1732.  
  1733. Nutshell automatically indexes each word you type in a text field.
  1734. A word is a group of characters bounded by a space or a return
  1735. character. Using Nutshell's Find option, you can quickly find
  1736. records containing any word; in fact, if you don't remember the
  1737. entire word (such as a long surname), you can type just the
  1738. beginning of it. This means that a text field is a good choice for
  1739. a number that is not needed in calculations (such as a phone number
  1740. or social security number), because it is easy to find all the
  1741. phone numbers in a particular area code, or all the social security
  1742. numbers beginning with certain digits.
  1743.  
  1744. You can sort text fields in alphabetical or reverse alphabetical
  1745. order according to the first 60 characters in the field. This means
  1746. that if you are storing names and you want to sort records by last
  1747. name, you should either create one Name field and type in the last
  1748. name first, or create two fields, Last Name and First Name.
  1749.  
  1750. Numbers in a text field are sorted alphabetically (as opposed to
  1751. numbers in a number field, which are sorted numerically). If the
  1752. numbers are all the same length, such as Zip codes, the
  1753. alphabetical order will be the same as the numerical order.
  1754. However, if the numbers are of differing lengths, you'II notice
  1755. that they are sorted as in a dictionary style index. So the order
  1756. would be 1,134,14.6, 200031, 27, and so on. If you need to sort
  1757. numbers of different lengths in numerical order, create a number
  1758. field rather than a text field.
  1759.  
  1760. Number Fields
  1761.  
  1762. Select Number as the field type if you want to:
  1763.  
  1764. Use the number stored in the field to perform calculations or
  1765. summaries .
  1766.  
  1767. Find ranges of numbers.
  1768.  
  1769. Sort records in numerical order (from smallest to largest or the
  1770. reverse).
  1771.  
  1772. Display and print the number with a dollar sign, with commas, or
  1773. with a specified number of digits to the right of the decimal
  1774. point.
  1775.  
  1776. Nutshell keeps an index of the number you type in a number field in
  1777. each record. For example, in an inventory file with a number field
  1778. named Cost of Item, the index contains the cost of each Hem in the
  1779. file.
  1780.  
  1781. Nutshell lets you type non numeric text (including symbols or
  1782. punctuation) in a number field, such as 39 yard. or #017 43 3876.
  1783. The number field can still be used in calculation and summary
  1784. formulas; Nutshell ignores the text in a number field when it
  1785. performs calculations and summaries.
  1786.  
  1787. A number field can contain one line of up to 100 digits. Only
  1788. numerals are indexed in a number field; text is not indexed. If you
  1789. need to type more than one line of text, or if you later need to
  1790. retrieve records by finding text in the field, you should select
  1791. Text rather than Number as the field type.
  1792.  
  1793. Date Fields
  1794.  
  1795. Select Date as the field type if you want to:
  1796.  
  1797. Use the date stored in the field to perform calculations using
  1798. dates.
  1799.  
  1800. Find ranges of dates.
  1801.  
  1802. Sort records in chronological order (from earliest to latest or the
  1803. reverse).
  1804.  
  1805. Summarize events occurring on each date.
  1806.  
  1807. Display and print the date in a different style, such as Apr. 27,
  1808. 1990, or Wednesday, April 27,1990.
  1809.  
  1810. A date field can contain one date that you type as digs separated
  1811. by a non numeric character, in the order of month, day, year. For
  1812. example, you could type December 25, 1990 as 12/25/90 or as 12 25
  1813. 1990.
  1814.  
  1815. You can type up to 10 characters in a date field. By using the
  1816. Format option on the layout, you can have Nutshell display and
  1817. print the date in a variety of styles, such as Apr. 27, 1990, or
  1818. Wednesday, April 27, 1990. See Formatting Fields in the chapter
  1819. Changing the Visual Presentation. However, if you need to include
  1820. text with the date, such as 9/1/90 or the next business day, you
  1821. should store the date in a text field rather than a date field.
  1822.  
  1823. Nutshell automatically indexes the date in each date field,
  1824. interpreting it chronologically. By contrast, in a text field a
  1825. date is interpreted as a group of characters that form a word (or
  1826. several words if you type the date in a long format). So if you
  1827. need to store, find, or sort only by the month or by the day of the
  1828. week, use a text or a number field instead of a date field.
  1829.  
  1830. Calculation Fields
  1831.  
  1832. Select Calculation as the field type in order to have Nutshell
  1833. automatically calculate the result of a formula you specify, using
  1834. number, date, time or calculation fields in a record. For example,
  1835. in an inventory file you could define number fields for Cost of
  1836. Item and Quantity, then have Nutshell multiply Cost of Item times
  1837. quantity to calculate the Cost of Inventory for each item. You
  1838. could define a date field for Date Ordered, then have Nutshell add
  1839. the number of days the vendor estimates for shipment to calculate
  1840. the Date Expected for a given item. You could define a time field
  1841. for Start Time, then have Nutshell add a second time field
  1842. representing number of hours and minutes to calculate a Stop Time.
  1843.  
  1844. You never need to type in a calculation field; Nutshell puts the
  1845. result of the calculation in each record for you. Nutshell
  1846. automatically calculates the formula for each record, using only
  1847. values stored within a given record.
  1848.  
  1849. Nutshell calculates the formula whenever you do one of the
  1850. following:
  1851.  
  1852. Change data, or type, in any field that is used in the calculation.
  1853. Whenever you change the value in a field that's used in a
  1854. calculation, Nutshell automatically recalculates the formula and
  1855. stores the new result in the calculation field.
  1856.  
  1857. Import data into any field (see the chapter Copying Information To
  1858. and From Other Files for information about importing data).
  1859.  
  1860. Modify the formula for the calculation.
  1861.  
  1862. In addition to fields in your current file, you can use look up
  1863. fields (number, date, time, and calculation fields from look up
  1864. files) in your calculation formula. For example, if a bookstore
  1865. keeps current prices in one file and orders in another file,
  1866. Nutshell can multiply the number of each book title ordered (in the
  1867. order file) by the current price (looked up from the prices file).
  1868. In this case, although some data used in the formula is located in
  1869. a look up file, the result of the calculation is stored in the base
  1870. file. If two or more records in the look up file match a record in
  1871. the base file, Nutshell uses just the data from the first matching
  1872. record in the look up file to perform the calculation. (For
  1873. information on defining links to look up files, see the section
  1874. Defining Links to Look up Files later in this chapter.)
  1875.  
  1876. Nutshell performs calculations that use look up fields whenever the
  1877. look up, or matching, process is triggered. The look up and
  1878. calculation process is triggered by any of the following:
  1879.  
  1880. Changing data, or typing, in any trigger field of the link Nutshell
  1881. uses to include the look up field in the calculation.
  1882.  
  1883. Changing data, or typing, in any field in the base file that is
  1884. used in the calculation.
  1885.  
  1886. Importing data into any field.
  1887.  
  1888. Modifying the formula for the calculation that uses the look up
  1889. field.
  1890.  
  1891. Nutshell stores in the base file the result of the calculation that
  1892. was last triggered. This means that you control when you want
  1893. Nutshell to recalculate a formula that uses look up fields. In
  1894. other words, when you change the value in a look up field that's
  1895. used in a calculation in the base file, Nutshell does not
  1896. automatically recalculate the formula. Nutshell changes data only
  1897. in the current file.
  1898.  
  1899. You specify the formula for a calculation field by using field
  1900. names, numbers, and arithmetic symbols to indicate addition (+),
  1901. subtraction (-) multiplication (*), division (/), and
  1902. exponentiation (^). You can also use parentheses to indicate the
  1903. priority of operations. If parentheses are not included, Nutshell
  1904. performs exponentiation first, and then multiplication and division
  1905. before addition and subtraction. To use a field name in a
  1906. calculation, you can type the name of the field, or you can select
  1907. the field from a list of defined fields.
  1908.  
  1909. Note: If you need to include a date as a constant in a calculation
  1910. formula, such as to subtract a date field from a particular
  1911. calendar date, use quotation marks around the constant. The
  1912. quotation marks tell Nutshell to interpret the slashes as
  1913. separators for the digits in a date, rather than as division
  1914. symbols. For example, type the formula 1'7/2/90" Date Ordered to
  1915. have Nutshell calculate the number of days between the date in the
  1916. Dati in the Date Ordered field and July 2,1990.
  1917.  
  1918. Note: If you need to Include a time as a constant in a calculation
  1919. formula, such as to subtract a time field from a particular time,
  1920. use square brackets around the constant. The brackets tell Nutshell
  1921. to interpret the colons as separators for the digits in a time,.
  1922. For example, type the formula [1:30A] - Start Time to have Nutshell
  1923. calculate the number of seconds between the time in the Start Time
  1924. field less 1 hour and thirty minutes .
  1925.  
  1926. once you have defined a calculation field, you can use it in the
  1927. formula of additional calculation fields. Continuing the example of
  1928. the inventory file, you could have Nutshell multiply Cost of Item
  1929. by a percentage for Overhead to derive the Price of an item, then
  1930. define another calculation field to add a percentage for Sales Tax
  1931. to Price in order to derive the Amount to be charged to a customer.
  1932.  
  1933. You can include as many constants (numbers, dates, times), number
  1934. fields, date fields, time fields and calculation fields as you need
  1935. in a calculation formula, up to a maximum formula length of 250
  1936. characters.
  1937.  
  1938. Note: Nutshell prevents circular calculations in which the value of
  1939. a calculation field depends on its own value, by not allowing a
  1940. calculation to refer to another calculation in the same file which
  1941. is defined later.
  1942.  
  1943. You can specify that a number result of a calculation formula be
  1944. rounded to between 0 and 7 digits to the right of the decimal
  1945. point. Nutshell stores the rounded result. For example, if you
  1946. specify that the result of a calculation be rounded to 2 decimal
  1947. places, and Nutshell calculates a result of 27.9581, the result
  1948. will be stored as 27.96. If the calculation field is used in
  1949. another calculation or summary formula, the rounded result is used
  1950. to perform the calculation. If you want all the significant digits
  1951. used in calculations and summaries, but want the number displayed
  1952. and printed with a fixed number of decimal digits, use the Format
  1953. option on the layout instead of the Round Result option in the
  1954. calculation formula. The Format option controls only what is
  1955. displayed and printed, not the data that is stored. See the section
  1956. Formatting Numbers in the chapter Changing the Visual Presentation.
  1957.  
  1958. To create a calculation field:
  1959.  
  1960. 1. Select Define from the Browse screen. Nutshell displays the
  1961. Define screen .
  1962.  
  1963. 2 . Select Create.
  1964.  
  1965. 3. Type a name for the calculation field, then press return. If the
  1966. field will be used in a calculation formula, make sure the name
  1967. doesn't begin with a digit or include any of the following symbols:
  1968. +, -, *, /, :, (,), , which are reserved for specifying arithmetic
  1969. operations.
  1970.  
  1971. 4. Select Calculation. Nutshell displays a line on which to type
  1972. the formula for the calculation.
  1973.  
  1974. 5. Type the formula using field names of already defined number,
  1975. date, and calculation fields in the current file or in look up
  1976. files, numbers, date constants enclosed in quotation marks, and
  1977. arithmetic symbols: +, -, *, /, ^, If necessary, include
  1978. parentheses to tell Nutshell the order in which to perform the
  1979. operations.
  1980.  
  1981. To type the name of a look up field in the formula, type the full
  1982. name of the link, a colon, and the name of the look up field (for
  1983. example, Party.db: price, or Parts.db#2:price). For further
  1984. information on link names, see the section Defining Links to Look
  1985. up Files later in this chapter.
  1986.  
  1987.  Instead of typing field names from the current file or from a look
  1988. up file, you can select them by using the Select Field menu option.
  1989. When you select this option, Nutshell moves the cursor to the list
  1990. of defined fields. Select the number, date, or calculation field
  1991. you want, scrolling the list if necessary with the Pgup and PgDn
  1992. keys.
  1993.  
  1994. To select a look up field, choose the Look up option. Select the
  1995. link to the look up file you want to use, then select the look up
  1996. field from the displayed list. Later, if you need to select a field
  1997. from the base file, choose Return to Base File after choosing
  1998. Select Field.
  1999.  
  2000. If the formula is longer than 80 characters, Nutshell automatically
  2001. scrolls horizontally as you add to the formula. To scroll back to
  2002. the left, press (Cursor Left), Ctrl left, or Home. To scroll to the
  2003. right, press (Cursor Right), Ctrl right, or End.
  2004.  
  2005. If you want Nutshell to round the result of the calculation, select
  2006. Round Result from the menu. Nutshell asks you how many digits to
  2007. the right of the decimal point you want to round the result to.
  2008. Type the number of digits, then press return.
  2009.  
  2010. 6. When the formula is as you want it, press return. Nutshell lists
  2011. the formula opposite the field name in the list of defined fields,
  2012. and moves the cursor to the end of the Field Name column, ready for
  2013. you to type a new name .
  2014.  
  2015. 7. Continue defining fields, or press Esc to stop.
  2016.  
  2017. Summary Fields
  2018.  
  2019. Select Summary as the field type when you want Nutshell to
  2020. calculate the total, average, or count of values in a field for a
  2021. group of records. The total is the sum of all the values in a
  2022. specified number or calculation field; for a file detailing stock
  2023. purchases, a Total Investment summary field might reflect the sum
  2024. of the values in a Purchase Price field. The average is the
  2025. arithmetic mean of the values in a specified number or calculation
  2026. field, such as the Average Price per Share of stock purchased.
  2027. (Nutshell uses only fields that contain a value to derive
  2028. averages.) The count is the number of records that contain a value
  2029. in a specified text, number, date, or calculation field, such as
  2030. Count of Purchase Price to show the number of separate stock "buy"
  2031. orders.
  2032.  
  2033. Note: Only a calculation field with a number result can be total
  2034. led or averaged. For example, it would not make sense to total a
  2035. calculation field with the formula Ship Date + 30, which would
  2036. result in a date.
  2037.  
  2038. A summary field can reflect a total, average, or count of values
  2039. for all the records in your file, or for a group of records you
  2040. have found that match certain criteria. For example, by finding
  2041. records for stock purchases made within a range of dates, you could
  2042. view the Total Investment, Average Price per Share, and Count of
  2043. Purchase Price for the given period.
  2044.  
  2045. You can also view sub summary information for groups of sorted
  2046. records by placing the summary field in a particular area of the
  2047. layout (called a sub summary partition). For example, you might
  2048. want a subtotal of the Total Investment field by stock exchange, or
  2049. by broker.
  2050.  
  2051. If you take advantage of these capabilities of summary fields, they
  2052. can provide powerful analytical tools. For more information on
  2053. placement of summary fields on the layout, refer to the section on
  2054. Concepts of Partitioning a Layout in the chapter Adding Power to
  2055. Reports. For more on sorting records for sub summaries, refer to
  2056. the chapter Sorting Information.
  2057.  
  2058. Nutshell doesn't maintain an index for summary fields, because
  2059. summary fields are not associated with individual records but
  2060. rather with groups of records, and the value in a summary field
  2061. depends on how records are found and sorted and where the field is
  2062. placed on the layout.
  2063.  
  2064. As with calculation fields, you never type in a summary field
  2065. because Nutshell calculates the result for you. Remember that a
  2066. calculation field shows the result of a formula (which you specify)
  2067. for each record; a summary field shows the result of a formula
  2068. (total, average, or count) for a group of records you are browsing.
  2069.  
  2070. To create a summary field:
  2071.  
  2072. 1. Select Define from the Browse screen. Nutshell displays the
  2073. Define screen .
  2074.  
  2075. 2 . Select Create.
  2076.  
  2077. 3. Type a name for the summary field, then press return.
  2078.  
  2079. 4. Select Summary. Nutshell displays a menu of summary types.
  2080.  
  2081. 5. Select the type of summary you want, then press ~. Nutshell
  2082. moves the cursor to the list of defined fields.
  2083.  
  2084. 6. Select the field to be summarized. The field must already have
  2085. been defined. For a Total or Average, you can select a number field
  2086. or a calculation field that results in a number (not a date). For
  2087. a Count, you can select any field except another summary field.
  2088. Nutshell lists the summary formula opposite the field name in the
  2089. list of defined fields, and moves the cursor to the end of the
  2090. Field Name column, ready for you to type a new name.
  2091.  
  2092. 7. Continue defining fields, or press Esc to stop.
  2093.  
  2094. Time Fields
  2095.  
  2096. Select Time as the field type if you want to:
  2097.  
  2098. Use the time stored in the field to perform calculations using
  2099. times.
  2100.  
  2101. Find ranges of times.
  2102.  
  2103. Sort records in chronological order (from earliest to latest or the
  2104. reverse) .
  2105.  
  2106. Summarize events occurring at specific times.
  2107.  
  2108. Display and print the time in a different style, such as 14:30:25,
  2109. or 2:30:25PM .
  2110.  
  2111. A time field can contain one time that you type as digits separated
  2112. by a colon (:) or any other non numeric character, in the order of
  2113. hours, minutes, and seconds For example, you could type 2:30:25PM
  2114. as 02: 30: 25P or as 14: 30: 25.
  2115.  
  2116. You can type up to 12 characters in a time field. By using the
  2117. Format option on the layout, you can have Nutshell display and
  2118. print the time in a variety of styles, such as 14:30:25,14:30,
  2119. 2:30:25PM, or 2:30PM. See Formatting Fields in the chapter Changing
  2120. the Visual Presentation. However, if you need to include text with
  2121. the Time, such as 2:30PM except on weekends, you should store the
  2122. Time in a text field rather than a Time field. Time fields can
  2123. range from 0:00:00 to 23:59:59, therefore use a different field
  2124. type for values larger than this range.
  2125.  
  2126. Nutshell automatically indexes the time in each time field,
  2127. interpreting it chronologically. By contrast, in a text field a
  2128. time is interpreted as a group of characters that form a word .
  2129.  
  2130. Setting Criteria for Checking the Accuracy of Information
  2131.  
  2132. Defining a field type for each field affords you some protection
  2133. against typing incorrect data in your file. For example, Nutshell
  2134. alerts you if you try to type text in a Time field. However, you
  2135. can specify several additional constraints to help ensure that data
  2136. you type in fields is accurate. For any text, number, date or time
  2137. field in your list of defined fields, you can select the following
  2138. types of validation:
  2139.  
  2140. List To specify a list of values Nutshell should accept in the
  2141. field.
  2142.  
  2143. Range To specify a range of values Nutshell should accept in the
  2144. field.
  2145.  
  2146. Unique To prevent two records from having identical values in the
  2147. field. Must Enter To ensure that the field contains a value.
  2148.  
  2149. You can select more than one type of validation for a field. For
  2150. example, you can specify that the State field in an address on a
  2151. sales report be validated by both List and Must Enter criteria.
  2152. Nutshell will then check to make sure a value typed in the field
  2153. matches a value on a list of states in the sales region, and that
  2154. the field is not left empty.
  2155.  
  2156. When you are adding or modifying records, Nutshell lets you
  2157. override validation on a field by field basis. Later you can find
  2158. the records with field values that don't meet the validation
  2159. criteria. For example, you might decide to leave a Must Enter field
  2160. empty in order to add information to other fields in the record,
  2161. then go back and fill in the empty field when you have the missing
  2162. data.
  2163.  
  2164. You can change or remove validation criteria at any time. For
  2165. example, you can add items to a list, or change the range of valid
  2166. values. See Changing the Validation Criteria in the section
  2167. Changing or Deleting Field Definitions.
  2168.  
  2169. To specify validation criteria:
  2170.  
  2171. 1. Select Define from the Browse screen. Nutshell displays the
  2172. Define screen with a list of the fields you have defined.
  2173.  
  2174. 2. Select Validate. Nutshell displays a menu of validation types
  2175. and uses the right side of the screen to display the validation
  2176. type for the field the cursor is on in the list of defined fields.
  2177.  
  2178. 3. Move the cursor to the text, number, or date field for which you
  2179. want to specify validation criteria.
  2180.  
  2181. 4. Select the type of validation you want: List, Range, Unique, or
  2182. Must Enter. (The option None is used to remove previously specified
  2183. criteria) .
  2184.  
  2185. List If the validation type is List, Nutshell moves the cursor to
  2186. the right side of the screen where you can type each value that you
  2187. want Nutshell to accept in the field. For a text or number field,
  2188. each value can be from 1 to 60 characters long. For a date field,
  2189. each value can be from 6 to 10 characters long, depending on
  2190. whether you use two or four digits for the year. (Nutshell assumes
  2191. you mean twentieth century if the year is two digits.) For a time
  2192. field, each value can be from 2 to 12 depending on the time
  2193. specified.
  2194.  
  2195. Type an item in the list and press return. Repeat this step for as
  2196. many items as you need in the list. As you add items, Nutshell
  2197. arranges them in the order appropriate to the field type:
  2198. alphabetical order for text fields, numerical order for number
  2199. fields, and chronological order for date and time fields. This
  2200. makes it easy to locate an item later to modify it or to copy it
  2201. into a field.
  2202.  
  2203. When you've completed the list, press Esc. Nutshell displays a menu
  2204. for managing the list. If you want to modify the list, see Changing
  2205. the Validation Criteria in the section Changing or Deleting Field
  2206. Definitions.
  2207.  
  2208. When you're done working with the list, press Esc.
  2209.  
  2210. Note: You can scroll long Items horizontally as described in the
  2211. chapter Nutshell Conventions, refer to the paragraphs on Useful
  2212. Keys for Lists of Items in the section The Keyboard. Directions for
  2213. printing a list using Ctrl PrtSc are also provided.
  2214.  
  2215. Range
  2216.  
  2217. If the validation type is Range, Nutshell displays a menu that lets
  2218. you define the smallest value and the largest value that Nutshell
  2219. should accept in the field. The smallest value for a text field is
  2220. the first letter or word in alphabetical order that you want to
  2221. allow; for a number field it is the lowest number; for a date or
  2222. time field it is the first date or time in chronological order. The
  2223. largest value is, of course, the opposite. If you want Nutshell to
  2224. enforce only the upper or the lower limit of acceptable values, you
  2225. can specify just the value that applies (Smallest or Largest).
  2226.  
  2227. To specify the smallest value, select Smallest. Nutshell moves the
  2228. cursor to the right side of the screen. Type the value, then press
  2229. return.
  2230.  
  2231. To specify the largest value, select Largest. Nutshell moves the
  2232. cursor to the right side of the screen. Type the value, then press
  2233. return.
  2234.  
  2235. When you've finished specifying the range, press Esc.
  2236.  
  2237. Unique If the validation type is Unique or Must Enter, Nutshell
  2238. displays the type on the right side of the screen and moves the
  2239. cursor back to the list of Must Enter defined fields.
  2240.  
  2241. 5. Continue specifying validation criteria according to the steps
  2242. above, or press Esc to stop.
  2243.  
  2244. Changing or Deleting Field Definitions
  2245.  
  2246. Inevitably, you'II think of new and better ways to store and manage
  2247. information as you work with Nutshell. Changing field definitions
  2248. is as easy as creating fields; all the options are available on the
  2249. Define screen. This section tells you how to:
  2250.  
  2251. Create new fields to add to the fields you've already defined.
  2252.  
  2253. Change field names.
  2254.  
  2255. Change field types.
  2256.  
  2257. ∙ Change the formula for a calculation or summary field.
  2258.  
  2259. Change or remove the validation criteria that Nutshell uses to
  2260. check the accuracy of information in fields.
  2261.  
  2262. Delete a field.
  2263.  
  2264. You can make any of these changes directly after defining fields,
  2265. when the Define screen is still displayed, or you can select Define
  2266. from the Browse screen to display the list of field definitions in
  2267. the file.
  2268.  
  2269. Creating Additional Fields
  2270.  
  2271. You can create new fields in your file at any time.
  2272.  
  2273. To create new fields in an existing file:
  2274.  
  2275. 1. Select Create from the Define screen. Nutshell moves the cursor
  2276. to the end of the list of already defined fields.
  2277.  
  2278. 2. Create as many new fields as you need using the same procedure
  2279. as when you initially defined fields in the file: type the field
  2280. name and press return, then select the field type. For the
  2281. additional steps in creating calculation or summary fields, see the
  2282. earlier sections of this chapter, Calculation Fields and Summary
  2283. Fields.
  2284.  
  2285. 3. When you've finished creating new fields, press Esc.
  2286.  
  2287. Changing or Deleting Field Definitions
  2288.  
  2289. You may want to change a field name to correct a typing or spelling
  2290. error, to differentiate it from other similar fields, or to make it
  2291. easier to remember what data the field is to contain. If the field
  2292. name appears on any layout, Nutshell changes the name on the layout
  2293. for you
  2294.  
  2295. If you change a field name that is used in a calculation or summary
  2296. formula, Nutshell automatically changes the field name in the
  2297. formula for you. If you change the name of a look up field,
  2298. however, the formula in the base file is not changed. Throughout
  2299. Nutshell, your actions affect only the current file. To ensure the
  2300. performance of the calculation, you should also change the name
  2301. that's used in the formula in the base file.
  2302.  
  2303. To change a field name at any time:
  2304.  
  2305. 1. On the Define screen, move the cursor to the field whose name
  2306. you want to change.
  2307.  
  2308. 2. Select Modify.
  2309.  
  2310. 3. Select Name. 4. Edit the field name or type a new name, deleting
  2311. any remaining characters from the previous field name. Then press
  2312. return.
  2313.  
  2314. Changing a Field Type
  2315.  
  2316. As you work with your records, you may find that you want to change
  2317. a field type in order to use information in a different manner. For
  2318. example, if you created a date field, and discover that you want to
  2319. store text with the date, you can change the field type to Text.
  2320.  
  2321. If there's no data in the field, you can change the field type
  2322. without considering what happens to information that has already
  2323. been typed or calculated. However, if you have already put data in
  2324. the field, you need to consider whether data you want to keep is
  2325. compatible with the new field type. For example, if in a text field
  2326. you have text that includes a date, and you change the field type
  2327. from Text to Date, Nutshell will discard all the data in the field.
  2328. The data is not kept, because only one date can be stored in a date
  2329. field. (For a reminder of what each field type can hold, see the
  2330. previous section Defining Fields.)
  2331.  
  2332. Before you change a field type, consult the following table for
  2333. results of changing the type.
  2334.  
  2335. To change a field type:
  2336.  
  2337. 1. On the Define screen, move the cursor to the field whose type
  2338. you want to change.
  2339.  
  2340. 2. Select Modify.
  2341.  
  2342. 3. Select Type. Nutshell displays the menu of field types.
  2343.  
  2344. 4. Select the new field type from the menu, then press ~ to confirm
  2345. the change.
  2346.  
  2347. If you select Text, Number, or Date, Nutshell displays the new
  2348. field type opposite the field name. If you select Calculation or
  2349. Summary, enter the new formula; details are given in the sections
  2350. on each of the field types in the previous section, Defining
  2351. Fields.
  2352.  
  2353. Changing a Calculation Formula
  2354.  
  2355. You can change any aspect of a calculation formula at your
  2356. discretion: to correct mistakes, to accommodate new business
  2357. practices, to include new fields, to change the rounding, or to
  2358. calculate a different result. When you change the formula, Nutshell
  2359. automatically recalculates the calculation field for all of your
  2360. records. If you used the calculation field in any subsequent
  2361. calculation or summary formulas, Nutshell also recalculates those
  2362. fields.
  2363.  
  2364. To change a calculation formula:
  2365.  
  2366. 1. On the Define screen, move the cursor to the calculation field
  2367. you want to change.
  2368.  
  2369. 2. Select Modify.
  2370.  
  2371. 3. Select Formula. Nutshell displays the formula you specified for
  2372. the field.
  2373.  
  2374. 4. Edit the formula or type a new formula, using the Select Field
  2375. option if you want to select field names rather than type them into
  2376. the formula. Use Look up to select a field from a look up file.
  2377. (For instructions, refer to the earlier section Calculation
  2378. Fields.)
  2379.  
  2380. Note: All of the calculation field names In the formula must be
  2381. above the calculation field being modified in the list of defined
  2382. fields. This is to prevent circular references, in which the value
  2383. of a field depends on its own value.
  2384.  
  2385. If you want to change how many digits after the decimal point you
  2386. want Nutshell to round the result of the calculation to, select
  2387. Round Result from the menu. Type the new number of digits, then
  2388. press return. To remove a rounding specification you previously
  2389. assigned, select the Round Result option, then select No Rounding.
  2390.  
  2391. 5. When the formula is as you want it, press return. Nutshell lists
  2392. the new formula in the Field Type column.
  2393.  
  2394. Changing a Summary Formula
  2395.  
  2396. At any time, you can change the formula for a summary field if you
  2397. want a different type of summary, or if you want to change the
  2398. field that is summarized. When you change the formula, Nutshell
  2399. automatically recalculates the summary field for all of your
  2400. records.
  2401.  
  2402. To change a summary formula:
  2403.  
  2404. 1. On the Define screen, move the cursor to the summary field you
  2405. want to change.
  2406.  
  2407. 2. Select Modify.
  2408.  
  2409. 3. Select Formula. Nutshell displays the menu of summary types.
  2410. From this point, the process is identical to that for creating a
  2411. new summary field.
  2412.  
  2413. 4. Select the type of summary you want. Nutshell moves the cursor
  2414. to the list of defined fields.
  2415.  
  2416. 5. Select the field to be summarized. Nutshell displays the new
  2417. formula in the Field Type column.
  2418.  
  2419. Changing or Removing Validation Criteria
  2420.  
  2421. At any time you can change validation criteria that you specify for
  2422. fields in the following ways:
  2423.  
  2424. Change a list or remove List validation.
  2425.  
  2426. Change a range or remove Range validation.
  2427.  
  2428. Remove Unique or Must Enter validation types.
  2429.  
  2430. Defer use of a list or a range by turning List or Range validation
  2431. off.
  2432.  
  2433. Remove in one step all validation types specified for a field.
  2434.  
  2435. To make any change to validation criteria:
  2436.  
  2437. 1. Select Validate from the Define screen. Nutshell displays the
  2438. menu of validation types.
  2439.  
  2440. 2 . Move the cursor to the field for which you want to change the
  2441. validation criteria. Nutshell displays the types of validation that
  2442. are specified.
  2443.  
  2444. 3. Follow one or more of the steps below:
  2445.  
  2446. Changing or Removing List Validation
  2447.  
  2448. You can add new items to a validation list, Ed values that are
  2449. already specified, or remove one or all items from the list.
  2450.  
  2451. To add new items:
  2452.  
  2453. 1. Select List from the menu of validation types.
  2454.  
  2455. 2. Select Add. Nutshell moves the cursor to the end of the list.
  2456.  
  2457. 3. Type the new value, then press ~. Repeat this step for as many
  2458. new items as you need.
  2459.  
  2460. 4. When you're finished, press Esc. You can make other changes to
  2461. the list, or press Esc again to stop.
  2462.  
  2463. To edit items in a list:
  2464.  
  2465. 1. Select List.
  2466.  
  2467. 2. Move the cursor to the item you want to change, then select
  2468. Modify.
  2469.  
  2470. 3. Make the necessary changes, then press J.
  2471.  
  2472. 4. Repeat steps 2 and 3 for as many items as you need to modify.
  2473. Press Esc when you're done.
  2474.  
  2475. To remove items from a list or remove the whole list:
  2476.  
  2477. 1. Select List.
  2478.  
  2479. 2. To remove one item:
  2480.  
  2481. Move the cursor to the item you want to remove.
  2482.  
  2483. Select Remove.
  2484.  
  2485. Select One Item, then press return to confirm the removal. Continue
  2486. removing items, or press Esc to stop.
  2487.  
  2488. or
  2489.  
  2490. To remove the entire list:
  2491.  
  2492. Select Remove.
  2493.  
  2494. Select ALL Items, then press return. Press return once more to
  2495. confirm the removal of the whole list. Then press Esc.
  2496.  
  2497. Changing or Removing Range Validation
  2498.  
  2499. You can change or remove either the smallest or largest value in a
  2500. range or both. To remove range validation, remove any specified
  2501. values. For example, if the range has only a largest value, the
  2502. range validation will be removed when you remove the largest value.
  2503.  
  2504. To change or remove a value:
  2505.  
  2506. 1. Select Range from the menu of validation types.
  2507.  
  2508. 2. Select Smallest or Largest, depending on the value you want to
  2509. change. Nutshell moves the cursor to the value.
  2510.  
  2511. 3. Edit the value or type a new value, then press return.
  2512.  
  2513. or
  2514.  
  2515. Permanently remove the value by deleting all its characters, then
  2516. pressing return.
  2517.  
  2518. 4. Continue making changes to the range by repeating steps 2 and 3,
  2519. or press Esc to stop.
  2520.  
  2521. Nutshell Plus 11 will support the use of accented characters from
  2522. the extended ASCII character set in list validation and range
  2523. checking as though the accented character did not have an accent
  2524. mark, in the case of the German umlaut characters they will be
  2525. treated as a two character pair in which the second character is
  2526. the letter 'e'.
  2527.  
  2528. Removing Unique or Must Enter Validation The Unique and Must Enter
  2529. menu options both work like On/Off switches; you turn them on and
  2530. off (specify and remove them) by selecting them. For example, if
  2531. you have specified a validation type of Unique for a field, and
  2532. want to remove it, just select Unique from the menu. If you want to
  2533. respecify Unique validation for the same field later, just select
  2534. it from the menu again.
  2535.  
  2536. To remove the validation types Unique or Must Enter:
  2537.  
  2538. 1. Select from the menu the validation type you want to remove.
  2539.  
  2540. 2. Continue working with validation for any of the defined fields,
  2541. or press Esc to stop.
  2542.  
  2543. Turning Off List or Range Validation
  2544.  
  2545. After you specify validation criteria, Nutshell checks existing
  2546. records in your file against the criteria, and also checks when you
  2547. add or modify records. This may not always be convenient. For
  2548. example, when you are copying records from another file
  2549. (importing), you may not want Nutshell to take the time to check
  2550. each record against a list of valid values that you have specified
  2551. for one or more fields. You can search for the invalid values later
  2552. using the Find option.
  2553.  
  2554. Instead of permanently removing the list or range as described in
  2555. the previous sections, you can control when Nutshell checks your
  2556. records against the list or range criteria you have specified. Turn
  2557. off the list or range validation when you don't want it used, and
  2558. turn it back on again when you want Nutshell to check records and
  2559. notify you of those with values that don't match the list or range.
  2560. When you turn off list or range validation, your criteria still
  2561. exist, they're just not used.
  2562.  
  2563. To turn off list validation:
  2564.  
  2565. 1. Select List.
  2566.  
  2567. 2. Select List Off. Nutshell removes List from the validation
  2568. type(s) displayed for the field.
  2569.  
  2570. 3. Continue working with validation for any of the defined fields,
  2571. or press Esc to stop.
  2572.  
  2573. To turn list validation on again when you want it used:
  2574.  
  2575. 1. Select List. Nutshell displays the list, and restores List to
  2576. the validation type(s) displayed for the field.
  2577.  
  2578. 2. Use the menu to make changes to the list, or press Esc to
  2579. continue with other work.
  2580.  
  2581. To turn off range validation:
  2582.  
  2583. 1. Select Range.
  2584.  
  2585. 2. Select Range Off. Nutshell removes Range from the validation
  2586. type(s) displayed for the field.
  2587.  
  2588. 3. Continue working with validation Tom any of the defined fields,
  2589. or press Esc to stop.
  2590.  
  2591. To turn range validation on again when you want It used:
  2592.  
  2593. 1. Select Range. Nutshell displays the range, and restores Range to
  2594. the validation type(s) displayed for the field.
  2595.  
  2596. 2. Use the menu to make changes to the range, or press Esc to
  2597. continue with other work.
  2598.  
  2599. Removing All Validation Types at Once
  2600.  
  2601. You can remove all the validation types for a field at once. If
  2602. list or range validation is in effect, the list or range validation
  2603. is turned off, and you can turn it on again as described in the
  2604. preceding section.
  2605.  
  2606. To remove all the validation types that you have specified for a
  2607. field:
  2608.  
  2609. 1. Select None from the menu of validation types. If either List or
  2610. Range was specified, it is turned off.
  2611.  
  2612. 2 . Specify other validation for the field, or press Esc to stop.
  2613.  
  2614. Deleting a Field
  2615.  
  2616. You can delete a field if you no longer need the data it contains
  2617. and have no further need for the field. After you confirm the
  2618. Delete option. Nutshell permanently deletes all the data in the
  2619. field. along with the field definition. Be sure you don't need the
  2620. data in the field before using this option.
  2621.  
  2622. To delete a fiend that is used in a calculation or summary formula,
  2623. you must first delete the calculation or summary field, or modify
  2624. the formula so it does not use the field you want to delete. To
  2625. modify the formula, follow the instructions in the sections
  2626. Changing a Calculation Formula or Changing a Summary Formula.
  2627.  
  2628. To delete a field that is used as a trigger field in a link, you
  2629. must first modify or delete the link so the field isn't used. For
  2630. instructions see the section Changing or Deleting Links Between
  2631. Files.
  2632.  
  2633. To delete a field and all the data It contains:
  2634.  
  2635. 1. On the Define screen, move the cursor to the field you want to
  2636. delete.
  2637.  
  2638. 2. Select Delete. Nutshell asks you to confirm that you want to
  2639. delete the field. Make sure the field marked by the cursor is the
  2640. one you want to delete. Press return to confirm the deletion.
  2641.  
  2642. 3. To permanently delete the field and its data, press return once
  2643. more.
  2644.  
  2645. Defining Links Between Files
  2646.  
  2647. You create a link to another file by:
  2648.  
  2649. Specifying the filename of the look up file (the file you want to
  2650. link the current file to).
  2651.  
  2652. Selecting the field in the look up file that contains information
  2653. which is also contained in your current file. This field is called
  2654. the match field.
  2655.  
  2656. Selecting the corresponding field in the current file that will
  2657. trigger the look up, or matching, process. This field is called the
  2658. trigger field and the two corresponding fields are called a field
  2659. pair.
  2660.  
  2661. When Nutshell triggers the look up process, all matching records in
  2662. the look up file are found, but only the first matching record is
  2663. used for display on layouts, in calculations, for sorting, and for
  2664. sub summarizing. When you use the Zoom option, you will be able to
  2665. see all matching records.
  2666.  
  2667. You can create as many links as you need between files.
  2668.  
  2669. In order to define two fields in different files as a field pair,
  2670. both fields should contain similar data. For example, a file
  2671. containing real estate listings and a file containing property
  2672. appraisals can be linked by fields that contain addresses. Another
  2673. file containing a directory of sellers' addresses and phone numbers
  2674. can be linked to the listings file by fields containing the
  2675. sellers' names.
  2676.  
  2677. There are three important things to consider when you are defining
  2678. links:
  2679.  
  2680. Which file do you want to use as the look up file and which as the
  2681. base ont?
  2682.  
  2683. What information in the look up file corresponds to information in
  2684. the base file? That is, what fields in both files contain matching
  2685. data?
  2686.  
  2687. How many field pairs do you need?
  2688.  
  2689. Deciding which file you want to use as the base file and which as
  2690. the look up file depends on how you want to use the data stored in
  2691. each one. When you're using linked files, data is always looked up
  2692. in the look up file in order to be used in the base file. So, for
  2693. example, when Nutshell looks up an address in a file containing
  2694. customer information to display with records in a billing file, the
  2695. billing file should be the base file and the customer file should
  2696. be the look up file, because Nutshell looks up the address in order
  2697. to display it in the billing file. When Nutshell performs a
  2698. calculation in a payroll file using data in a personnel and an
  2699. hours worked file, the payroll file should be the base file and the
  2700. personnel and hours worked files should be look up files, because
  2701. Nutshell looks up the data it needs, calculates the result, and
  2702. stores it in the payroll file.
  2703.  
  2704. Deciding which two fields to specify as a field pair depends on the
  2705. information in both fields being the same. If an employee file and
  2706. a payroll file each have fields containing social security numbers,
  2707. then you can link the two files together by defining the social
  2708. security number field in the employee file and the social security
  2709. number field in the payroll file as a field pair. For each record
  2710. in the payroll file Nutshell looks up and finds the record in the
  2711. employee file that contains the social security number that
  2712. corresponds to the one in the payroll file.
  2713.  
  2714. Deciding whether you need more than one field pair to link two
  2715. files depends on how specifically you want Nutshell to match your
  2716. data. For example, if you want to link two files using people's
  2717. names as the common information between the files, and each file
  2718. uses two fields for names (First Name and Last Name), you should
  2719. define two field pairs in the link definition: one to match last
  2720. names and one to match first names. When Nutshell looks up the
  2721. corresponding records, it will find only those records whose last
  2722. names and first names match. So even though you have several
  2723. records with Smith in the Last Name field, Nutshell matches Mary
  2724. Smith to Mary Smith and John Smith to John Smith, because oh field
  2725. pairs together must contain the same data in order for records to
  2726. match.
  2727.  
  2728. For more information about multiple field pairs, see the section
  2729. Adding a Field Pair later in this chapter.
  2730.  
  2731. To define a link between two files:
  2732.  
  2733. 1. From the Browse screen, select Define. Nutshell displays the
  2734. Define screen .
  2735.  
  2736. 2. Select Link Files. Nutshell displays the Link Files screen.
  2737.  
  2738. 3. Type the name of the look up file you want to link to the
  2739. current file, then press return.
  2740.  
  2741. or
  2742.  
  2743. Use Show Files to select the look up file.
  2744.  
  2745. Nutshell displays a list of all the defined fields in the look up
  2746. file.
  2747.  
  2748.  4. Select a match field from the list. Nutshell adds the name of
  2749. the field you've selected to the Match Field column, and displays
  2750. a list of all the defined yields in your current file.
  2751.  
  2752. 5. Select a trigger held from the list. Nutshell adds the name of
  2753. the field to the Trigger Field column.
  2754.  
  2755. 6. Continue creating links, or press Esc to stop. 7. Press Esc once
  2756. more to return to the Define screen.
  2757.  
  2758. Changing or Deleting Links Between Files
  2759.  
  2760. Just as you can change field definitions whenever you want to, you
  2761. can change link definitions at any time, too. Changing link
  2762. definitions is as easy as creating them. All the options are
  2763. available on the Link Files screen. This section tells you how to:
  2764.  
  2765. Create links to additional files.
  2766.  
  2767. Create additional links to the same file.
  2768.  
  2769. Change the filename of a look up file.
  2770.  
  2771. Add, change, or delete field pairs.
  2772.  
  2773. Delete links.
  2774.  
  2775. Defining Links to Additional Files
  2776.  
  2777. As you create new Nutshell files, you may want to define links to
  2778. them from files you already have. You can add new links to your
  2779. list of link definitions at any time.
  2780.  
  2781. To define a link to another look up file:
  2782.  
  2783. 1. Select Link Files from the Define screen.
  2784.  
  2785. 2. Select Create. Nutshell displays the cursor at the end of the
  2786. list of already defined links.
  2787.  
  2788. 3. Create as many new links as you need, using the same procedure
  2789. as when you initially defined links: type the filename and press ~,
  2790. then select a match field from the look up file and a trigger field
  2791. from the base file. See the earlier section Defining Links Between
  2792. Files for more details.
  2793.  
  2794. 4. When you've finished adding new links, press Esc to return to
  2795. the Define screen.
  2796.  
  2797. Defining Additional Links to the Same File
  2798.  
  2799. There may be times when, for any record in a base file, you'II want
  2800. to use data from several different records in a look up file. For
  2801. example, for each invoice in an orders file you might want to look
  2802. up from an inventory file the prices of several different inventory
  2803. items. Or you might want to look up both a vendor's address and a
  2804. customer's address from your Rolodex file for inclusion in the same
  2805. record of a base file. In both of these cases you would create an
  2806. additional link to the same look up file, one link for each look up
  2807. you want to use with each single record of the base file. If, in
  2808. any of the additional links, two or more look up file records match
  2809. a record in the base file, just the data from the first matching
  2810. record is used for each link.
  2811.  
  2812. Continuing with the orders file example, since there may be several
  2813. lines on the invoice layout listing separate inventory items, you
  2814. would include fields on the layout using the first link for the
  2815. first line item, the second link for the second line item, and so
  2816. on. Also, a calculation of the extension for the first line item
  2817. would refer to the Price of the item, using the first link, times
  2818. the Quantity field for the first line item, the extension for the
  2819. second line item would use the second link to look up the Price,
  2820. and multiply that by the Quantity field for the second line item,
  2821. and so on.
  2822.  
  2823. When you create more than one link between the same two files, both
  2824. you and Nutshell need to be able to distinguish among them. So, for
  2825. each additional link to the same file you need to add a unique
  2826. number to the end of the name of the look up file. The filename of
  2827. the look up file together with the unique number added to it
  2828. comprise the full link name that you will use whenever you need to
  2829. specify which link to the same file you want to use. You will use
  2830. this full link name when you define calculations that depend on
  2831. data in look up files, when you are including look up fields on a
  2832. layout, when you use the Zoom option, and so on.
  2833.  
  2834. To continue the example above, you should define a series of links
  2835. between the inventory file and the orders file as follows:
  2836.  
  2837. To add a new link to the same look up file:
  2838.  
  2839. 1. From the Define screen, select Link Files.
  2840.  
  2841. 2. Select Create. Nutshell displays the cursor at the end of the
  2842. list of already defined links.
  2843.  
  2844. 3. Create as many new links as you need, using the same procedure
  2845. as when you initially defined links. See the earlier section
  2846. Defining Links Between Files for details.
  2847.  
  2848. When you type the filename, Nutshell asks you to type a number to
  2849. distinguish the new link from any others to the same look up file.
  2850. Type a number, then press ~.
  2851.  
  2852. or
  2853.  
  2854. When you type the filename, type # followed by a unique number at
  2855. the end of the look up filename, then press ~.
  2856.  
  2857. 4. Select a match field from the look up file and a trigger field
  2858. from the base file.
  2859.  
  2860. 5. When you've finished adding new links, press Esc.
  2861.  
  2862. Adding a Field Pair
  2863.  
  2864. You will sometimes find that a link you've set up using just one
  2865. field pair (such as Last Name = Last Name) no longer produces a
  2866. unique one record to one record match. This could happen, for
  2867. example, if there were more than one Smith contained in the match
  2868. tied of a look up file. In such a case, Nutshell would match all
  2869. the records with Smith in the match field, but would use only the
  2870. first found record to display look up fields in layouts or to use
  2871. in calculations or sorting.
  2872.  
  2873. By adding more field pairs to the link definition, you can specify
  2874. more precisely what conditions must be fulfilled in order for
  2875. Nutshell to match records in a look up file. Continuing the
  2876. example, if you add a second field pair (such as First Name = First
  2877. Name) to the first field pair, Nutshell will match records in the
  2878. look up file only if ~h the first field pair and the second field
  2879. pair together match in the same record. So Nutshell will match the
  2880. record Mary Smith in the base file only to the record Mary Smith
  2881. but not to the record John Smith in the look up file, because both
  2882. last name and first name must be the same in order for the records
  2883. to match.
  2884.  
  2885. You can add up to 10 field pairs to any link definition.
  2886.  
  2887. To add a field pair to an existing link:
  2888.  
  2889. 1. Select Link Files from the Define screen.
  2890.  
  2891. 2 . Move the cursor to the link to which you want to add a field
  2892. pair.
  2893.  
  2894. 3. Select Add Field Pair. Nutshell displays a list of defined
  2895. fields in the look up file. Add the field pair, using the same
  2896. procedure as when you initially defined the link: select a match
  2897. field, then a trigger field (see the earlier section Defining Links
  2898. Between Files).
  2899.  
  2900. Changing an Existing Link
  2901.  
  2902. As you find more ways to use the capabilities offered by linking
  2903. files, you may want to make changes to existing links. For example,
  2904. if you change the name of a look up file (in DOS), move a look up
  2905. file to another directory, or replace one look up file with
  2906. another, you'II want to change the link definition. You can change
  2907. any link definition by changing:
  2908.  
  2909. The look up file.
  2910.  
  2911. The match field in any field pair.
  2912.  
  2913. The trigger field in any field pair.
  2914.  
  2915. To change a link definition:
  2916.  
  2917. 1. Select Link Files from the Define screen.
  2918.  
  2919. 2. Move the cursor to the link you want to change.
  2920.  
  2921. 3. Select Modify from the Link Files screen.
  2922.  
  2923. 4. Change the look up file either by typing the name of a new look
  2924. up file or by using Show Files. Nutshell then displays a list of
  2925. the defined fields in the new look up file. Select a match field,
  2926. then a trigger field, following the steps described in the earlier
  2927. section Defining Links Between Files.
  2928.  
  2929. or
  2930.  
  2931. Press return
  2932.  
  2933. to keep the currently defined look up file. Nutshell displays a
  2934. list of the defined fields in the look up file, with the cursor at
  2935. the currently defined match field.
  2936.  
  2937. 5. Select the new match field from the list.
  2938.  
  2939. or
  2940.  
  2941. Press return to keep the currently defined match field.
  2942.  
  2943. Nutshell displays the list of defined fields in the base file, with
  2944. the cursor at the currently defined trigger field.
  2945.  
  2946. 6. Select the new trigger field from the list.
  2947.  
  2948. or
  2949.  
  2950. Press return to keep the currently defined trigger field.
  2951.  
  2952. 7. When you are done, press Esc to return to the Define screen.
  2953.  
  2954. To change a field In a field pair:
  2955.  
  2956. 1. Select Link Files from the Define screen.
  2957.  
  2958. 2. Move the cursor to the field pair you want to change.
  2959.  
  2960. 3. Select Modify from the Link Files screen. Nutshell displays the
  2961. list of defined fields in the look up file, with the cursor at the
  2962. currently defined match field.
  2963.  
  2964. 4. Change or keep the currently defined match field, then change or
  2965. keep the currently defined trigger field, toll owing the steps for
  2966. changing a link definition described above.
  2967.  
  2968. 5. When you are done, press Esc to return to the Define screen.
  2969.  
  2970. Deleting a Field Pair or a Link
  2971.  
  2972. When you no longer need to use information in a look up file, or
  2973. when you delete a look up file you no longer need, you can delete
  2974. the link in the base file as well. You can delete a field pair or
  2975. a link at any time.
  2976.  
  2977. If a field in the look up file is used in a calculation formula in
  2978. the base file, you must first delete the look up field or modify
  2979. the formula so it doesn't use the look up field. To modify the
  2980. formula, follow the instructions in the sections Changing a
  2981. Calculation Formula or Changing a Summary Formula.
  2982.  
  2983. If you have defined two or more field pairs in a link, you can
  2984. delete any of the field pairs listed, including the first one. In
  2985. order to delete the link, you must delete all the field pairs
  2986. first. When you delete one of several field pairs, Nutshell removes
  2987. the deleted field pair from the list.
  2988.  
  2989. Look up fields that are displayed on any layouts in the base file
  2990. are erased when you delete the link. Look up fields used in sort
  2991. orders in the base file are erased, and sub summary partitions that
  2992. depend on look up fields (but not the data in the partition) are
  2993. erased when you delete the link. They are not erased, however, if
  2994. you delete just a field pair but not the link.
  2995.  
  2996.  To delete a field pair or a link:
  2997.  
  2998. 1. Select Link Files from the Define screen.
  2999.  
  3000. 2. Move the cursor to the link you want to delete.
  3001.  
  3002. 3. Select Delete.
  3003.  
  3004. 4. Press return once to confirm a field pair deletion, press return
  3005. twice to confirm a link deletion.
  3006.  
  3007. 5. To continue deleting links, repeat steps 2,3, and 4.
  3008.  
  3009. Introduction
  3010.  
  3011. Before you can take advantage of Nutshell's flexibility in
  3012. organizing information, you need to get your data into a Nutshell
  3013. file. As soon as you've defined fields, you can add information to
  3014. your file either by typing data in fields or by copying data from
  3015. another file (importing).
  3016.  
  3017. Nutshell provides several shortcuts for getting information into
  3018. new records. For example, you can tell Nutshell to duplicate
  3019. information that remains the same from one record to the next
  3020. instead of retyping it, and you can preset field values that will
  3021. remain the same for a group of records to be added. You can edit
  3022. information as you work on each record, or go back later to modify
  3023. or delete information as needed.
  3024.  
  3025. If your current file has links to a look up file, you can add look
  3026. up fields to your layouts in order to display data from the look up
  3027. files. Data from look up files is displayed, but not stored, in the
  3028. current file; it is stored in its own file. To display, add, or
  3029. modify records in a look up file, you can use the Zoom option, then
  3030. work with the look up file in any way you want. For example, if
  3031. you're entering an order in the orders file for a customer whose
  3032. name is not found in the linked customer file, you can zoom to the
  3033. customer file, add the name, address, phone number, and whatever
  3034. else you want, then return to the order file to complete the order.
  3035.  
  3036. In your current file when you type data in a trigger field,
  3037. Nutshell performs the look up process. That is, it looks up and
  3038. finds all records in look up files that contain data in match
  3039. fields that corresponds to the data in the trigger field. In
  3040. addition, Nutshell uses data from the first of the matching records
  3041. in the look up file to do the following:
  3042.  
  3043. If you have look up fields on the layout, data from the first
  3044. matching record is displayed in them.
  3045.  
  3046. If you have calculations that depend on data in the look up file,
  3047. data from the first matching record is used to perform the
  3048. calculation.
  3049.  
  3050. This chapter describes how to add and modify records in both your
  3051. current and look up files by typing data in fields and by copying
  3052. information from elsewhere in the same file, how to preset values
  3053. for Nutshell to add automatically to the next new records, how to
  3054. remove records you no longer need, and how to zoom to look up files
  3055. in order to add, edit, and delete information in them. For
  3056. instructions on importing data from another file, refer to the
  3057. chapter Copying Information To and From Other Files.
  3058.  
  3059. Adding New Records
  3060.  
  3061. Use the Add option to type information into your current file. When
  3062. you select Add, Nutshell displays the Add screen with an empty
  3063. record, using lines of small dots to represent empty fields. If the
  3064. layout you're using includes lookup fields, Nutshell displays them
  3065. as well, using lines of big dots to distinguish look up fields from
  3066. fields in the current file.
  3067.  
  3068. You can type data in as many text, number, or date fields in the
  3069. current file as you want, one new record at a time. You can edit
  3070. information as you type, or correct records later using the Modify
  3071. option. (For instructions on keys to use for editing, refer to the
  3072. section The Keyboard in the chapter Nutshell Conventions.) When you
  3073. finish typing data in each new record, Nutshell adds the record to
  3074. the end of the file.
  3075.  
  3076. You do not type data in calculation, summary, or look up fields.
  3077. Nutshell calculates or looks up and displays data for these fields
  3078. automatically. Use the Zoom option to type data in look up files
  3079. (see the section Displaying, Adding, and Editing Information in
  3080. Look up Files later in this chapter). For information on including
  3081. look up fields on a layout, see Adding Fields to a Layout in the
  3082. chapter Changing the Visual Presentation.
  3083.  
  3084. While you're adding records, you can view the index of all of the
  3085. values contained in each text, number, date, or calculation field
  3086. in all records, both in the current file and in look up files.
  3087. (There's no index for summary fields because they do not contain
  3088. individual values stored in separate records.) To save you typing
  3089. and to help ensure the accuracy of your data, Nutshell lets you
  3090. copy values from the index into text, number, or date fields in the
  3091. current file. You can also display the types of validation you have
  3092. specified for the field. Or you can copy values from a list of
  3093. valid values if you have specified list validation. You can also
  3094. copy data from another record in the current file. When you need to
  3095. add several records with the same value in a field, you can tell
  3096. Nutshell to automatically fill in the values that remain the same
  3097. for each new record.
  3098.  
  3099. The basic steps for adding records are given below, followed by a
  3100. summary of keys to use on the Add screen. The next sections explain
  3101. what you can type in each field in the current file, and how to use
  3102. the index, copy data from another record, preset field values, or
  3103. copy a value from a validation list. If you give these sections a
  3104. quick review before you begin to add records, you'II be able to
  3105. choose the most efficient way to get data into your current file.
  3106. For information about typing information in look up files, see the
  3107. section Displaying, Adding, and Editing Information in Look up
  3108. Files.
  3109.  
  3110. To add records to the current file by typing data In fields:
  3111.  
  3112. 1. From the Browse screen, select Add. Nutshell displays the Add
  3113. screen with an empty record. Any hookup fields are also displayed.
  3114. The cursor is in the first field of the current file.
  3115.  
  3116. Note: You will not be able to select Add If a field for which you
  3117. have specified Must Enter validation is not on the current layout.
  3118. Because a value is required in such a fiend, it must be on the
  3119. layout you use for data entry. To change the current layout, select
  3120. Layout, then press Pgup or PgDn. To change the validation criteria,
  3121. follow the instructions in the section Changing the Validation
  3122. Criteria in the chapter Designing Files.
  3123.  
  3124. 2. Type data in text, number, and date fields in the current file.
  3125. If you type in a trigger field and there are look up fields on the
  3126. layout, Nutshell displays data from the first matching record in
  3127. the look up file.
  3128.  
  3129. 3. To continue adding records, press F10 or PgDn or the + (plus)
  3130. key in the numeric keypad. Nutshell adds the record to the end of
  3131. the file and displays a new empty record.
  3132.  
  3133. 4. To stop adding records, press Esq. Nutshell adds the record and
  3134. displays it on the Browse screen.
  3135.  
  3136. Typing in Fields
  3137.  
  3138. If you need to type more data than will fit in a field, use
  3139. Nutshell's Layout option to make the field larger. See Changing the
  3140. Size of a Field in the chapter Changing the Visual Presentation.
  3141.  
  3142. Whenever you type in a field that is used as a trigger field in a
  3143. link, Nutshell performs the look up, or matching, process:
  3144.  
  3145. Nutshell automatically creates a find pattern in the look up file
  3146. using as criteria values that are contained in any trigger fields
  3147. in the current record of the base file. It then finds any records
  3148. in the look up file that contain values in match fields that
  3149. correspond to the values in the trigger fields.
  3150.  
  3151. If look up fields are included on the layout in the base file,
  3152. Nutshell automatically displays the data from the look up file. If
  3153. Nutshell finds more than one record in the look up file that match
  3154. the record in the base file, it displays data from just the first
  3155. found record.
  3156.  
  3157. Nutshell automatically performs any calculations that use look up
  3158. fields in the formula and displays the result in the base file. If
  3159. Nutshell finds more than one record in the look up file that match
  3160. the record in the base file, it uses values contained in just the
  3161. first found record.
  3162.  
  3163. You don't type in calculation, summary, or look up fields. Nutshell
  3164. automatically calculates the results for calculation and summary
  3165. fields, looks up data in look up files, and displays the calculated
  3166. results and the looked up data in each record.
  3167.  
  3168. ? ? ? ? ? ? Occasionally, Nutshell fills a number, calculation, or
  3169. summary field with question marks. This usually means that the
  3170. field is not long enough to display the number accurately. To
  3171. display the number, make the field longer on the layout. Question
  3172. marks may also appear in a calculation field if the values used in
  3173. the formula result in division by zero, and they may appear in a
  3174. summary field if you have can celled summarization by pressing Esc
  3175. while Nutshell is calculating the summary value.
  3176.  
  3177. Note: In calculation fields, Nutshell performs the calculation even
  3178. if there is data in only one of the fields in the formula. If all
  3179. number fields used in a formula are empty, or if a date or time
  3180. field used in a formula is empty, the result will be empty as well.
  3181. If a number flew used in the formula is empty, Nutshell uses zero
  3182. for the field value when it calculates the result. For example, if
  3183. the formula for Total Due is Price + Sales Tax, and Sales Tax is
  3184. empty, you can still see a result in the Total flew (which in this
  3185. instance is Price + O). This saves you from having to type O in the
  3186. Sales Tax field when no tax is charged.
  3187.  
  3188. Text Fields
  3189.  
  3190. When you type in a text field, Nutshell word wraps text to match
  3191. the shape of the field on the layout, breaking lines between words.
  3192. To end a line in a different place, press return; Nutshell inserts
  3193. a return character
  3194.  
  3195. to show that the line will always break at that point unless you
  3196. delete the return character.
  3197.  
  3198. You can specify whether you want your text left justified, right
  3199. justified, or centered by using the Format option on the layout.
  3200. Formatting does not affect the way your data is stored or displayed
  3201. when you're adding or modifying records; it affects only how it is
  3202. displayed on the Browse screen and how it is printed. For
  3203. instructions on how to format text fields, see the section
  3204. Formatting Fields in the chapter Changing the Visual Presentation.
  3205.  
  3206. Number Fields
  3207.  
  3208. In addition to numbers, you can type non numeric characters in a
  3209. number field, such as a unit of measure.
  3210.  
  3211. By using the Format option on the layout you can have Nutshell
  3212. justify numbers at the left, right, or center of the field, round
  3213. the number portion of the field to a specified number of decimal
  3214. digits for display and printing, add commas to separate thousands,
  3215. and add a currency sign to number fields containing financial data.
  3216. The formatting is applied when you browse and print records. For
  3217. instructions on how to format number fields, see the section
  3218. Formatting Fields in the chapter Changing the Visual Presentation
  3219.  
  3220. Note: Nutshell displays and prints just the number In a formatted
  3221. field. If you type text in a number field and want the text
  3222. displayed and printed, leave the field unformatted.
  3223.  
  3224. Date Fields
  3225.  
  3226. In a date field, type the date in the order month, day, year, using
  3227. digits separated by a non numeric character such as a space, slash,
  3228. or hyphen. You can type the year using two or four digits; if you
  3229. use two, Nutshell assumes the twentieth century. For example, 12-
  3230. 9-90 is interpreted as December 9, 1990.
  3231.  
  3232. You can have Nutshell display and print the date in a variety of
  3233. styles by using the Format option on the layout. For example, you
  3234. can have Nutshell display 4/25/1990 as Monday, April 25,1990.
  3235.  
  3236. Time Fields
  3237.  
  3238. In a time field, type the hours, minutes, seconds, using digits
  3239. separated by a non numeric character such as colon. You can enter
  3240. just the hours and minutes omitting the seconds. For example 1
  3241. :30:25A is one hour thirty minutes twenty five seconds while 1 :OVA
  3242. is one hour zero minutes zero seconds. You can enter time using
  3243. twenty four hour (military) format or 12hour format, however using
  3244. either format, times which are ambiguous (less than 13:00) require
  3245. the additional entry of an AM (or A ) or PM (or P) to resolve the
  3246. exact time value.
  3247.  
  3248. You can have Nutshell display and print the time in a variety of
  3249. styles by using the Format option on the layout.
  3250.  
  3251. For instructions on how to format date and time fields, see the
  3252. section Formatting Fields in the chapter Changing the Visual
  3253. Presentation.
  3254.  
  3255. Using the Index
  3256.  
  3257. Nutshell automatically maintains an index of all the values you
  3258. type in each field. The index for a text field is an alphabetical
  3259. list of words. The index for a number field is a list of numbers
  3260. from smallest to largest. The index for a date or time field is a
  3261. chronological list . When you're adding records, you can use the
  3262. index to see the name of the field and what you typed in the field
  3263. in other records, in order to look for a particular value, to check
  3264. for errors such as misspellings, or to copy a value into the
  3265. current field. When you copy a value from the index into a field,
  3266. you can either insert the value or replace a value that's already
  3267. there.
  3268.  
  3269. You can also view the index for calculation fields and look up
  3270. fields, even though you don't type in these fields. Use the cursor
  3271. keys instead of the (Tab) and (Shift Tab) keys to position the
  3272. cursor in a calculation or look up field.
  3273.  
  3274. To use the Index:
  3275.  
  3276. 1. Move the cursor to the field for which you want to see the
  3277. index.
  3278.  
  3279. 2. Select Show Index. Nutshell displays the field name with a list
  3280. of all the values in the field in other records.
  3281.  
  3282. 3. To copy a value from the index for a text, number, or date field
  3283. in the current file into the current field, select the value. If
  3284. insert mode is on (the cursor is a block) Nutshell insets the value
  3285. in the field at the cursor position. If replace mode is on (the
  3286. cursor is an underscore), Nutshell overwrites the value in the
  3287. field with the value from the index; if necessary, delete any extra
  3288. characters remaining from the previous value.
  3289.  
  3290. 4. When you are done using the index, press Esc.
  3291.  
  3292. Copying Information from Another Record
  3293.  
  3294. Nutshell's Ditto option lets you copy The entire contents from a
  3295. field in another record into the field that contains the cursor, in
  3296. contrast to the Show Index option which lets you copy one word.
  3297. number. or date at a time from the index into the current field.
  3298. Ditto saves time and helps ensure accuracy when you're adding
  3299. information that you've already typed in another record, such as a
  3300. company name and address, a department name or a part description.
  3301. (If you are adding many new records which have identical field
  3302. contents in one or more fields, it's faster to use the Preset
  3303. option than the Ditto option; see the next section, Specifying
  3304. Preset Field Values.)
  3305.  
  3306. You can copy information from any record in the current file by
  3307. first displaying on the Browse screen the record you want to copy
  3308. from, then selecting Add. To look through records on the Browse
  3309. screen, use the Pgup and PgDn keys. (See the chapter Finding
  3310. Information for instructions on tin ding a specific record.)
  3311.  
  3312. When you're already adding records, Ditto copies field contents
  3313. from the last record you added.
  3314.  
  3315. In addition to the Ditto option, you can use Nutshell's predefined
  3316. Copy and Paste macros to copy information into fields. For more
  3317. information about macros, see the section Using Copy, Paste, Date,
  3318. and Time in the chapter Automating Tasks Using Macros.
  3319.  
  3320. To copy field contents from another record:
  3321.  
  3322. 1. On the Add screen, move the cursor to the field you want to copy
  3323. information into.
  3324.  
  3325. 2. Select Ditto. Nutshell copies the field contents from the same
  3326. field in the last record you added or browsed.
  3327.  
  3328. 3. Repeat steps 1 and 2 for as many fields as you need to copy.
  3329.  
  3330. Note: Using a Macro: Alternately, you can record a macro that
  3331. repeats steps 1 and 2 for each one of several fields which you wish
  3332. to ditto
  3333.  
  3334. Checking for Validity of Information
  3335.  
  3336. As you add records, Nutshell checks the data in each text, number,
  3337. and date field against any validation criteria you have specified
  3338. on the Define screen. You can view the validation criteria for any
  3339. field, and if a validation type of List has been specified, you can
  3340. copy a value from the list into the field instead of typing it.
  3341.  
  3342. If what you type in a field doesn't match the validation criteria,
  3343. Nutshell marks the field with a solid bright background and
  3344. prevents you from moving the cursor out of the field or adding the
  3345. record until you correct the data or override the criteria.
  3346.  
  3347.  If you override the validation criteria, you can later find the
  3348. records that contain invalid values in order to modify or delete
  3349. them. (See the section Ways to Find Records in the chapter Finding
  3350. Information.) If the validation criteria themselves are obsolete or
  3351. incorrect, you can change or remove them. (See the section Changing
  3352. the Validation Criteria in the chapter Designing Files.)
  3353.  
  3354. To view validation criteria that have been specified for a field:
  3355.  
  3356. 1. Move the cursor to the field.
  3357.  
  3358. 2. Select Validation. Nutshell displays the field name and the
  3359. types of validation that have been specified.
  3360.  
  3361. 3. To return to adding data, press Esc.
  3362.  
  3363. 4. Move the cursor to the next field or record, using the
  3364.  
  3365. (Tab) or PgDn keys as usual.
  3366.  
  3367. To copy a value from a valldatlon list Into a field:
  3368.  
  3369. 1. Display the validation criteria as described above. Nutshell
  3370. moves the cursor to the first value in the list.
  3371.  
  3372. 2. Select the value you want to copy. Nutshell copies the value
  3373. into the field, replacing any existing value.
  3374.  
  3375. To Override the validation criteria:
  3376.  
  3377. 1. Select Override. (The Override menu option appears only when you
  3378. try either to move the cursor out of a field containing an invalid
  3379. value or to add a record without typing a value in a field for
  3380. which Must Enter validation has been specified.) Nutshell overrides
  3381. the criteria and you can either move the cursor to the next field
  3382. or add the record.
  3383.  
  3384. 2. Move the cursor to the next field or record, using the (Tab) or
  3385. PgDn keys as usual.
  3386.  
  3387. Specifying Preset Field Values
  3388.  
  3389. When you're adding several records that contain identical field
  3390. values, you can eliminate redundant typing by using Nutshell's
  3391. Preset option. Preset lets you type once the field values that will
  3392. be the same from record to record. Nutshell automatically copies
  3393. those values into each new record for you. For example, if you're
  3394. adding a group of records that all contain the same Zip code, you
  3395. can use Preset to type the Zip code once. Nutshell will copy it
  3396. into the Zip code field in each record you add.
  3397.  
  3398. You can change or remove preset values at any time by using the
  3399. Preset option. Using the Zip code example, if the next group of
  3400. records you will add contains a different Zip code, simply change
  3401. the Zip code on the Preset screen. Nutshell will now copy the new
  3402. Zip code into the field as you add records. Using the Delete key,
  3403. you can remove values in fields on the Preset screen.
  3404.  
  3405. After Nutshell copies preset values into a new record, you can edit
  3406. the values in the same way you would edit a value you typed
  3407. yourself.
  3408.  
  3409. Note: Preset values are copied only into new records, including the
  3410. record currently displayed on the Add screen. Fields in existing
  3411. records are not affected.
  3412.  
  3413. To specify preset field values:
  3414.  
  3415. 1. From the Add screen, select Preset. Nutshell displays the Preset
  3416. screen, which looks like an empty record.
  3417.  
  3418. 2. Type the data you want copied into text, number, date or time
  3419. fields in each new record, or edit values that were previously
  3420. specified. (The values must conform to any validation criteria you
  3421. have specified.) Use the Show Index, Ditto, and Validation options
  3422. the same way as for adding records, as explained earlier in this
  3423. chapter. Use the Undo option to cancel changes you make to
  3424. previously specified preset values. Use the Clear option to remove
  3425. all preset values
  3426.  
  3427. To remove a value from a field on the Preset screen, position the
  3428. cursor in the field whose value you want to remove, then press Ctrl
  3429. Delete.
  3430.  
  3431. 3. When you are done specifying the values, press Esc to return to
  3432. the Add screen. Nutshell copies the preset values into the current
  3433. record, and into each new record that you add by pressing PgDn,
  3434. F10, or the + (plus) key in the numeric keypad.
  3435.  
  3436. Changing the Information in a Record
  3437.  
  3438. You can change records at any time in order to update information,
  3439. correct misspellings, make invalid values comply why validation
  3440. criteria, and so on. You can change the values in text, number, and
  3441. date fields; Nutshell recalculates the values for calculation and
  3442. summary fields in the current file automatically.
  3443.  
  3444. If the file you're working with is linked to other files and you
  3445. change a value in a trigger field, Nutshell ret riggers the look up
  3446. process; that is, H looks for records that contain values in the
  3447. match field that correspond to the new value you've typed in the
  3448. trigger field. If the current layout includes look up fields or
  3449. calculation fields that depend on look up fields, values in those
  3450. fields may also change as a result of any change you make in a
  3451. trigger field.
  3452.  
  3453. You can either display the record you want to modify on the Browse
  3454. screen, then select the Modify option, or select Modify first, then
  3455. display the record to be modified. Use the keys listed below to
  3456. display records.
  3457.  
  3458. You can also use the Find option to locate a particular record or
  3459. group of records you want to modify. For example, you could find
  3460. all the records that contain a customer name you need to correct,
  3461. or employee records missing a social security number for which you
  3462. specified Must Enter validation. For instructions on finding
  3463. records, refer to the chapter Finding Information.
  3464.  
  3465. When you select Modify from the Browse screen, the menu options are
  3466. very similar to those for adding records. You can use Show Index,
  3467. Ditto, and Validation when modifying records the same way as for
  3468. adding records, as explained earlier in this chapter. When you are
  3469. modifying records, selecting the Ditto option tells Nutshell to
  3470. copy the contents of the same field in the record you last
  3471. modified, rather than the one you last browsed or added.
  3472.  
  3473. One additional option, called Undo, lets you undo changes you make
  3474. to a field value.
  3475.  
  3476. If your current file is a look up file (that is, if a base file is
  3477. linked to it), and you change a value that's used by the base file
  3478. in a calculation or summary formula, Nutshell does not recalculate
  3479. the formula in the base file. Any changes you make in a look up
  3480. file affect only the current file. So if you keep orders in a base
  3481. file and prices in a look up file, prices that are looked up and
  3482. displayed on your order records will not be automatically changed
  3483. when you make changes to your price list. This lets you change
  3484. prices for all subsequent orders, without disturbing the records of
  3485. your completed transactions. If you want Nutshell to recalculate
  3486. formulas for any record in a base file, open the file, display the
  3487. record you want, and type in a trigger field. Nutshell will ret
  3488. rigger the look up process and will automatically recalculate any
  3489. calculation or summary formulas. The value you retype in the
  3490. trigger field should be the same as the original value in order for
  3491. Nutshell to match the same records as before.
  3492.  
  3493. To modify a record:
  3494.  
  3495. 1. Display the record on the Browse screen, then select Modify.
  3496.  
  3497. or
  3498.  
  3499. Select Modify from the Browse screen, then use the Pgup or the PgDn
  3500. key to display the record.
  3501.  
  3502. Nutshell displays the Modify screen, and allows typing in text,
  3503. number, and date fields in the current file. A message at the
  3504. bottom of the screen alerts you if there are any invalid fields in
  3505. the record. Invalid fields are marked with a solid bright
  3506. background.
  3507.  
  3508. Note: You will not be able to select Modify if a field for which
  3509. you have specified Must Enter validation is not on the current
  3510. layout. Because a value is required in such a field, it must be on
  3511. the layout you use for data entry. To change the current layout,
  3512. select Layout, then press Pgup or PgDn. To change the validation
  3513. criteria, follow the instructions in the section Changing the
  3514. Validation Criteria in the chapter Designing Files.
  3515.  
  3516. 2. Change the values in as many fields as necessary, using the same
  3517. keys and menu options as for adding records.
  3518.  
  3519. To cancel changes you've made to a field, select Undo; Nutshell
  3520. restores the previous field contents.
  3521.  
  3522. If you type an invalid value in a field, the field is marked with
  3523. a solid bright background, and the Override menu option is
  3524. displayed. Either replace the value with a valid value, or select
  3525. Override to accept the value. (To display the validation types
  3526. specified for the field, select Validation.)
  3527.  
  3528. 3. To continue making changes, move the cursor to the next field
  3529. using the (Tab) or PgDn keys.
  3530.  
  3531. 4. To modify the next record, press F10 or PgDn or the + (plus) key
  3532. in the numeric keypad. To modify the previous record, press Pgup.
  3533.  
  3534. 5. To stop modifying records, press Esc. Nutshell accepts any
  3535. changes to the record you just completed and displays it on the
  3536. Browse screen
  3537.  
  3538. Removing Records
  3539.  
  3540. When you're sure you no longer need the data contained in certain
  3541. records in your file, you can delete the records one at a time or
  3542. by groups. Occasionally you may want to delete all the records in
  3543. a file. For example, at the end of a fiscal year you could make an
  3544. archive copy of a file of sales orders, then remove all the records
  3545. in your working copy so that when you add records, the file
  3546. contains only data for the new fiscal year. When you remove all the
  3547. records in a file, you are permanently removing the data; Nutshell
  3548. keeps all your field definitions and layouts in the file.
  3549.  
  3550. You delete records from a file by using the Remove option to delete
  3551. either a single displayed record, or a group of records (the found
  3552. records or all the records). For instructions on using the Find
  3553. option to isolate one or more records or to find all the records,
  3554. refer to the chapter Finding Information.
  3555.  
  3556. When you are deleting a record in the current file that has
  3557. matching records in a look up file, you may also want at the same
  3558. time to delete the matching records in the look up file. For
  3559. example, when you delete an item in an inventory file, you might
  3560. want to delete the corresponding price from a price file. To delete
  3561. matching records, zoom to the look up file and delete the records
  3562. there.
  3563.  
  3564.  To permanently delete one record:
  3565.  
  3566. 1. Display the record to delete on the Browse screen by using the
  3567. Pgup or PgDn keys or by using the Find option.
  3568.  
  3569. 2. Select Remove. Nutshell displays the Remove screen.
  3570.  
  3571. 3. Select One Record, then press return to confirm the permanent
  3572. removal of the record. Nutshell deletes the record and displays the
  3573. Browse screen.
  3574.  
  3575. To permanently delete a group of records or all the records In the
  3576. file:
  3577.  
  3578. 1. To group the records to delete, use the Find option.
  3579.  
  3580. or To find all the records in the file if you are not already
  3581. browsing all the records, use the Find All option.
  3582.  
  3583. 2. Select Remove. Nutshell displays the Remove screen. The menu
  3584. option All Found Records is available if you were browsing just the
  3585. found records. The menu option ALL Records is available if you were
  3586. browsing all the records in the file.
  3587.  
  3588. 3. To permanently delete all the found records, select All Found
  3589. Records, then confirm by pressing return. Because you use this
  3590. option to delete more than one record, Nutshell asks you to confirm
  3591. a second time. Press return to confirm the removal. or
  3592.  
  3593. To permanently delete all the records in the file, select ALL
  3594. Records. This option deletes all the data in your file, leaving
  3595. field definitions, link definitions, and layouts intact. Confirm
  3596. that you want to delete all the records by pressing return. Because
  3597. you use this option to delete more than one record, Nutshell asks
  3598. you to confirm a second time. Press to confirm the removal.
  3599.  
  3600. 4. After deleting the records, Nutshell displays the Browse screen.
  3601.  
  3602. Displaying, Adding, and Editing Information in Look up Files
  3603.  
  3604. If your current file has links to one or more look up files, you
  3605. can use the Zoom option to open and work with the look up files
  3606. directly, without first having to close the current file. You can
  3607. use the Zoom option from the Add screen, the Modify screen, and the
  3608. Browse screen. When you select Zoom, Nutshell finds all the records
  3609. in the look up file that contain data in match fields that
  3610. corresponds to the data in the trigger field(s) of the base file,
  3611. and displays the first matching record on the Browse screen of the
  3612. look up file. The look up file becomes your current file. When
  3613. you're finished working with a look up file, press Esc to return to
  3614. the base file.
  3615.  
  3616. The Zoom option is particularly useful when you are adding and
  3617. changing records. If, for example, you're filling out an order, and
  3618. one of the items you want to include hasn't yet been added to the
  3619. inventory file, you can zoom from the orders file to the inventory
  3620. file, add the new item to the file, and return to the orders file.
  3621.  
  3622. When you select Zoom, the look up file you zoom to and the link
  3623. Nutshell uses to zoom to it are determined by where you have
  3624. positioned the cursor. If the current file has just one link to a
  3625. look up file defined, Nutshell zooms to that look up file using
  3626. that one link. If the current file has more than one link, either
  3627. to different files or to the same file, Nutshell uses the cursor
  3628. position to determine which link to use for zooming, according to
  3629. the following principles:
  3630.  
  3631. If the cursor is in a trigger field, Nutshell zooms using the link
  3632. that uses this trigger field.
  3633.  
  3634. If the cursor is in a trigger field that is used in more than one
  3635. link Nutshell asks you to select the link you want to use.
  3636.  
  3637. If the cursor is in a look up field, Nutshell zooms using the link
  3638. that was used to select the look up field.
  3639.  
  3640. If the cursor is not in a field or is in a field unrelated to any
  3641. link, and more than one link is defined in your current file,
  3642. Nutshell asks you to select the link you want to use.
  3643.  
  3644. The general rule is: Nutshell zooms using the link that is related
  3645. to the field the cursor is in; if it is at all ambiguous which link
  3646. to use, Nutshell asks you to specify which link you want. So, for
  3647. example, If you want more information about data associated with a
  3648. look up field that's displayed on your layout, position the cursor
  3649. in the look up field, then select Zoom. Nutshell zooms to the
  3650. record from which the look up field~s data came. If you want to see
  3651. all the records in a look up file that match a given record
  3652. position the cursor in a trigger field, then select Zoom. Nutshell
  3653. zooms to the look up file and displays the first matching record.
  3654. To see the other matching records, use the Pgup and PgDn keys.
  3655.  
  3656. To display and work with a look up file:
  3657.  
  3658. 1. From the Add screen, Modify screen, or Browse screen, select
  3659. Zoom.
  3660.  
  3661. If Nutshell can't determine from the cursor position which link to
  3662. use, it displays the list of links and asks which link to use.
  3663. Select the link you want to use.
  3664.  
  3665. 2. Nutshell finds all records in the look up file that contain data
  3666. in match fields that corresponds to the data in the trigger
  3667. field(s) of the base file, and displays the first found record on
  3668. the Browse screen of the look up file. To see the other matching
  3669. records, use the Pgup and PgDn keys.
  3670.  
  3671. If no records in the look up file match the current record in the
  3672. base file, Nutshell displays a message to inform you that no
  3673. records match, finds all the records in the look up file, and
  3674. displays the first record.
  3675.  
  3676. 3. The look up file is now your current file. You can add, modify,
  3677. or delete records, define fields and file links, create or edit
  3678. layouts in other words, you can do anything in the look up file
  3679. that you could do in the base file.
  3680.  
  3681.  4. Press Esc when you are finished working with the look up file.
  3682. Nutshell returns to the screen from which you selected Zoom in the
  3683. base file.
  3684.  
  3685. Introduction
  3686.  
  3687. Nutshell's Layout option lets you control how your information
  3688. looks on the screen and on the printed page. Each layout is
  3689. separate from the data; the layout shows the arrangement of fields
  3690. and text that Nutshell will use to display and print your records
  3691. when you are using that particular layout.
  3692.  
  3693. On any layout you control what fields to display, the size and
  3694. shape of fields, the spacing between fields and text, the
  3695. highlighting of information using bold and underlined characters,
  3696. the location of page numbers, and so on. You can view and change
  3697. layouts at any time with the Layout option, then see your data in
  3698. a given layout by pressing Esc to return to the Browse screen .
  3699.  
  3700. Different layouts let you view the information in your files in
  3701. different ways. For example, for a file of books in a library, one
  3702. layout could be used to print catalog cards, another layout to
  3703. print an inventory of books in order by call number, and a third to
  3704. print lists of books by subject with bibliographical entries. A
  3705. request for a report of books by publisher could be easily met just
  3706. by modifying a layout, sorting the records by publisher, and
  3707. printing records. By displaying a particular layout (or creating a
  3708. new one), and finding records that match your criteria, then
  3709. sorting them in the order you need, you can display and print many
  3710. kinds of information, all from one file. Taking the library example
  3711. one step further, it would be easy to find just the books on a
  3712. particular subject, sort them by author, and print a bibliography.
  3713.  
  3714. As soon as you define fields in a file, Nutshell creates an initial
  3715. layout (called a standard layout) so that you can add data to your
  3716. file right away, without having to take the time to select the
  3717. Layout option, position your fields, and type text to identify
  3718. them. The standard layout includes all of your fields, and text
  3719. corresponding to each field name so you can see what to type in
  3720. each field when you add records.
  3721.  
  3722. You can change any aspect of the standard layout by modifying it or
  3723. by creating a new layout of your own design. When you select Layout
  3724. from the Browse screen, Nutshell displays a menu that lets you
  3725. control each aspect of the layout. When you change a layout, you're
  3726. never changing your data
  3727.  
  3728.  just the way the data is displayed and printed. Because you can
  3729. create as many layouts as you need in a Nutshell file, you can
  3730. experiment with different ways to present your data.
  3731.  
  3732. Nutshell stores all your layouts until you delete them. You can
  3733. move from one layout to the next by using the Pgup and PgDn keys.
  3734. When you press Esc to return to the Browse screen, Nutshell uses
  3735. the layout you last viewed to display your records. The current
  3736. layout (the one you last viewed on the Layout screen), is used to
  3737. display and print your records until you modify the layout or
  3738. display another layout.
  3739.  
  3740. If the current file has links to look up files, you can display any
  3741. or all of the fields from the look up files on any layout in your
  3742. current file. If the library in the above example keeps order
  3743. information in one file, and the order file has a link to the book
  3744. file, a layout can be created in the order file that would display
  3745. full bibliographic information along with the information in the
  3746. order file. Although the order information and the bibliographic
  3747. information are kept in different files, the link lets you display
  3748. and print the information from both files together. The
  3749. bibliographic information is not transferred to the order file,
  3750. however; it remains in the book file where it was originally
  3751. stored.
  3752.  
  3753. A field from a look up file that's displayed on the layout of your
  3754. current file is called a look up field, because Nutshell "looks up"
  3755. the data in the look up file in order to display it. Look up fields
  3756. are displayed on the layout screen using a different symbol from
  3757. the one used for fields in the current file, so it's easy to
  3758. distinguish them.
  3759.  
  3760. This chapter first explains the standard layout and tells how to
  3761. create and delete layouts, then provides instructions for working
  3762. with any individual layout: how to move text and fields, change the
  3763. size of a field, add look up fields, type new text, highlight
  3764. information, format your data for display, and so on.
  3765.  
  3766. The next chapter, Adding Power to Reports, explains the layout
  3767. option called Partition, which lets you designate areas of the
  3768. layout for a header, footer, and for summary information in order
  3769. to make reports more effective.
  3770.  
  3771. Nutshell's Standard Way of Presenting Information
  3772.  
  3773. When you first select Layout from the Browse screen after defining
  3774. fields, Nutshell displays a standard layout that's used to display
  3775. and print data in your file. You can change any aspect of this
  3776. layout or create other layouts to see your data in other
  3777. arrangements.
  3778.  
  3779. The standard layout represents all the fields in your current file,
  3780. using blocks to show an initial size for each field. The blocks
  3781. represent the number of characters you can type or display in
  3782. fields when you add, modify, or find records; for example, Nutshell
  3783. initially allows you to type up to 50 characters in a text field,
  3784. and up to 15 digits can be displayed in a summary field. You can
  3785. change the size of each field whenever you need to .
  3786.  
  3787. To the left of each field is a text label that is identical to the
  3788. field name, so you know which field on the layout is which. Any
  3789. text that you see or type on a layout is called layout text, and
  3790. can be changed or removed at any time. For example, although your
  3791. field name may be Total Bill, you might want to change the text to
  3792. read Balance Due on a layout used to print invoices. This doesn't
  3793. change the field name, only the text that appears on this
  3794. particular layout. You can type additional layout text to provide
  3795. instructions on what to type in fields; for example, layout text in
  3796. a lawyer's work log file might note that time expended is typed in
  3797. tenths of an hour. Or, you can remove layout text all together. For
  3798. example, when you create a layout for printing mailing labels, all
  3799. you need on the layout is name and address fields; it's unnecessary
  3800. to print layout text along with the data that's in the fields.
  3801.  
  3802. The screens on the following page show the standard layout Nutshell
  3803. created for a lawyer's work log, and a record using this layout
  3804. displayed on the Browse screen.
  3805.  
  3806. The standard layout is a convenience that lets you type data
  3807. without first making decisions about the appearance of your
  3808. records. It also provides the ingredients (text and fields) that
  3809. you can use to customize a layout, by moving fields into new
  3810. positions, changing their size and shape, adding or changing text,
  3811. and so on.
  3812.  
  3813. You can create a new standard layout at any time, or copy a
  3814. modified layout, or even create an empty layout for instances in
  3815. which it's easier to add what you want to the layout rather than
  3816. remove everything you don't want. For example, H your file contains
  3817. many fields, it may be easiest to create a layout for mailing
  3818. labels by adding name and address fields to an empty layout. The
  3819. next section gives instructions for copying and creating layouts.
  3820.  
  3821. Using Different Layouts to Display, Manage, and Print Information
  3822.  
  3823. By creating different layouts in a file and using each layout for
  3824. a specific purpose, you can use the same data in many different
  3825. ways. You may find it helpful to keep one layout that contains all
  3826. your fields (the standard layout), create another layout with a
  3827. very compact arrangement of fields so you can type a whole record
  3828. on one screen, and other layouts for printing form letters, reports
  3829. with different kinds of summaries, and mailing labels. Or you may
  3830. want to create layouts that include look up fields from selected
  3831. files. If you need to copy data to or from other files, you may
  3832. also want to design layouts for that purpose, because Nutshell uses
  3833. the current layout to determine which fields to copy to another
  3834. file or what order to use to store incoming data in fields. (For
  3835. details, see the chapter Copying Information To and From Other
  3836. Files.)
  3837.  
  3838. Each layout can be up to 240 columns by 65,000 lines long, so you
  3839. have a lot of flexibility for designing custom forms and reports,
  3840. data entry screens, and other arrangements for your information.
  3841.  
  3842. Until you become familiar with all the layout options, you might
  3843. find it helpful to copy an existing layout in order to make
  3844. changes, so you can go back to the earlier version if you want.
  3845. When you've modified a layout to your satisfaction, you can delete
  3846. any layouts you no longer need. This section explains how to copy
  3847. layouts, create layouts, and delete layouts.
  3848.  
  3849. The following keys are useful in moving the cursor on a layout and
  3850. displaying different layouts in your file.
  3851.  
  3852. Note: You can make your work with layouts most efficient by making
  3853. full use of the cursor movement keys by themselves and in
  3854. combination with the Carl key. For a review of how to use these
  3855. keys, see the section The Keyboard in the chapter Nutshell
  3856. Conventions. Nutshell displays the position of the cursor on the
  3857. top line of the screen, by giving the line number and the character
  3858. position on the line.
  3859.  
  3860. Copying a Layout
  3861.  
  3862. Copy a layout in order to create another layout that's similar to
  3863. an existing one, or to experiment with changes to a layout while
  3864. retaining the original as a back up. When you copy a layout, all
  3865. settings for printing, importing, and exporting are also copied to
  3866. the new layout (see the chapters Printing Information, and Copying
  3867. Information To and From Other Files for details about printing,
  3868. importing, and exporting settings).
  3869.  
  3870. To copy a layout:
  3871.  
  3872. 1. On the Layout screen, display the layout you want to copy.
  3873.  
  3874. 2. Select Create.
  3875.  
  3876. 3. Select Copy of This Layout. Nutshell creates and displays the
  3877. copy, which is placed at the end of your existing layouts, as
  3878. indicated by the Pug 1' (Pgup) symbol in the upper right corner of
  3879. the screen.
  3880.  
  3881. Creating a New Standard Layout
  3882.  
  3883. When you use the Define option to create new fields, Nutshell adds
  3884. the fields to the current layout, and to all standard layouts that
  3885. you subsequently create, but not to previously existing layouts.
  3886. (You can use the Include option to add new fields to other layouts,
  3887. as described in the section Adding Fields to a Layout later in this
  3888. chapter.) Whenever you create a new standard layout, it includes
  3889. every field you have defined, in the order of definition.
  3890.  
  3891. Create a new standard layout when you need a layout that includes
  3892. all the currently defined fields in your current file, or to regain
  3893. a standard layout in your file if you have modified or deleted one.
  3894.  
  3895. To create a new standard layout:
  3896.  
  3897. 1. From the Layout screen, select Create.
  3898.  
  3899. 2. Select Standard Layout. Nutshell creates and displays a new
  3900. standard layout which is placed at the end of your other layouts.
  3901.  
  3902. Creating an Empty Layout
  3903.  
  3904. Create an empty layout when it will be easier to include what you
  3905. want on an empty layout rather than removing what you don~t need
  3906. from an existing or standard layout. Instructions on adding text
  3907. and fields on a layout are given later in this chapter in the
  3908. sections Adding and Editing Text, and Adding Fields to a Layout.
  3909.  
  3910. To create a new empty layout:
  3911.  
  3912. 1. From the Layout screen, select Create.
  3913.  
  3914. 2. Select Empty Layout. Nutshell creates and displays a new empty
  3915. layout which is placed at the end of your other layouts.
  3916.  
  3917. Deleting a Layout
  3918.  
  3919. Deleting layouts that you no longer need saves space in your file
  3920. and makes it easier to find the layouts you use.
  3921.  
  3922.  To delete a layout:
  3923.  
  3924. 1. On the Layout screen, display the layout you want to delete.
  3925.  
  3926. 2. Select Delete. Nutshell asks you to confirm that you want to
  3927. permanently delete the displayed layout.
  3928.  
  3929. 3. Press return to confirm the deletion.
  3930.  
  3931. Arranging Information on the Layout
  3932.  
  3933. On each layout you can place elements (fields and layout text)
  3934. wherever you need them in order to reproduce a reprinted form,
  3935. construct a form letter, design a report, or create any other
  3936. arrangement for your data.
  3937.  
  3938. You can also change the size and shape of any field in order to
  3939. change the amount of information it will hold or to make it fit in
  3940. a particular part of a layout.
  3941.  
  3942. The layout below demonstrates how a standard layout has been
  3943. altered to create a layout for a typical invoice. Elements have
  3944. been moved and fields have been reshaped.
  3945.  
  3946. This section describes how to move layout text and fields on a
  3947. layout; the next section covers changing the size or shape of a
  3948. field. Often, you'II use the Move and Reshape options in tandem to
  3949. achieve the effect you want.
  3950.  
  3951. You can move elements one at a time or as a group. Make sure there
  3952. is enough empty space on the layout to move an element or group
  3953. into the position you want; fields and layout text cannot overlap.
  3954.  
  3955. Nutshell recognizes layout text that is typed continuously on a
  3956. line as one element; you move it as a unit. For example, the layout
  3957. text that matches the field name on the standard layout is
  3958. considered one unit even if it comprises more than one word. To
  3959. move only part of a unit of layout text either delete the
  3960. characters you want to move and retype them in the new position, or
  3961. use the Copy and Paste macros to copy the units of text to the
  3962. Clipboard and paste them where you want them, then delete the
  3963. unwanted characters. For more details on adding text to the layout,
  3964. see the section Adding and Editing Text. For details on the Copy
  3965. and Paste macros, see the section Using Copy, Paste, Time and Time
  3966. in the chapter Automating Tasks Using Macros.
  3967.  
  3968. To move one element:
  3969.  
  3970. 1. Position the cursor in the layout text or field you want to
  3971. move, then select Move.
  3972.  
  3973. 2. Press return. Nutshell marks the entire field or unit of layout
  3974. text with a solid bright background.
  3975.  
  3976. 3. Move the cursor to where you want the new upper left corner of
  3977. the element to be, then press return.
  3978.  
  3979. To move a group of elements:
  3980.  
  3981. 1. Position the cursor in an element that is at one corner of the
  3982. group, then select Move.
  3983.  
  3984. 2. Indicate what you want to move by moving the cursor so the solid
  3985. bright rectangle encompasses at least one character of each field
  3986. and unit of layout text you want to move, then press ~. (To quickly
  3987. move the cursor, you can use the
  3988.  
  3989. (Tab) key and the Carl key combinations.) Nutshell marks the entire
  3990. group of elements with a solid bright background.
  3991.  
  3992. 3. Move the cursor to where you want the new upper left corner of
  3993. the top element in the group to be, then press return.
  3994.  
  3995. Changing the Size or Shape of a Field
  3996.  
  3997. You can use the Reshape option on any layout at any time to:
  3998.  
  3999. Change the length and the number of lines in a text field.
  4000.  
  4001. Change the length of a number, time, calculation, or summary field.
  4002.  
  4003. Tell Nutshell to remove empty lines or spaces at the end of a field
  4004. when printing records.
  4005.  
  4006. Adjusting Field Size
  4007.  
  4008. Making a field larger on a layout means that you can type, display,
  4009. and print more data in the field when you work with your records
  4010. using that layout. Nutshell stores only the data in each field, not
  4011. the empty space at the end of a field, so you're not wasting disk
  4012. space if you make a field larger than you need. If you need fields
  4013. that contain variable length data to be printed next to one
  4014. another, such as first name and last name on mailing labels, you
  4015. can tell Nutshell to eliminate the empty space at the end of fields
  4016. when records are printed. (Details are provided in the following
  4017. section, Removing Empty Space from Printed Fields.)
  4018.  
  4019. You can reshape a text field to be dozens or even thousands of
  4020. lines long as large as you have room for on the layout. When you
  4021. reshape a text field, Nutshell automatically adjusts the text to
  4022. fit the new shape. Splitting numbers and times over many lines
  4023. could produce misleading displays, so Nutshell restricts number,
  4024. time, calculation, and summary fields to one line each. The single
  4025. line can be as long as you need to display the data accurately and
  4026. to type criteria for finding records.
  4027.  
  4028. Making a field smaller doesn't affect data that is already in the
  4029. field, the same way that pulling a shade down on a window doesn't
  4030. affect what's outside, only how much you can see. If a field is too
  4031. small to see all the data, just reshape it on the layout to a
  4032. larger size.
  4033.  
  4034. To make a field larger or smaller:
  4035.  
  4036. 1. If the field is to be made larger, make sure there is enough
  4037. empty space on the layout for the expanded field. Fields cannot
  4038. overlap layout text or other fields. If necessary, use the Move
  4039. option to make more space.
  4040.  
  4041. 2. Position the cursor in the field and select Reshape.
  4042.  
  4043. 3. Move the cursor to where you want the new lower right corner of
  4044. the field, using the cursor movement keys. As you move the cursor,
  4045. Nutshell adjusts the solid bright background that shows what the
  4046. new field shape will be.
  4047.  
  4048. 4. When the solid background represents the correct new shape,
  4049. press return.
  4050.  
  4051. Removing Empty Space from Printed Fields
  4052.  
  4053. When you select Reshape from the Layout screen, Nutshell displays
  4054. a menu with the options Height Variable, Width Variable, and Fixed
  4055. Size. Fixed size is the normal way your data is printed, and means
  4056. that Nutshell allocates the same amount of space to print a field
  4057. as you specified for the field size on the layout, no matter how
  4058. much data is in a field.
  4059.  
  4060. The appearance of certain kinds of printed matter, such as form
  4061. letters and mailing labels, is much improved if just the data in a
  4062. field is printed, and any empty lines or spaces that remain at the
  4063. end of a field are omitted. For example, you may have a field for
  4064. Company Name in a layout for mailing labels, but want to print
  4065. addresses for which this field is empty. Rather than leave an empty
  4066. line in the label, you can use the Height Variable option on the
  4067. Company Name field to tell Nutshell to move the remaining address
  4068. information up.
  4069.  
  4070. The Height Variable option can also be used to omit printing of
  4071. empty lines at the end of a multiple line text field. For example,
  4072. a form letter used for hiring personnel may contain a paragraph of
  4073. variable length describing the scope of a position. The Height
  4074. Variable option could be used to eliminate empty lines between the
  4075. end of the paragraph and the closing of the letter.
  4076.  
  4077. The Height Variable option affects just the empty space at the end
  4078. of a field. Empty lines between fields are placed at the end of the
  4079. record. This means that each record takes up the same amount of
  4080. space when it is printed, so however many lines are included in a
  4081. record will be printed, whether the lines contain data or are
  4082. empty. Later you'II learn about how Nutshell lets you print records
  4083. of different sizes without extra empty space by eliminating empty
  4084. lines between partitions, or divisions, of your layout. (For
  4085. information about Partitions see the next chapter, Adding Power to
  4086. Reports.)
  4087.  
  4088. Similarly, the Width Variable option is used to eliminate empty
  4089. space at the end of single line fields. For example, if your
  4090. mailing labels have a First Name field followed by a Last Name
  4091. field, you can use the Width Variable option on the First Name
  4092. field to eliminate a gap between first name and last name when
  4093. records are printed. The Last Name field will be moved to the left
  4094. when empty space at the end of the First Name fiend is removed, but
  4095. the space on the layout between the First Name and Last Name fields
  4096. is preserved .
  4097.  
  4098. Note: For text fields of more than one lone, the Width Variable
  4099. option is not meaningful and will be ignored if it is specified.
  4100.  
  4101. Sometimes you may need to print an element in a fixed position on
  4102. a line even though elements to the left of it are variable width.
  4103. For example, perhaps you need to print a customer code on the right
  4104. side of a mailing label on the same line as the name, and you don't
  4105. want the customer code to move left even though First Name uses the
  4106. Width Variable option. You can tell Nutshell to print an element in
  4107. the position it has on the layout (as shown on the status line)
  4108. regardless of how the Width Variable option is used on the same
  4109. line.
  4110.  
  4111. To specify that a field should be printed with variable height or
  4112. width:
  4113.  
  4114. 1. Position the cursor in the field and select Reshape.
  4115.  
  4116. 2. If you want empty lines removed from the end of a field when
  4117. records are printed, select Height Variable.
  4118.  
  4119. If you want empty spaces removed from the end of a single line
  4120. field when records are printed, select Width Variable. (Only one
  4121. option can be selected per field.)
  4122.  
  4123. Nutshell marks a variable height field with a vertical double arrow
  4124. , and a variable width field with a horizontal double arrow .
  4125.  
  4126. Note: If you typed spaces in a field by using the spacebar, these
  4127. spaces will not be removed when records are printed. The spaces
  4128. typed with the spacebar are considered to be blank characters, not
  4129. empty space.
  4130.  
  4131. To specify that a field should be printed with fixed height and
  4132. width:
  4133.  
  4134. 1. Position the cursor in the field and select Reshape.
  4135.  
  4136. 2. Select Fixed Size. Nutshell removes the double arrow at the end
  4137. of the field to show that the field is now fixed size.
  4138.  
  4139. To specify that an element to the right of a variable width field
  4140. should be printed in a fixed position (not moved left):
  4141.  
  4142. 1. Position the cursor immediately to the left of the element, in
  4143. an empty space on the layout.
  4144.  
  4145. 2. Hold down the Ctrl (Control) key while you press the (Tab) key.
  4146. Nutshell displays a tab character
  4147.  
  4148. to show that the element will be printed in the position shown on
  4149. the Layout screen, even if fields to the left of it are variable
  4150. width. To have the element move left when printed, delete the tab
  4151. character in the same manner as you would delete a character of
  4152. layout text as described in the section, Adding and Editing Text.
  4153.  
  4154. Note: The double arrows and the tab character are not printed when
  4155. you print records. They are only visual cues on the Layout screen.
  4156.  
  4157. Adding Fields to a Layout
  4158.  
  4159. You can add fields onto a layout at any time in order to:
  4160.  
  4161. Include newly defined fields on layouts other than the current
  4162. layout (on which Nutshell adds the fields automatically).
  4163.  
  4164. Replace fields you have previously erased from the layout.
  4165.  
  4166. Duplicate a field that is already on the layout. For example, you
  4167. could include a Last Name field in both the address and salutation
  4168. of a form letter
  4169.  
  4170. Include fields where you want them on an empty layout. In designing
  4171. layouts used to print mailing labels or form letters, it may be
  4172. most convenient to start with an empty layout and include only the
  4173. fields you need.
  4174.  
  4175. Include look up fields from look up files.
  4176.  
  4177. When you include a field on the layout, Nutshell adds just the
  4178. field with no layout text. If you want layout text to identify the
  4179. field, type it on the layout. For details, see the next section,
  4180. Adding and Editing Text.
  4181.  
  4182. To add a field onto a layout:
  4183.  
  4184. 1. Position the cursor in an empty space on the layout where you
  4185. want the field, then select Include. Nutshell displays a list of
  4186. all your defined fields.
  4187.  
  4188. 2. Select the field you want from the list. Nutshell adds the field
  4189. with the standard initial size if there is room. If there is not
  4190. enough room, Nutshell automatically reshapes the field to fit the
  4191. space available.
  4192.  
  4193. Adding Look up Fields
  4194.  
  4195. If your current file has links to look up files, you can include
  4196. fields from the look up files on any of the layouts in your current
  4197. file. When look up fields are displayed on the current layout,
  4198. Nutshell uses a different symbol from the one used for fields in
  4199. the current file in order to distinguish them. You can work with
  4200. look up fields included on the layout in the same way as you work
  4201. with fields from the current file: that is, you can move, reshape,
  4202. highlight, and format them just as you can with fields from the
  4203. current file.
  4204.  
  4205. A field that's included from a look up file will display the values
  4206. from the first matching record in the look up file. If you delete
  4207. a link from the current file to the look up file, look up fields
  4208. are automatically erased from the layout. (However, they are not
  4209. deleted from the look up file.)
  4210.  
  4211.  To Include a field from a look up file:
  4212.  
  4213. 1. Position the cursor in an empty space on the layout where you
  4214. want the look up field, then select Include. Nutshell displays a
  4215. list of all the defined fields in your current file.
  4216.  
  4217. 2. Select Look up. Nutshell asks you which link you want to use.
  4218. Select the file link you want. Nutshell displays a list of all the
  4219. defined fields in the look up file.
  4220.  
  4221. 3. Select the field you want from the list. Nutshell adds the field
  4222. with the standard initial size if there is room. If there's not
  4223. enough room, Nutshell automatically reshapes the field to fit it
  4224. into the space available.
  4225.  
  4226. 4. To include another look up field, select Include again. Nutshell
  4227. displays a list of all the defined fields in the look up file, so
  4228. you don't need to keep selecting Look up for each look up field you
  4229. want to include.
  4230.  
  4231. or
  4232.  
  4233. To include a field from the base file, select Include, then select
  4234. Return to Base File. Nutshell displays a list of all the defined
  4235. fields in the base file. Select the field you want.
  4236.  
  4237. Adding and Editing Text
  4238.  
  4239. You can add text to any layout by moving the cursor to an empty
  4240. area of the layout and typing the text. You can edit layout text
  4241. using the same techniques as you use to edit text in fields when
  4242. you add or modify records. You can also use the Copy and Paste
  4243. macros to copy anything from a field or a layout to the Clipboard,
  4244. then paste it where you want it on the current layout. For a list
  4245. of useful keys for adding and editing text, see the section The
  4246. Keyboard in the chapter Nutshell Conventions. For information about
  4247. the Copy and Paste macros, see the section Using Copy, Paste, Time,
  4248. and Time in the chapter Automating Tasks Using Macros.
  4249.  
  4250. You can type new text on a layout to provide instructions for the
  4251. person who will be adding records. In an orders file, for example,
  4252. you could add a reminder that the Sales Tax field should be left
  4253. empty if the Ship To address is out of state.
  4254.  
  4255. You can also add or edit text to amplify or change the layout text
  4256. that identifies each field. For example, if the field name you
  4257. defined contains abbreviations or is not descriptive enough, you
  4258. can replace the layout text identifying the field with something
  4259. more complete.
  4260.  
  4261. When you include look up fields on the layout, you may find it
  4262. useful to add layout text in order to identify the look up file
  4263. from which the displayed data comes, as well as to identify the
  4264. field.
  4265.  
  4266. Layout text can be completely unrelated to your defined field
  4267. names; it should be whatever text you want displayed or printed
  4268. with your records. For example, to create a form letter, you would
  4269. type the standard text of the letter on the layout, including
  4270. fields for the variable parts of the letter as needed. The layout
  4271. shown on the next page illustrates this process. (For details on
  4272. including fields, see the previous section, Adding Fields to a
  4273. Layout.)
  4274.  
  4275. On some layouts, you may not want any layout text. For example,
  4276. layouts for mailing labels or for filling in reprinted forms may
  4277. require only fields. You can delete any layout text that you don't
  4278. need. (If you lose track of which field is which on a layout that
  4279. contains no layout text, you can see the field name by positioning
  4280. the cursor in the field and selecting the Format option.)
  4281.  
  4282. To add text on any layout:
  4283.  
  4284. 1. Position the cursor in an empty area of the layout.
  4285.  
  4286. 2. Type the text. If you need to type text on more than one line,
  4287. press to move the cursor to subsequent lines.
  4288.  
  4289.  To delete unwanted characters or words:
  4290.  
  4291. 1. Use the Del (Delete) key or the ~ (Backspace) key.
  4292.  
  4293. Note: You can delete a complete unit of layout text at once by
  4294. using the Erase option as described in the section Erasing Fields
  4295. or Text later in this chapter.
  4296.  
  4297. Highlighting Information
  4298.  
  4299. Highlighting layout text and fields on a layout lets you easily
  4300. spot important information on the screen and lends emphasis to
  4301. reports and other printed materials. Nutshell lets you highlight
  4302. elements on any layout individually or as a group.
  4303.  
  4304. The menu options for highlighting information vary depending on
  4305. whether the display adapter in your system is designed for color or
  4306. monochrome display. If you are using a monochrome monitor, you can
  4307. use the Highlight option to select any of the following character
  4308. styles for the display of fields and text:
  4309.  
  4310. Normal (No highlighting)
  4311.  
  4312. Bold Underline Underline Bold
  4313.  
  4314. These characteristics also apply when records are printed, subject
  4315. to the capabilities of your printer.
  4316.  
  4317. If you are using a color monitor, the Highlight option lets you
  4318. take advantage of a range of seven colors in two levels of
  4319. brightness in order to emphasize fields and text on the screen. The
  4320. color choices translate into the same character styles as listed
  4321. above when records are printed.
  4322.  
  4323. Using a Monochrome Monitor
  4324.  
  4325. Note: Some systems are equipped with a color display adapter and a
  4326. monochrome monitor. If you are using this type of system, you will
  4327. see the color menu when you select the Highlight option. On the
  4328. monochrome display, the different color choices appear as different
  4329. brightness. See the section Using a Color Monitor below for
  4330. instructions on using the color menu including how the a colors
  4331. translate into character styles when records are printed.
  4332.  
  4333. To highlight fields or text if you are using a monochrome display:
  4334.  
  4335. 1. Position the cursor in the layout text or field you want to
  4336. highlight, or to highlight a group of elements, position the cursor
  4337. at one corner of the group. Then select Highlight.
  4338.  
  4339. 2. To highlight one element, press return, or to highlight a group,
  4340. move the cursor so the solid bright rectangle encompasses at least
  4341. one character of each element in the group, then press return.
  4342. Nutshell marks the element(s) you have indicated with a solid
  4343. bright background.
  4344.  
  4345. 3. Select the option for the highlighting you want (Bold,
  4346. Underline, or Underline Bold). To cancel highlighting previously
  4347. applied, select Normal. On the screen, bold elements appear
  4348. brighter than normal, and underlined elements appear with an
  4349. underline.
  4350.  
  4351. Note: On the screen, a field for which you have selected Underline
  4352. will appear with an underline running the length of the field.
  4353. However, when you print records, just the data in the field is
  4354. underlined. If you want the underline to extend the length of the
  4355. field, use the spacebar to add blank characters to fill the field
  4356. when you type the data.
  4357.  
  4358. Using a Color Monitor
  4359.  
  4360. If you are using a color monitor (or a monochrome monitor with a
  4361. color display adapter), the Highlight option gives you a menu of
  4362. two rows of colors. The top row shows seven colors (Gray, Red,
  4363. Purple, Blue, Sky Blue, Green, and Brown). Directly below each of
  4364. these colors is its bright counterpart. Colors are useful in
  4365. differentiating information on the screen, and bright colors are
  4366. most effective at calling attention to a particular field for data
  4367. entry or analysis.
  4368.  
  4369. When records are printed, the color options translate into
  4370. character styles of Normal, Bold, Underline, or Underline Bold,
  4371. subject to the capabilities of your printer. The table on the next
  4372. page shows this correspondence:
  4373.  
  4374.  To highlight fields or text If you are using a color display:
  4375.  
  4376. 1. Position the cursor in the layout text or field you want to
  4377. highlight, or to highlight a group of elements, position the cursor
  4378. at one corner of the group. Then select Highlight.
  4379.  
  4380. 2. To highlight one element, press return, or to highlight a group,
  4381. move the cursor so the solid bright rectangle encompasses at least
  4382. one character of each element in the group, then press return.
  4383. Nutshell marks the element(s) you have indicated with a solid
  4384. bright background.
  4385.  
  4386. 3. Select the color option for the highlighting you want according
  4387. to the table above. On the screen, elements appear in the color and
  4388. brightness you selected.
  4389.  
  4390. Note: If you select Blue to have fields printed with underlined (or
  4391. underlined bold) characters, Nutshell underlines just the data in
  4392. the printed field. If you want the underline to extend the entire
  4393. length of the field, use the spacebar to add blank characters to
  4394. fill the field when you type the data.
  4395.  
  4396. Formatting Fields
  4397.  
  4398. On any layout you can format text, number, and time fields,
  4399. calculation fields that result in a number or time, and summary
  4400. fields. Formatting lets you decide how you want to display your
  4401. data on a layout and how you want it printed. It does not affect
  4402. the way your data is stored or used in calculations or summaries.
  4403.  
  4404. You can also use the Format option as a way to display the field
  4405. name if you need to.
  4406.  
  4407. To display a field name:
  4408.  
  4409. 1. Position the cursor in the field whose name you want to display,
  4410. then select Format.
  4411.  
  4412. 2. Press Esc when you are done.
  4413.  
  4414. Formatting Text
  4415.  
  4416. You can use the Format option to specify how you want your text
  4417. aligned in a text field. Most text is aligned at the left side of
  4418. a field. If you do not specify otherwise, Nutshell arranges your
  4419. text this way (left justified).
  4420.  
  4421. Some text you'II want to align at the right side of the field, and
  4422. other text looks best if it's centered. Nutshell lets you decide
  4423. whether you want your text left or right justified, or centered.
  4424.  
  4425. When you view your records on the Browse screen, the data in the
  4426. field will be aligned using the format you choose.
  4427.  
  4428.  To justify a text field:
  4429.  
  4430. 1. Position the cursor in the field, then select Format. Nutshell
  4431. displays the field name, and displays the Format menu.
  4432.  
  4433. 2. Select Justification.
  4434.  
  4435. 3. Select Left, Right, or Center.
  4436.  
  4437. Formatting Numbers
  4438.  
  4439. On any layout you can format any number field, calculation field
  4440. that results in a number, or summary field. With the Format option
  4441. you can specify:
  4442.  
  4443. Left or right justification, or centering.
  4444.  
  4445. Whether you want a currency sign.
  4446.  
  4447. Whether you want commas to separate thousands.
  4448.  
  4449. How many digits you want to the right of the decimal point.
  4450.  
  4451. For example, if the field is to contain a dollar amount, you would
  4452. specify two decimal digits and dollar formatting. And when used
  4453. with fixed decimal formatting, right justification aligns the
  4454. decimal point for numbers in a columnar layout.
  4455.  
  4456. Note: If you have reshaped a formatted field with the Width
  4457. Variable option, the printed field will not be right justified. The
  4458. variable width takes precedence to allow you to have proper spacing
  4459. when using a formatted field in a line of variable length, such as
  4460. in a form letter requesting payment.
  4461.  
  4462. Formatting a numeric field doesn't affect your stored data; if the
  4463. field is used in calculation or summary formulas, Nutshell uses all
  4464. the stored digits to evaluate the result. (You can use the Round
  4465. Result option on the Define screen if you want Nutshell to store
  4466. the rounded result of a calculation in a field; see the section
  4467. Defining Fields in the chapter Designing Files for more
  4468. information.)
  4469.  
  4470. You can change the formatting at any time, or remove it so the
  4471. field is again unformatted. Nutshell displays and prints data in an
  4472. unformatted field with as many digits as can fit in the field, and
  4473. uses all the stored digits to perform calculations.
  4474.  
  4475. Note: Nutshell displays and prints just the number In a formatted
  4476. field. If you type text in a number field and want the text
  4477. displayed and printed, leave the field unformatted.
  4478.  
  4479. To justify a number field:
  4480.  
  4481. 1. Position the cursor in the field, then select Format. Nutshell
  4482. displays the field name, and displays the Format menu.
  4483.  
  4484. 2. Select Justification, then select Left, Right, or Center.
  4485.  
  4486. To display a number with a currency Sign, or with commas to
  4487. separate thousands:
  4488.  
  4489. 1. Position the cursor in the tied, then select Format. Nutshell
  4490. displays the field name, and displays the Format menu.
  4491.  
  4492. 2. Select Currency Sign, select Yes, then the desired currency
  4493. symbol. 3. Select Commas, then select Yes.
  4494.  
  4495. To specify the number of digits to be displayed to the right of the
  4496. decimal point:
  4497.  
  4498. 1. Position the cursor in the field, then select Format. Nutshell
  4499. displays the field name, and displays the Format menu.
  4500.  
  4501. 2. Select Number of Digits. Nutshell asks for the number of digits
  4502. you want to be displayed.
  4503.  
  4504. 3. Type the number of digits you want, then press ~. You'II see the
  4505. formatting when you browse or print records.
  4506.  
  4507. To remove decimal formatting specified for a field:
  4508.  
  4509. 1. Position the cursor in the field, then select Format.
  4510.  
  4511. 2. Select Number of Digits.
  4512.  
  4513. 3. Delete the number that was specified for the number of digits to
  4514. the right of the decimal point, then press return.
  4515.  
  4516. Formatting Dates
  4517.  
  4518. On any layout you can format date fields and calculation fields
  4519. that result in a date. When you type a date in a field, you type it
  4520. in an unformatted style. For example, you might enter December 9,
  4521. 1990 as 12 9 90 or 12 9 1990. If you leave a date field
  4522. unformatted, Nutshell displays and prints the date as you typed it,
  4523. or for calculations with a date result, as 12/09/90. With the
  4524. Format option, you can choose from among six different date styles
  4525. in which to display or print dates. For example, you can format the
  4526. date 12 990 so that it appears in any one of the following date
  4527. styles:
  4528.  
  4529. 1 2/09/90
  4530.  
  4531. Dee 9,1990
  4532.  
  4533. December 9, 1990
  4534.  
  4535. Fri, Dec 9, 1990
  4536.  
  4537. Friday, December, 1990
  4538.  
  4539. O9DEC90
  4540.  
  4541. You can also use the Format option to specify that the date in the
  4542. field be left or right justified, or centered, in the same way as
  4543. you can justify text and number fields.
  4544.  
  4545. Note: Formatting does not change how you type a date in a field,
  4546. nor does it affect how you can search for it. For example, if you
  4547. want to find Friday, you should store the date in a text field (see
  4548. the section Defining Fields in the chapter Designing Files).
  4549.  
  4550. To justify a date field:
  4551.  
  4552. 1. Position the cursor in the field, then select Format. Nutshell
  4553. displays the field name, and displays the Format menu.
  4554.  
  4555. 2. Select Justification.
  4556.  
  4557. 3. Select Left, Right, or Center.
  4558.  
  4559. To specify a Date Style:
  4560.  
  4561. 1. Position the cursor in the field, then select Format. Nutshell
  4562. displays the field name, and displays the Format menu.
  4563.  
  4564. 2. Select Date Style. Nutshell displays a list of date styles.
  4565.  
  4566. 3. Select the date style you want.
  4567.  
  4568. or
  4569.  
  4570. Select Unformatted Date to have Nutshell display and print the date
  4571. exactly as you've typed it.
  4572.  
  4573. Formatting Time
  4574.  
  4575. On any layout you can format time fields and calculation fields
  4576. that result in a time. When you type a time in a field, you type it
  4577. in an unformatted style. For example, you might enter 1 :30PM as
  4578. 13:30 or 1 :30:00P. If you leave a time field unformatted, Nutshell
  4579. displays and prints the time as you typed it or for calculations
  4580. with a time result, as 13:30:00. With the Format option, you can
  4581. choose Tom among five different time styles in which to display or
  4582. print times. For example, you can format the time 13:30:00 so that
  4583. it appears in any one of the following time styles:
  4584.  
  4585. 1:30P
  4586.  
  4587. 13:30
  4588.  
  4589. 13:30:00
  4590.  
  4591. 1:30:pm
  4592.  
  4593. 1:30:00pm
  4594.  
  4595. You can also use the Format option to specify that the time in the
  4596. field be left or right justified, or centered, in the same way as
  4597. you can justify text and number fields.
  4598.  
  4599. Note: Formatting does not change how you type a time in a field,
  4600. nor does it affect how you can search for it. For example, if you
  4601. want to find Noon or Midnight, you should store the time in a text
  4602. field (see the section Defining Fields in the chapter Designing
  4603. Files).
  4604.  
  4605. To justify a time field:
  4606.  
  4607. 1. Position the cursor in the field, then select Format. Nutshell
  4608. displays the field name, and displays the Format menu.
  4609.  
  4610. 2 . Select Justification.
  4611.  
  4612. 3. Select Left, Right, or Center.
  4613.  
  4614. To specify a Time Style:
  4615.  
  4616. 1. Position the cursor in the field, then select Format. Nutshell
  4617. displays the field name, and displays the Format menu.
  4618.  
  4619. 2. Select Time Style. Nutshell displays a list of time styles.
  4620.  
  4621. 3. Select the time style you want.
  4622.  
  4623. or
  4624.  
  4625. Select Unformatted Time to have Nutshell display and print the time
  4626. exactly as you've typed it.
  4627.  
  4628. Erasing Fields or Text
  4629.  
  4630. When you erase yields from a layout, you will not see those fields
  4631. when you use that particular layout to view or print records. All
  4632. the data in the fields is still stored, and you can see it by
  4633. including fields back onto the layout (as described in the earlier
  4634. section Adding Fields to a Layout) or by using another layout that
  4635. contains the fields. You can erase fields or text one element at a
  4636. time or by groups on any layout.
  4637.  
  4638. The Erase option makes it easy to tailor layouts so they show just
  4639. the information you need for a given purpose. For example, in
  4640. analyzing sales, you might want to view only summary information
  4641. for each salesperson, rather than the details of each sales
  4642. transaction. You can create a streamlined layout for this analysis.
  4643.  
  4644. The Erase option also provides the most efficient way to delete an
  4645. entire unit of layout text rather than a few characters. For
  4646. example, you can erase all the layout text on a layout for printing
  4647. mailing labels; only the fields containing name and address
  4648. information are needed.
  4649.  
  4650. Note: It you want to delete a field and all Its data from your
  4651. file, instead of erasing the field from a layout, use the Define
  4652. option. For instructions, see the section Changing or Deleting
  4653. Field Definitions in the chapter Designing Files. If you delete a
  4654. field through the Define option, Nutshell removes it from all of
  4655. your layouts along with layout text that matches the field name of
  4656. the deleted field.
  4657.  
  4658. To erase fields or text from a layout:
  4659.  
  4660. 1. Position the cursor in the layout text or field you want to
  4661. erase, or to erase a group of elements, position the cursor at one
  4662. corner of the group. Then select Erase.
  4663.  
  4664. 2. To erase one element, press return, or to erase a group, move
  4665. the cursor so the solid bright rectangle encompasses at least one
  4666. character of each element in the group, then press return. Nutshell
  4667. marks the element(s) with a solid bright background.
  4668.  
  4669. 3. Press return once again to confirm the erasure.
  4670.  
  4671. The examples in this section show how two common business
  4672. documents, a business form and a form letter, can be designed using
  4673. the many options available on a Nutshell layout. A layout and a
  4674. printed record are shown for each example, to illustrate the
  4675. collective effect of using the options discussed in this chapter to
  4676. control the visual presentation of your information.
  4677.  
  4678. Introduction
  4679.  
  4680. The previous chapter explained all the basic methods of working
  4681. with elements on a layout: changing the size of fields, rearranging
  4682. elements, adding or erasing fields and text, and so on. This
  4683. chapter explains how to use the Partition option on a layout to
  4684. designate where specific kinds of information should be printed
  4685. relative to the page and to groups of records. For example, layout
  4686. text that you place in a Header partition is printed at the top of
  4687. each page when you print information using that layout; the text
  4688. could be a title, a date, column headings, or any other information
  4689. you want to appear at the top of each page. By using the Partition
  4690. option in combination with techniques from the previous chapter,
  4691. you can design custom reports that present the information you need
  4692. in exactly the form you want.
  4693.  
  4694. Partitions are like adjustable drawer dividers: you can adjust the
  4695. size of each partition, remove any partition, and move the contents
  4696. (layout text, fields, empty lines, and special characters to
  4697. control page breaks, page numbering, date, and time) from one
  4698. partition to another.
  4699.  
  4700. The first section, Concepts of Partitioning a Layout, explains the
  4701. purpose of each of the five types of partition: Body, Header,
  4702. Footer, Grand Summary, and Sub summary. Read this section to
  4703. understand which partition to use to print titles and column
  4704. headings, various kinds of summaries, page numbers, and so on.
  4705.  
  4706. The next two sections go into the mechanics of creating, changing,
  4707. and deleting partitions; these are capabilities you can use to
  4708. adjust any layout at any time.
  4709.  
  4710. The fourth section, Deciding Where to Place Information, provides
  4711. additional detail on the relation between a partition on the layout
  4712. and printed information on the page, such as how to tell how much
  4713. information can fit on a printed page in order to decide where to
  4714. put page breaks.
  4715.  
  4716. Concepts of Partitioning a Layout
  4717.  
  4718. Partitions divide a layout horizontally. Each line of the layout
  4719. can be partitioned to control how much space is used to display and
  4720. print different kinds of information such as headings, records, and
  4721. summaries.
  4722.  
  4723. When you first select Partition from the Layout screen, you'II see
  4724. that Nutshell labels each line of the current layout with the name
  4725. of one of the following types of partition:
  4726.  
  4727. In addition to the body, header, and footer which Nutshell creates
  4728. for you, you can create two other types of partition to designate
  4729. areas of the layout for summary information:
  4730.  
  4731. Grand Summary Printed before or after all the records
  4732.  
  4733. Sub summary Printed before or after each sorted group of records
  4734.  
  4735. Each of these partitions can contain layout text, fields, and empty
  4736. lines. The type of partition you specify for each line of a layout
  4737. determines how elements on that line are displayed and printed.
  4738.  
  4739. Body
  4740.  
  4741. The body partition controls what is printed for each record. Each
  4742. layout can have one body partition. When you first select Partition
  4743. from any layout Nutshell sets the number of lines in the body
  4744. partition to include all you; layout text and fields. (An empty
  4745. layout contains no fields or text, so Nutshell doesn't create a
  4746. body partition.)
  4747.  
  4748. Lines in the body are printed once for each record, for as many
  4749. records as will fit on a page. If you want space between printed
  4750. records, include empty lines at the top or bottom of the body
  4751. partition.
  4752.  
  4753. If the body partition contains more lines than can fit on your
  4754. printed page, you can specify at what line Nutshell should start a
  4755. new page; type Ctrl L on the line of the partition where you want
  4756. the page break. The page break symbol appears on the layout.
  4757.  
  4758. Header
  4759.  
  4760. The header partition controls the top margin of the printed page.
  4761. Each layout can have one header partition. When you first select
  4762. Partition from any layout except an empty layout, Nutshell creates
  4763. a header of six empty lines. (No header is created when you select
  4764. Partition from an empty layout.) By changing the number of lines in
  4765. the header partition on a layout, you can adjust the top margin for
  4766. the pages you print using that layout.
  4767.  
  4768. To create effective and informative reports, you may want to
  4769. include layout text or fields in the header such as the following:
  4770.  
  4771. A title or page heading to be printed at the top of each page.
  4772.  
  4773. Column headings for a columnar report. Column headings in the
  4774. header partition are printed once at the top of each page. If you
  4775. arrange fields in the body partition so they are aligned with the
  4776. appropriate heading, the layout can be used to print a columnar
  4777. report.
  4778.  
  4779. Automatic page numbering. Typing two number signs (##) on the line
  4780. in the header where you want the page number to appear tells
  4781. Nutshell to automatically number pages at the top of each printed
  4782. page.
  4783.  
  4784. Today's date. Typing two slashes (11) on the line in the header
  4785. where you want today's date to appear tells Nutshell to print the
  4786. system date at the top of each page.
  4787.  
  4788. Current time. Typing two colons (::) on the line in the header
  4789. where you want the current time to appear tells Nutshell to print
  4790. the system time at the top of each page.
  4791.  
  4792. Data from the first record on the page. When you include fields in
  4793. the header, Nutshell prints data in the fields from the first
  4794. record on the page, enabling you to create a changing page heading
  4795. such as the heading in a dictionary or a telephone directory.
  4796.  
  4797. Nutshell creates the header partition at the bottom of the layout
  4798. so you don't have to scroll the screen to see your fields when
  4799. you're adding, modifying, or tin ding records. You can place the
  4800. header anywhere on the layout that's convenient for you; regardless
  4801. of where it is placed, the header is always printed at the top of
  4802. each page.
  4803.  
  4804. Footer
  4805.  
  4806. The footer partition controls the bottom margin of the printed page
  4807. and has characteristics parallel to the header partition. Each
  4808. layout can have one footer partition. When you first select
  4809. Partition from any layout except an empty layout, Nutshell creates
  4810. a footer of six empty lines, which creates a bottom margin of six
  4811. empty lines on each printed page until you change the footer
  4812. partition. (No footer is created if you select Partition from an
  4813. empty layout.)
  4814.  
  4815. You can also include layout text or fields in the footer partition
  4816. to create the following:
  4817.  
  4818. Text, such as the document title or reference number, to be printed
  4819. at the bottom of each page.
  4820.  
  4821. Automatic page numbering. Typing two number signs (##) on the line
  4822. in the footer where you want the page number to appear tells
  4823. Nutshell to automatically number pages at the bottom of each
  4824. printed page.
  4825.  
  4826. Today's date. Typing two slashes (11) on the line in the footer
  4827. where you want today's date to appear tells Nutshell to print the
  4828. system date at the bottom of each page.
  4829.  
  4830. Current time. Typing two colons (::) on the line in the footer
  4831. where you want the current time to appear tells Nutshell to print
  4832. the system time at the bottom of each page.
  4833.  
  4834. Data from the last record on the page. When you include fields in
  4835. the footer, Nutshell prints data from the last record on the page
  4836. at the bottom of each printed page.
  4837.  
  4838. Nutshell creates the footer at the bottom of the layout, but you
  4839. can place the footer anywhere on the layout that's convenient for
  4840. you; the footer is always printed at the bottom of the page.
  4841.  
  4842. Grand Summary
  4843.  
  4844. Create a grand summary partition when you want information to be
  4845. printed either before or after all the records in a report, instead
  4846. of with each record (as in a body partition), or at the top or
  4847. bottom of each page (as in the header or footer partition).
  4848.  
  4849. The most common and effective use of grand summary partitions is to
  4850. hold summary fields and explanatory layout text. Because a summary
  4851. field contains a cumulative result for all the records (or all the
  4852. found records), it contains only one value for all the records you
  4853. are browsing, rather than a different value for each record. It's
  4854. most meaningful to print this value either before or after all the
  4855. records on which the value is based.
  4856.  
  4857. For example, summary fields in a lawyer's work log file might track
  4858. such items as total time expended, average time expended, and total
  4859. amount billed. All of these items can be printed at the end of a
  4860. report detailing case activity. This is easily accomplished by
  4861. placing all the summary fields in a grand summary partition which
  4862. is located below the body partition on the report layout.
  4863.  
  4864. You can create up to two grand summary partitions on any layout:
  4865. one above and one below the body partition. This lets you choose
  4866. whether to provide a summary before the details in a report (grand
  4867. summary above the body), after the details (grand summary below the
  4868. body), or both before and after.
  4869.  
  4870. If you want Nutshell to start a new page before or after printing
  4871. a grand summary partition, type Ctrl L on the layout at the top or
  4872. the bottom of the grand summary partition. The page break symbol
  4873. appears on the layout.
  4874.  
  4875. Sub summary
  4876.  
  4877. Create a sub summary partition in order to summarize sorted groups
  4878. of records, rather than the entire file or set of found records as
  4879. in a grand summary partition. By sorting records, you tell Nutshell
  4880. to group them according to the value in the sort field. (For
  4881. specifics, see the chapter Sorting Information.) Nutshell can then
  4882. summarize information for each group of records that have the same
  4883. value in the sort field.
  4884.  
  4885. The example below shows a layout and a printed summary report for
  4886. a lawyer's file of cases. The summary shows the time expended and
  4887. the amount billed for each type of case the lawyer handles. At the
  4888. end of the report, the total time and amount for ~11 the cases is
  4889. shown. The file is sorted by the Type of Case field, which is the
  4890. sort field used to create the sub summary partition. The summary
  4891. fields Total Time (with the formula Total of Time Expended) and
  4892. Total Amount (Total of Amount Billed) have been included in both
  4893. the sub summary partition and the grand summary partition. In the
  4894. sub summary partition, the summary field contains a total for each
  4895. group of records with the same type of case; in the grand summary
  4896. partition, the summary field contains a total for all the cases.
  4897.  
  4898. If your file has links to a look up file, you can use a field from
  4899. the look up file as the sort field to be used in a sub summary
  4900. partition.
  4901.  
  4902. For example, if you keep sales records in a base file and personnel
  4903. records in a look up file, you can use the fields Last Name and
  4904. First Name from the personnel file as sort fields to sort sales
  4905. records alphabetically by salesperson. By including the summary
  4906. field Total Sales in the sub summary partition, Nutshell can
  4907. subtotal sales for each group of records sorted alphabetically by
  4908. salesperson.
  4909.  
  4910. You can create a sub summary partition above and below the body for
  4911. each sort field. This lets you print summary information for groups
  4912. of sorted records either before or after the group of records with
  4913. the same value in the sort field.
  4914.  
  4915. The value in a summary field in a sub summary partition can be
  4916. displayed only if the records are sorted by the field you specify
  4917. when you create the partition. If the records are not properly
  4918. sorted, a summary field in a sub summary partition will be empty.
  4919. Similarly, lines in a sub summary partition are printed only when
  4920. the records are properly sorted.
  4921.  
  4922. If you want Nutshell to start a new page before or after printing
  4923. a sub summary partition, type Ctrl L on the layout at the top or
  4924. the bottom of the partition. The page break symbol  appears on the
  4925. layout.
  4926.  
  4927. When you select Partition from the Layout screen, Nutshell displays
  4928. the menu options Create Partition and Delete Partition. Use the
  4929. Create Partition option in order to:
  4930.  
  4931. Add a new partition to a layout.
  4932.  
  4933. Replace a partition that has been deleted from a layout.
  4934.  
  4935. ∙ Change the size or location of a partition.
  4936. Remove empty lines from the end of a partition when you want to
  4937. print records.
  4938.  
  4939. Creating partitions, whether new ones or replacements, does not
  4940. change what is on your layout; only the way the elements will be
  4941. displayed and printed. You can create a partition for elements that
  4942. are already on adjacent lines of a layout, or if you prefer, you
  4943. can move elements into the partition after it is created. Each
  4944. layout can have different partitions.
  4945.  
  4946. You can replace a partition by creating a new one of the same type
  4947. on the layout. You do not have to delete the old partition first.
  4948. For example, if your layout already has a grand summary partition
  4949. above the body partition, and you create another grand summary
  4950. partition above the body partition, the new partition replaces the
  4951. existing one.
  4952.  
  4953. When you move elements on a layout or define new fields, you may
  4954. want to use the Partition option to make sure elements are in the
  4955. partitions you want. For example, after using the Define option to
  4956. create new fields or delete fields, you may want to print more or
  4957. fewer lines for each record. In this case you would create a new
  4958. body partition to include the number of lines that accommodate the
  4959. changes to your fields.
  4960.  
  4961. When you use the Height Variable option (a sub option of the
  4962. Reshape option of the Layout screen) to remove empty space from a
  4963. field, any empty lines left between fields are placed at the end of
  4964. each record when printed, in order for each record to take up the
  4965. same amount of space. You can use the Variable Height option (a sub
  4966. option of the Create Partition option of the Partitions screen) to
  4967. create variable height partitions that will remove these empty
  4968. lines at the end of records. To make a fixed height partition a
  4969. variable one, or vice versa, recreate the partition you want to
  4970. change, then select Variable Height.
  4971.  
  4972. Note: If you want to include a blank line between each record while
  4973. using the Variable Height option, include an extra line at the end
  4974. of the partition, then type a space character on that line. If no
  4975. characters are typed on an empty line at the end of a Variable
  4976. Height partition, the line will not be printed.
  4977.  
  4978. To create a partition:
  4979.  
  4980. 1. Select Partition from the Layout screen. Nutshell displays the
  4981. Partition screen, which labels each line of the layout with the
  4982. type of partition currently specified for the line.
  4983.  
  4984. Note: To view other parts of the layout on the Partition screen,
  4985. use the cursor movement keys by themselves or in combination with
  4986. the Carl key.
  4987.  
  4988. 2. Move the cursor to the first line you want to include in the
  4989. partition, then select Create Partition. Nutshell marks the line
  4990. that contains the cursor with a solid bright background.
  4991.  
  4992. 3 . Move the cursor to the last line you want to include in the
  4993. partition, then press return. Nutshell extends the solid bright
  4994. background to mark all of the lines to be included in the
  4995. partition, and displays a menu of all the partition types.
  4996.  
  4997. 4. Select the type of partition from the menu. If you select
  4998. Header, Body, Grand Summary, or Footer, Nutshell creates the
  4999. partition comprising the lines you indicated, and displays the type
  5000. of partition next to each line.
  5001.  
  5002. If the partition is a sub summary partition, Nutshell displays a
  5003. list of the defined fields in your current file. If the field you
  5004. want to sort by is in the current file, select the text, number,
  5005. date, or calculation field by which you will sort records to create
  5006. the sub summary groupings.
  5007.  
  5008. If the field you want to sort by is in a look up file, select Look
  5009. up. Nutshell first asks you to select the link you want, then
  5010. displays the list of fields in the look up file. Select the text,
  5011. number, date, or calculation field from the look up file by which
  5012. you will sort records to create the sub summary groupings.
  5013.  
  5014. 5. If you want empty lines removed from the end of the partition
  5015. when records are printed, select Variable Height. Nutshell marks
  5016. the variable height partition with vertical double arrows.
  5017.  
  5018. To specify that a partition should be printed with fixed height,
  5019. select Fixed Height. If the partition was previously defined as a
  5020. variable height partition, Nutshell removes the double arrow from
  5021. the edge of the partition screen to show that the partition is now
  5022. fixed height. (The double arrows are never printed
  5023.  
  5024. they are only visual cues on the Partition screen.)
  5025.  
  5026. Note: If the new partition replaces one that was on the layout and
  5027. occupies different lines, the lines in the old partition are not
  5028. now partitioned and the label for the type of partition next to
  5029. each line is now empty. Elements that are not in a partition are
  5030. displayed but not printed. If you want to print the elements,
  5031. create a new partition for these lines, or move the elements into
  5032. an existing partition.
  5033.  
  5034. When you delete a partition, any elements in the partition remain
  5035. on the layout and they are still displayed, but they are not
  5036. printed.
  5037.  
  5038. Delete a partition when it is no longer needed on the layout, or
  5039. when you want to omit the contents of the partition from a printed
  5040. report. For example, you may want to name your layouts to identify
  5041. the purpose of each, such as Data Entry Layout, Mailing Label
  5042. Layout, and so on. If you delete the partition for the line the
  5043. name is on, it will be displayed but not printed.
  5044.  
  5045. To delete a partition:
  5046.  
  5047. 1. Move the cursor to any line on the layout that is within the
  5048. partition you want to delete, then select Delete Partition.
  5049. Nutshell marks the partition with a solid bright background.
  5050.  
  5051. 2. Press return to confirm the deletion. Nutshell deletes the
  5052. partition and removes the label for the type of partition next to
  5053. each line. Elements that were in the partition will not be printed
  5054. until you create a new partition or move the elements into another
  5055. partition.
  5056.  
  5057. Each line that is partitioned on your layout corresponds to a line
  5058. on the printed page. If no partition is specified for a given line
  5059. or lines, Nutshell ignores those lines when printing records.
  5060. Unpartitioned lines can be used for instructions, notes, or other
  5061. information that you want to display on the screen, but omit from
  5062. the printed page.
  5063.  
  5064. Nutshell prints partitioned elements in the following order on the
  5065. page:
  5066.  
  5067. Header
  5068.  
  5069. Grand summary, if specified above the body partition
  5070.  
  5071. Sub summaries specified above the body partition
  5072.  
  5073. Body, repeated as many times as will fit on the page between the
  5074. header and footer and any grand summaries or sub summaries
  5075.  
  5076. Sub summaries specified below the body partition
  5077.  
  5078. Grand summary, if specified below the body partition
  5079.  
  5080. Footer
  5081.  
  5082. You can cause any partition to begin printing on a new page by
  5083. typing Ctrl L on the line of the partition where you want the page
  5084. break to occur. Nutshell marks this position with a page break
  5085. character.
  5086.  
  5087. By selecting Fixed Height you can specify that you want any
  5088. partition on your layout to be printed exactly as it appears on the
  5089. Partition screen, including all empty lines at the end of the
  5090. partition. When you use Fixed Height partitions, each record will
  5091. take up the same amount of space when printed, regardless of the
  5092. number of empty lines in each record. A fixed partition size is
  5093. needed for printing certain materials such as mailing labels and
  5094. continuous forms, where the distance from the top of one label or
  5095. form to the top of the next remains constant.
  5096.  
  5097. If you do not want to print empty lines at the end of a partition,
  5098. select Variable Height. Variable height partitions let you
  5099. eliminate unwanted empty space between records, and so help to
  5100. conserve paper, since any empty lines in a record will be removed
  5101. before the records are printed.
  5102.  
  5103. Note: The Variable Height option on the Partition screen Is
  5104. different from the Height Variable option on the Layout screen. The
  5105. size of partitions is not changed by specifying Height Variable for
  5106. fields in the partitions (using the Reshape option on the Layout
  5107. screen). The Height Variable option on the Layout screen removes
  5108. empty lines at the end of ~, not partitions. In order to remove
  5109. empty space from the end of partitions, use the Variable Height
  5110. option on the Partition screen.
  5111.  
  5112. Partitions remain as you set them until you delete them or create
  5113. new ones. Using the Move option to move elements on a layout does
  5114. not change the partitions. As you move elements on a layout, or
  5115. create new partitions, check to make sure that any text fields
  5116. containing more than one line are not straddling partition
  5117. boundaries. All the lines of a text field must be contained in one
  5118. partition for the field to be printed properly.
  5119.  
  5120. To find out exactly how partitions will be printed on a page, you
  5121. can print one page as a sample, or you can print to your screen
  5122. using the CON: setting. By printing a sample page, you can see
  5123. whether you need to adjust the layout by changing the size of
  5124. partitions, moving elements into different partitions, changing the
  5125. location of a page break character, and so on. For details on the
  5126. printing process, see the chapter Printing Information.
  5127.  
  5128. You can work with a group of records in your file rather than the
  5129. entire file by using the Find option. When you find records that
  5130. match your criteria, you can browse, modify, sort, output, or
  5131. remove just the found records, leaving the other records in the
  5132. file intact. Nutshell displays and prints just the set of found
  5133. records until you add new records (which redisplays all the records
  5134. in the file) or use the Find option to find a different set of
  5135. records or find all the records.
  5136.  
  5137. For example, in a file for managing a seminar series, you could
  5138. find all the seminars scheduled for a seminar leader who is no
  5139. longer available, modify the found records to include the new
  5140. seminar leader's name, sort them in order of date of seminar, and
  5141. copy just the found records to another file to give to the new
  5142. seminar leader.
  5143.  
  5144. When you're working with a set of found records, summary fields
  5145. contain a value summarizing just the found set. Continuing the
  5146. seminar series example in the previous paragraph, a summary field
  5147. that totaled registration fees would show the total fees for just
  5148. the seminars given by the new seminar leader, not all the seminars
  5149. as it would if you were browsing all the records in the file.
  5150.  
  5151. You find records in the current file by typing criteria in text,
  5152. number, date, or calculation fields of the current file in a
  5153. pattern. (As a shortcut, you can also use the index to copy values
  5154. into fields in the pattern.) To find records in a look up file,
  5155. first zoom to the file, select Find, then type your criteria in the
  5156. pattern. A find pattern can be one page of criteria, or be made up
  5157. of several pages. Each page of the find pattern comprises a
  5158. separate set of criteria. A page resembles an empty record in the
  5159. current layout.
  5160.  
  5161. Nutshell saves all the pages of the pattern you use to find a group
  5162. of records until you change the criteria or clear the pattern. So
  5163. if you work with the same subset of your file frequently, you don't
  5164. have to retype the criteria you use to find the records.
  5165.  
  5166. Note: The layout you use to find records must contain all of the
  5167. fields in the current file for which you want to specify criteria
  5168. and find values. If you switch to a different layout after
  5169. specifying a find pattern, Nutshell erases from the pattern any
  5170. fields containing criteria that are not on the current layout. This
  5171. is to prevent you from inadvertently finding records that match
  5172. criteria you can't see or change. You can find records using one
  5173. layout, then switch to another layout for browsing, printing, or
  5174. other tasks. However, if you want to find the same set of records
  5175. again, you will need to respecify the find criteria for the fields
  5176. that were not on the second layout.
  5177.  
  5178. Because Nutshell automatically indexes the values in text, number,
  5179. date, and calculation fields in your records you can tin the
  5180. records in the current tile that contain any value by typing
  5181. c;Iberia in the corresponding tied in a tin pattern. For example,
  5182. you could tin records Tom all the seminars to be held in San Diego
  5183. by typing San Diego in the City tied in the pattern.
  5184.  
  5185. By typing symbols in addition to values in a pattern, you can tin
  5186. records containing values that exactly match (=) a value, are
  5187. greater than or equal to  a value, are less than or equal to a
  5188. value , are greater than  a value, are less than  a value, or match
  5189. a range of specified values (...). By typing only (=) with no other
  5190. value you can tin empty yields, those containing no value,. By
  5191. typing (<>) before the value you can find yields that do not match.
  5192.  
  5193. You can also ask Nutshell to find records that match several
  5194. criteria at once; for example, you could find only those seminars
  5195. in a given City that are scheduled on or aster a particular date
  5196. and have a registration fee of no more than a certain figure. When
  5197. you type values in several fields on a page in a pattern, Nutshell
  5198. finds records that contain matching values in all the corresponding
  5199. fields.
  5200.  
  5201. By adding pages to a find pattern, you can find records that match
  5202. either one set of criteria (on one page of the pattern), or another
  5203. set (specified on another page of the pattern). For example, you
  5204. could find seminars on either management practices or budgetary
  5205. analysis.
  5206.  
  5207. This section first outlines the general steps for finding records,
  5208. then provides details on all the different criteria you can
  5209. specify. A table at the end of the section summarizes the use of
  5210. the criteria for each field type.
  5211.  
  5212. To find records:
  5213.  
  5214. 1. Make sure the current layout contains all the fields for which
  5215. you want to find values. If necessary, select Layout from the
  5216. Browse screen and press Pgup or PgDn to display the layout you
  5217. want.
  5218.  
  5219. 2. From the Browse screen, select Find. Nutshell displays the Find
  5220. screen with an empty pattern in the current layout.
  5221.  
  5222. 3. Type values in text, number, date, and calculation fields in the
  5223. pattern according to what you want to find in corresponding fields
  5224. in your records. (In a date field, or in a calculation field with
  5225. a date result, type the date as digits separated by a non numeric
  5226. character, the same as you do when adding records.)
  5227.  
  5228. Note: Instead of typing criteria in look up fields to find values
  5229. in look up files, zoom to the look up file, select Find, then type
  5230. your criteria in the pattern.
  5231.  
  5232. To view or copy values from the index that Nutshell maintains for
  5233. each field, select Show Index. The index works the same way for
  5234. finding records as for adding or modifying records. You can also
  5235. use Show Index to display the name of the field. For details, see
  5236. the section Using the Index in the earlier chapter Adding, Editing,
  5237. and Deleting Information.
  5238.  
  5239. Note: If a field Is too small to hold the necessary criteria, use
  5240. the Reshape option on the layout to enlarge the field.
  5241.  
  5242. 4. To find the records that match the criteria, press F10 or the +
  5243. (plus) key in the numeric keypad. Nutshell displays the Browse
  5244. screen at the first found record, and shows the number of found
  5245. records on the top line of the screen. These are the records you
  5246. can browse, modify, sort, output, or remove until you add a new
  5247. record, find a different set of records, or find all the records.
  5248. If no records match the find pattern,
  5249.  
  5250. Nutshell displays the Browse screen and indicates that no records
  5251. were found.
  5252.  
  5253. To return to browsing all the records In the file:
  5254.  
  5255. 1. From the Find screen select Find All. Nutshell displays the
  5256. Browse screen at the last record you displayed. You can now work
  5257. with all the records in the file. The records are in the order in
  5258. which you originally added them.
  5259.  
  5260. Note: When you add new records to a file, Nutshell in effect
  5261. selects Find All for you in order to add the records; that way,
  5262. there's no confusion about whether the new records belong to the
  5263. set of found records Because Nutshell saves your find pattern, you
  5264. can easily find the correct set of records by selecting Find and
  5265. pressing F10.
  5266.  
  5267. To find records containing a range of values in a given field, type
  5268. an ellipsis (three periods (...)) between the first value and the
  5269. last value in the field in the find pattern. When you type a range,
  5270. Nutshell finds records containing the first value, all the
  5271. intervening values, and the last value (an inclusive range).
  5272.  
  5273. In a text field, you can find a range of alphabetical values. For
  5274. example, to split an over enrolled seminar into two groups, you
  5275. could find registrants whose last names begin with A through L by
  5276. typing A. . . L in the Last Name field.
  5277.  
  5278. In a number field or in a calculation field with a number result,
  5279. you can find a range of numerical values. For example, you could
  5280. find seminars with registration fees in the $200 to $400 range by
  5281. typing 200 . . . 400 in the Registration Fee field.
  5282.  
  5283. In a date field or in a calculation field with a date result, you
  5284. can find a range of chronological values. For example, you could
  5285. find all the seminars being given from June 1 through July 31 by
  5286. typing 6/1/90. . . 7/31/90 in the Date field.
  5287.  
  5288. In a time field or in a calculation field with a time result, you
  5289. can find a range of chronological values. For example, you could
  5290. find all the seminars being held from 10AM through 2PM by typing
  5291. 10:00am. . . 2:00PM in the Time field.
  5292.  
  5293. By typing a >= (greater than or equal to) symbol directly in front
  5294. of a value in a pattern, you can find records containing values in
  5295. the corresponding field that match or are alphabetically after,
  5296. numerically greater, or chronologically later than the value you
  5297. type in the pattern. Conversely, you can precede the value in the
  5298. pattern with a <= (less than or equal to) symbol to find values
  5299. that match or are alphabetically before, numerically smaller, or
  5300. chronologically earlier than the value you type.
  5301.  
  5302. By typing a >  (greater than) symbol in front of a value in a
  5303. pattern, you can find records containing values in the
  5304. corresponding field that are alphabetically after, numerically
  5305. greater, or chronologically later than the value you type in the
  5306. pattern. And conversely, you can precede the value in the pattern
  5307. with a < (less than) symbol to find values that are alphabetically
  5308. before, numerically smaller, or chronologically earlier than the
  5309. value you type.
  5310.  
  5311. For example, if you need 14 people to make it feasible to put on a
  5312. seminar, you could type <14 in the Number Registered field to find
  5313. seminars that are currently under enrolled.
  5314.  
  5315.  Finding Empty Fields or Fields Not Equal to a Given Value
  5316.  
  5317. By typing an = (equal ) symbol with no value following it, you can
  5318. find records containing no values in the corresponding field in the
  5319. pattern. Also, you can precede the value in the pattern with a <>,
  5320. (less than and greater than) symbol to find values that do not
  5321. match the value you type.
  5322.  
  5323. For example, if you wished to find anyone not registered for a
  5324. seminar you would enter = with no value in the seminar field. To
  5325. find everyone not attending seminar 14 you would enter <>14 . To
  5326. find everyone who has registered for a seminar you could enter <>=
  5327. which effectively excludes empty fields.
  5328.  
  5329. Each text field can hold many values (words), unlike other field
  5330. types which can each hold one value per field. Nutshell provides
  5331. some additional criteria to make it easy to find exactly what you
  5332. want to find in text fields in your records. You can find records
  5333. with text fields containing values that:
  5334.  
  5335. Match or begin with the word or partial word you type in the
  5336. pattern.
  5337.  
  5338. Exactly match the word or partial word you type in the pattern.
  5339.  
  5340. Match or begin with all the words or partial words you type in the
  5341. field in the pattern.
  5342.  
  5343. When you type a value in a text field in a pattern, Nutshell finds
  5344. records with values that match or begin with what you typed. For
  5345. example, if you type D in the City field, Nutshell will find
  5346. records for seminars being held in Dallas, Denver, and San Diego.
  5347. This means that you can type just the first few letters of a long
  5348. name or a word that is difficult to spell. It's also convenient if
  5349. you need to find all attenders within a certain telephone area
  5350. code, or seminars that begin with a certain letter code.
  5351.  
  5352. To find records with values that exactly match what you type in a
  5353. text field in the pattern, precede the value with an = (equal)
  5354. sign. For example, if you type =10 in the Title field, Nutshell
  5355. will find only the record for the seminar titled 10 Ways to Beat
  5356. Your Competitors," not the seminar titled a Critical Look at
  5357. Fortune 100 Companies in 1986.~ Type an equal sign before each word
  5358. that you want Nutshell to exactly match.
  5359.  
  5360. If you type more than one word in a text field, Nutshell finds
  5361. records that contain all the words in the corresponding field. For
  5362. example, if you type both Manage and Business in the Description
  5363. field, Nutshell will find seminars with descriptions such as
  5364. Business management for entrepreneurs" and Show to manage without
  5365. a business school background," but not Business outlook in 1986" or
  5366. Debunking myths of management science."
  5367.  
  5368. Note: Nutshell Ignores capitalization to find values ~n text
  5369. fields, so you can be sure you're finding all the records that
  5370. contain a given word regardless of whether you originally typed it
  5371. using all upper case letters, mixed case, or all lower case.
  5372.  
  5373. By adding pages to a find pattern, you can find records that match
  5374. any one of a number of sets of criteria. Each page of the pattern
  5375. resembles a new empty record; you can type values in any text,
  5376. number, date, or calculation field on any page. For example, you
  5377. could find all the seminars being given in San Francisco or New
  5378. York by typing San Francisco in the City field on the first page of
  5379. a pattern, and New York in the City field on the second page. (If
  5380. you had typed both San Francisco and New York in the City field on
  5381. one page of the pattern, Nutshell wow find only seminars being
  5382. given in both San Francisco and New York.)
  5383.  
  5384. To add a set of criteria:
  5385.  
  5386. 1. After typing values in the first page of the find pattern on the
  5387. Find screen, select Also Find. Nutshell displays a new page of the
  5388. pattern on the Also Find screen.
  5389.  
  5390. 2. Type criteria in fields on the new page.
  5391.  
  5392. 3. Repeat steps 1 and 2 to add as many additional sets of criteria
  5393. as necessary. Use the Pgup and PgDn keys to redisplay the other
  5394. pages of the pattern.
  5395.  
  5396. 4. When you are ready to have Nutshell find records that match
  5397. criteria on any of the pages in the pattern, press F10 or the +
  5398. (plus) key in the numeric keypad.
  5399.  
  5400. Sometimes it's more convenient to defer correcting values that
  5401. don't meet validation criteria you have defined than to correct
  5402. each one as you add records. The Invalid Records option lets you
  5403. find all these renegade records at once in order to correct or
  5404. delete them.
  5405.  
  5406. You can also use the Invalid Records option after adding or
  5407. changing validation criteria, to find records that no longer match
  5408. the criteria.
  5409.  
  5410. To find records that don't match the valldatlon criteria:
  5411.  
  5412. 1. From either the Find or the Also Find screen, select Invalid
  5413. Records. Nutshell displays the Browse screen with the number of
  5414. found records. (Any criteria you typed in the find pattern are not
  5415. used in finding the invalid records, but are saved so you can use
  5416. them the next time you select the Find option.)
  5417.  
  5418. 2. To see which fields on the current layout contain invalid
  5419. values, select Modify. Nutshell marks the invalid fields with a
  5420. solid bright background. For details on modifying records, see the
  5421. section Changing the Information in a Record in the earlier chapter
  5422. Adding, Editing, and Deleting Information.
  5423.  
  5424. To find records containing Invalid date or time fields:
  5425.  
  5426. Date and /or time fields can sometimes contain invalid data without
  5427. any validation criteria having been specified for them.
  5428.  
  5429. 1. If data containing invalid formats for either date or time is
  5430. imported into those fields then the resulting date or time will be
  5431. invalid.
  5432.  
  5433. 2. Also calculations which produce a date or time result which
  5434. falls outside the valid range for date or time fields .
  5435.  
  5436. 3. On either the Find or the Also Find screen, enter 00/00/0000 to
  5437. locate invalid dates, or 24: 00: 00 to locate invalid times in the
  5438. appropriate fields
  5439.  
  5440. Nutshell saves the criteria you specify on all the pages of your
  5441. find pattern so that you can repeatedly find records without
  5442. retyping the criteria. You can modify the criteria at any time or
  5443. erase them and start over.
  5444.  
  5445. Edit the criteria in fields in the same manner that you edit field
  5446. contents in records, then press F10 or the + (plus) key in the
  5447. numeric keypad to find records that match the edited criteria.
  5448.  
  5449. You can erase pages of your find pattern one page at a time, or you
  5450. can erase all the pages at once. Select One Page to erase pages of
  5451. your find pattern one page at a time. For example, to respecify a
  5452. set of criteria or to eliminate an obsolete set of criteria, select
  5453. ALL Pages to erase all the pages of your find pattern.
  5454.  
  5455.  To erase one page of the find pattern:
  5456.  
  5457. 1. Display the page you want to delete by using the Pgup or PgDn
  5458. key.
  5459.  
  5460. 2. Select Clear.
  5461.  
  5462. 3. Select One Page. Nutshell erases the displayed page from the
  5463. pattern.
  5464.  
  5465. To erase all pages of the find pattern:
  5466.  
  5467. 1. Display any page of your find pattern.
  5468.  
  5469. 2. Select Clear.
  5470.  
  5471. 3. Select ALL Pages. Nutshell deletes all the pages of the find
  5472. pattern.
  5473.  
  5474. Records in your file are stored in the order in which you add them.
  5475. By using the Sort option, you can temporarily change the order of
  5476. either a set of found records or the entire file while you browse,
  5477. modify, or print records. For example, you might want to sort
  5478. customer records by Zip code in order to print mailing labels for
  5479. a presorted bulk mailing. The records remain in the sorted order
  5480. until you add new records or find records. To permanently change
  5481. the order of records, you can copy the sorted records to another
  5482. file. For details see the chapter Copying Information To and From
  5483. Other Files.
  5484.  
  5485. You sort records by specifying a sort order, which is a list of
  5486. text, number date, time, or calculation fields. Nutshell sorts
  5487. records by the first sort field, then uses any additional sort
  5488. fields to sort duplicate values. For example, a file for managing
  5489. a membership list might use a sort order of Last Name (the first
  5490. sort field), and First Name (the second sort field). Nutshell would
  5491. sort all the Smiths together, then put the members with a last name
  5492. of Smith in order by First Name. You can have as many fields in the
  5493. sort order as you need to sort duplicate values.
  5494.  
  5495. For each field in the sort order, you specify whether Nutshell
  5496. should sort values in the field in ascending order or descending
  5497. order. Ascending order means alphabetical order for a text field,
  5498. smallest to- largest numerical order for a number field or a
  5499. calculation field with a number result, and chronological order for
  5500. a date or time field or a calculation field with a date or time
  5501. result. Descending order means the reverse of ascending order. For
  5502. example, you might want to sort sales figures in descending order
  5503. so you can readily see which products garnered the most revenue per
  5504. sale.
  5505.  
  5506. Note Nutshell Plus II sorts based upon the ASCII collating sequence
  5507. for text fields except that accented characters as used in many non
  5508. English languages will be sorted as though they did not have an
  5509. accent mark, in the case of the German umlaut characters they will
  5510. be sorted as though a two character pair in which the second
  5511. character is the letter 'e'
  5512.  
  5513. Nutshell saves the sort order you specify, so you can quickly sort
  5514. the file again by the same fields after finding or adding records.
  5515. You can also change the sort order at any time.
  5516.  
  5517. If you want to browse or print sub summary information, you need to
  5518. include in the sort order the fields that you specified when you
  5519. created each sub summary partition on the layout. For information
  5520. on sub summary partitions see the earlier chapter Adding Power to
  5521. Reports. Nutshell displays and prints a value for summary fields in
  5522. sub summary partitions only when the records are properly sorted.
  5523. For example, you might sort a membership list by the Type of
  5524. Membership field in order to view subtotals of membership dues paid
  5525. by each type (such as Individual, Family, Sustaining, Corporate,
  5526. etc.). To do this, you would create a sub summary partition for the
  5527. sort field Type of Membership. Then you would place the summary
  5528. field Total Dues in the sub summary partition. Sorting the records
  5529. by Type of Membership would group all the members with each type of
  5530. membership together. Then, Nutshell would display and print the
  5531. Total Dues paid by each group.
  5532.  
  5533.  If your file has links to look up files, you can use fields from
  5534. one of the look up files in the sort order. For example, you might
  5535. keep sales records in one file, and sales personnel records in
  5536. another file, using the salespersons' social security numbers to
  5537. link the files. If you wanted to create a report that sorted sales
  5538. records alphabetically by salesperson, you could use the fields
  5539. Last Name and First Name from the look up file to sort records in
  5540. the sales file by name. This is particularly useful when you want
  5541. to summarize data that's sorted by a field in a look up file (see
  5542. the Sub summary section in the earlier chapter Adding Power to
  5543. Reports for further information).
  5544.  
  5545. You can specify a new sort order whenever you need to see records
  5546. in a different sequence. To sort a set of found records, first use
  5547. the Find option to isolate the records. For details on finding
  5548. records see the previous chapter Finding Information.
  5549.  
  5550. To create a new sort order:
  5551.  
  5552. 1. From the Browse screen, select Sort. If you have not previously
  5553. specified a sort order, Nutshell displays the Sort screen with an
  5554. empty sort order at the top of the screen and a list of all the
  5555. defined fields of your current file at the bottom of the screen.
  5556.  
  5557. If you have previously specified a sort order, Nutshell displays it
  5558. at the top of the screen. To replace the current sort order with a
  5559. new sort order, select New Order. Nutshell clears the current sort
  5560. order and displays a list of all the defined fields of your current
  5561. file at the bottom of the screen.
  5562.  
  5563. 2. Move the cursor to the text, number, date, time or calculation
  5564. field you want Nutshell to use first in sorting records, then press
  5565. return. In the sort order Nutshell lists the field you selected,
  5566. and asks you to specify ascending or descending order.
  5567.  
  5568. or
  5569.  
  5570. To add a look up field to the sort order, do the following:
  5571.  
  5572. Select Look up. Nutshell asks you to specify which link you want to
  5573. use. After you select the link you want, Nutshell displays a list
  5574. of fields in the look up file.
  5575.  
  5576. Move the cursor to the look up field you want to use in sorting
  5577. records, then press return. In the sort order Nutshell lists the
  5578. look up filename and field you selected, and asks you to specify
  5579. ascending or descending order.
  5580.  
  5581. To display the list of fields in the base file, select Return to
  5582. Base File. Nutshell redisplays the list of fields in the base file.
  5583.  
  5584. 3. Select either Ascending Order or Descending Order for the sort
  5585. field. Nutshell displays arrows in front of the sort fields to
  5586. indicate ascending or descending order.
  5587.  
  5588. 4. If you need additional sort fields to sequence duplicate values
  5589. or to display sub summary information, select the next sort field,
  5590. then select Ascending Order or Descending Order. Continue
  5591. identifying sort fields in this manner for as many sort fields as
  5592. you need.
  5593.  
  5594. 5. When you have finished selecting sort fields, press Esc.
  5595. Nutshell displays the Sort screen menu.
  5596.  
  5597. Highlighting Information
  5598.  
  5599. Highlighting layout text and fields on a layout lets you easily
  5600. spot important information on the screen and lends emphasis to
  5601. reports and other printed materials. Nutshell lets you highlight
  5602. elements on any layout individually or as a group.
  5603.  
  5604. The menu options for highlighting information vary depending on
  5605. whether the display adapter in your system is designed for Cobb or
  5606. monochrome display. H you are using a monochrome monitor, you can
  5607. use the Highlight option to select any of the folio wing character
  5608. styles for the display of fields and text:
  5609.  
  5610. Normal (No highlighting)
  5611. Bold
  5612.  
  5613. Underline
  5614.  
  5615. Underline Bold
  5616.  
  5617. These characteristics also apply when records are printed, subject
  5618. to the capabilities of your printer.
  5619.  
  5620. If you are using a color monitor, the Highlight option lets you
  5621. take advantage of a range of seven colors in two levels of
  5622. brightness in order to emphasize fields and text on the screen. The
  5623. color choices translate into the same character styles as listed
  5624. above when records are printed.
  5625.  
  5626. Note: Some systems are equipped with a color display adapter and a
  5627. monochrome monitor. If you are using this type of system, you will
  5628. see the color menu when you select the Highlight option. On the
  5629. monochrome display, the different color choices appear as different
  5630. brightness. See the section Using a Color Monitor below for
  5631. instructions on using the color menu including how the ~colors~
  5632. translate into character styles when records are printed.
  5633.  
  5634. highlight fields or text It you are using a monochrome display:
  5635.  
  5636. 1. Position the cursor in the layout text or field you want to
  5637. highlight, or to highlight a group of elements, position the cursor
  5638. at one corner of the group. Then select Highlight.
  5639.  
  5640. 2. To highlight one element, press return, or to highlight a group,
  5641. move the cursor so the solid bright rectangle encompasses at least
  5642. one character of each element in the group, then press return.
  5643. Nutshell marks the element(s) you have indicated why a solid bright
  5644. background.
  5645.  
  5646. 3. Select the option for the highlighting you want (Bold,
  5647. Underline, or Underline Bold). To cancel highlighting previously
  5648. applied, select Normal. On the screen, bold elements appear
  5649. brighter than normal, and underlined elements appear with an
  5650. underline.
  5651.  
  5652. Note: On the screen, a field for which you have selected Underline
  5653. will appear with an underline running the length of the field.
  5654. However, when you print records, just the data in Lee field is
  5655. underlined. If you want the underline to extend the length of the
  5656. field, use the spacebar to add blank characters to fill the field
  5657. when you type the data.
  5658.  
  5659. If you are using a color monitor (or a monochrome monitor with a
  5660. Cobb display adapter), the Highlight option gives you a menu of two
  5661. rows of colors. The top row shows seven colors (Gray, Red, Purple,
  5662. Blue, Sky Blue, Green, and Brown). Directly below each of these
  5663. colors is its bright counterpart. Colors are useful in
  5664. differentiating information on the screen, and bright colors are
  5665. most effective at calling attention to a particular field for data
  5666. entry or analysis.
  5667.  
  5668. When records are printed, the color options translate into
  5669. character styles of Normal, Bold, Underline, or Underline Bold,
  5670. subject to the capabilities of your printer. The table on the next
  5671. page shows this correspondence:
  5672.  
  5673. 1. Position the cursor in the layout text or field you want to
  5674. highlight, or to highlight a group of elements, position the cursor
  5675. at one corner of the group. Then select Highlight.
  5676.  
  5677. 2. To highlight one element, press return, or to highlight a group,
  5678. move the cursor so the solid bright rectangle encompasses at least
  5679. one character of each element in the group, then press return.
  5680. Nutshell marks the element(s) you have indicated with a solid
  5681. bright background.
  5682.  
  5683. 3. Select the color option for the highlighting you want according
  5684. to the table above. On the screen, elements appear in the color and
  5685. brightness you selected.
  5686.  
  5687. Note: If you select Blue to have fields printed with underlined (or
  5688. underlined bold) characters, Nutshell underlines just the data in
  5689. the printed field. If you want the underline to extend the entire
  5690. length of the field, use the spacebar to add blank characters to
  5691. fill the field when you type the data.
  5692.  
  5693. On any layout you can format text, number, and time yields,
  5694. calculation fields that result in a number or time, and summary
  5695. fiefs. Formatting lets you decide how you want to display your data
  5696. on a layout and how you want it printed. It does not affect the way
  5697. your data is stored or used in calculations or summaries.
  5698.  
  5699. You can also use the Format option as a way to display the field
  5700. name that you need to.
  5701.  
  5702. To display a field name:
  5703.  
  5704. 1. Position the cursor in the field whose name you want to display,
  5705. then select Format.
  5706.  
  5707. 2. Press Esc when you are done.
  5708.  
  5709. You can use the Format option to specify how you want your text
  5710. aligned in a text field. Most text is aligned at the left side of
  5711. a field. If you do not specify otherwise, Nutshell arranges your
  5712. text this way (left-justified).
  5713.  
  5714. Some text you'II want to align at the right side of the field, and
  5715. other text looks best if it's centered. Nutshell lets you decide
  5716. whether you want your text left or right-justified, or centered.
  5717.  
  5718. When you view your records on the Browse screen, the data in the
  5719. field will be aligned using the format you choose.
  5720.  
  5721. To justify a text field:
  5722.  
  5723. 1. Position the cursor in the field, then select Format. Nutshell
  5724. displays the field name, and displays the Format menu.
  5725.  
  5726. 2. Select Justification.
  5727.  
  5728. 3. Select Left, Right, or Center.
  5729.  
  5730. On any layout you can format any number field, calculation field
  5731. that results in a number, or summary field. With the Format option
  5732. you can specify:
  5733.  
  5734. Left- or right justification, or centering.
  5735.  
  5736. Whether you want a currency sign.
  5737.  
  5738. Whether you want commas to separate thousands.
  5739.  
  5740. How many digits you want to the right of the decimal point.
  5741.  
  5742. For example, if the file is to contain a dollar amount, you would
  5743. specify two decimal digits and dollar formatting. And when used why
  5744. fixed decimal formatting, right justification aligns the decimal
  5745. point for numbers in a columnar layout.
  5746.  
  5747. Note: If you have reshaped a formatted field with the Width
  5748. Variable option, the printed field will not be right- justified.
  5749. The variable width takes precedence to allow you to have proper
  5750. spacing when using a formatted field in a line of variable length,
  5751. such as in a form letter requesting payment.
  5752.  
  5753. Formatting a numeric field doesn't affect your stored data; if the
  5754. field is used in calculation or summary formulas, Nutshell uses all
  5755. the stored digits to evaluate the result. (You can use the Round
  5756. Result option on the Define screen if you want Nutshell to store
  5757. the rounded result of a calculation in a field; see the section
  5758. Defining Fields in the chapter Designing Files for more
  5759. information.)
  5760.  
  5761. You can change the formatting at any time, or remove it so the
  5762. field is again unformatted. Nutshell displays and prints data in an
  5763. unformatted field with as many digits as can fit in the field, and
  5764. uses all the stored digits to perform calculations.
  5765.  
  5766. Note: Nutshell displays and prints just the number In a formatted
  5767. field. If you type text in a number field and want the text
  5768. displayed and printed, leave the field unformatted.
  5769.  
  5770. To justify a number field:
  5771.  
  5772. 1. Position the cursor in the field, then select Format. Nutshell
  5773. displays the field name, and displays the Format menu.
  5774.  
  5775. 2. Select Justification, then select Left, Right, or Center.
  5776.  
  5777. To display a number with a currency sign, or with commas to
  5778. separate thousands:
  5779.  
  5780. 1. Position the cursor in the field, then select Format. Nutshell
  5781. displays the field name, and displays the Format menu.
  5782.  
  5783. 2. Select Currency Sign, select Yes, then the desired currency
  5784. symbol.
  5785.  
  5786. 3. Select Commas, then select Yes.
  5787.  
  5788. To specify the number of digits to be displayed to the right of the
  5789. decimal point:
  5790.  
  5791. 1. Position the cursor in the field, then select Format. Nutshell
  5792. displays the field name, and displays the Format menu.
  5793.  
  5794. 2. Select Number of Digits. Nutshell asks for the number of digits
  5795. you want to be displayed.
  5796.  
  5797. 3. Type the number of digs you want, then press J. You'II see the
  5798. formatting when you browse or print records.
  5799.  
  5800. To remove decimal formatting specified for a field:
  5801.  
  5802. 1. Position the cursor in the field, then select Format.
  5803.  
  5804. 2. Select Number of Digits.
  5805.  
  5806. 3. Delete the number that was specified for the number of digits to
  5807. the right of the decimal point, then press return.
  5808.  
  5809. Formatting Dates
  5810.  
  5811. On any layout you can format date fields and calculation fields
  5812. that result in a date. When you type a date in a field, you type it
  5813. in an unformatted style. For example, you might enter December 9,
  5814. 1990 as 12-9-90 or 12-9-1990. If you leave a date field
  5815. unformatted, Nutshell displays and prints the date as you typed it,
  5816. or for calculations with a date result, as 12/09/90. With the
  5817. Format option, you can choose from among six deferent date styles
  5818. in which to display or print dates. For example, you can format the
  5819. date 12-990 so that it appears in any one of the following date
  5820. styles:
  5821.  
  5822. 12/09/90
  5823.  
  5824. Dec 9, 1990
  5825.  
  5826. December 9, 1990
  5827.  
  5828. Fri, Dec 9, 1990
  5829.  
  5830. Friday, December 9, 1990
  5831.  
  5832. O9DEC90
  5833.  
  5834. You can also use the Format option to specify that the date in the
  5835. field be left or right justified, or centered, in the same way as
  5836. you can justify text and number fields.
  5837.  
  5838. Note: Formatting does not change how you type a date in a field,
  5839. nor does it affect how you can search for it. For example, if you
  5840. want to find Friday, you should store the date in a text fiend (see
  5841. the section Defining Fields in the chapter Designing Files).
  5842.  
  5843. To justify a date field:
  5844.  
  5845. 1. Position the cursor in the field, then select Format. Nutshell
  5846. displays the field name, and displays the Format menu.
  5847.  
  5848. 2. Select Justification.
  5849.  
  5850. 3. Select Left, Right, or Center.
  5851.  
  5852. To specify a Date Style:
  5853.  
  5854. 1. Position the cursor in the field, then select Format. Nutshell
  5855. displays the field name, and displays the Format menu.
  5856.  
  5857. 2. Select Date Style. Nutshell displays a list of date styles.
  5858.  
  5859. 3. Select the date style you want.
  5860.  
  5861. Formatting Time
  5862.  
  5863. On any layout you can format time fiends and calculation fields
  5864. that result in a time. When you type a time in a field, you type it
  5865. in an unformatted style. For example, you might enter 1:30PM as
  5866. 13:30 or 1:30:00P. If you leave a time field unformatted, Nutshell
  5867. displays and prints the time as you typed it, or for calculations
  5868. with a time result, as 13:30:00. With the Format option, you can
  5869. choose from among tire different time styles in which to display or
  5870. print times. For example, you can format the time 13:30:00 so that
  5871. it appears in any one of the following time styles:
  5872.  
  5873. 1:30P
  5874.  
  5875. 13:30
  5876.  
  5877. 13 :30 :00
  5878.  
  5879. 1:30:pm
  5880.  
  5881. 1:30:00pm
  5882.  
  5883. You can also use the Format option to specify that the time in the
  5884. field be left or right justified, or centered, in the same way as
  5885. you can justify text and number fields.
  5886.  
  5887. Note: Formatting does not change how you type a time in a field,
  5888. nor does it affect how you can search for it. For example, if you
  5889. want to find Noon or Midnight, you should store the time in a text
  5890. field (see the section Defining Fields in the chapter Designing
  5891. Files).
  5892.  
  5893. To justify a time field:
  5894.  
  5895. 1. Position the cursor in the field, then select Format. Nutshell
  5896. displays the field name, and displays the Format menu.
  5897.  
  5898. 2. Select Justification.
  5899.  
  5900. 3. Select Left, Right, or Center.
  5901.  
  5902. To specify a Time Style:
  5903.  
  5904. 1. Position the cursor in the field, then select Format. Nutshell
  5905. displays the field name, and displays the Format menu.
  5906.  
  5907. 2. Select Time Style. Nutshell displays a list of time styles.
  5908.  
  5909. 3. Select the time style you want.
  5910.  
  5911. or
  5912.  
  5913. Select Unformatted Time to have Nutshell display and print the time
  5914. exactly as you've typed it.
  5915.  
  5916. Erasing Fields or Text
  5917.  
  5918. When you erase fields from a layout, you will not see those fields
  5919. when you use that particular layout to view or print records. All
  5920. the data in the fields is still stored, and you can see it by
  5921. including fields back onto the layout (as described in the earlier
  5922. section Awing Fields to a Layout) or by using another layout that
  5923. contains the fields. You can erase fields or text one element at a
  5924. time or by groups on any layout.
  5925.  
  5926. The Erase option makes it easy to tailor layouts so they show just
  5927. the information you need for a given purpose. For example, in
  5928. analyzing sales, you might want to view only summary information
  5929. for each salesperson, rather than the details of each sales
  5930. transaction. You can create a streamlined layout for this analysis.
  5931.  
  5932. The Erase option also provides the most efficient way to delete an
  5933. entire unit of layout text rather than a few characters. For
  5934. example, you can erase all the layout text on a layout for printing
  5935. mailing labels; only the fields containing name and address
  5936. information are needed.
  5937.  
  5938. Note: If you want to delete a field and all Its data from your
  5939. file, instead of erasing the field from a layout, use the Define
  5940. option. For instructions, see the section Changing or Deleting
  5941. Field Definitions in the chapter Designing Files. If you delete a
  5942. field through the Define option, Nutshell removes it from all of
  5943. your layouts along with layout text that matches the field name of
  5944. the deleted field.
  5945.  
  5946. To erase fields or text from a layout:
  5947.  
  5948. 1. Position the cursor in the layout text or field you want to
  5949. erase, or to erase a group of elements, position the cursor at one
  5950. corner of the group. Then select Erase.
  5951.  
  5952. 2. To erase one element, press return, or to erase a group, move
  5953. the cursor so the solid bright rectangle encompasses at least one
  5954. character of each element in the group, then press return. Nutshell
  5955. marks the element(s) with a solid bright background.
  5956.  
  5957. 3. Press return once again to confirm the erasure.
  5958.  
  5959. The examples in this section show how two common business
  5960. documents, a business form and a form letter, can be designed using
  5961. the many options available on a Nutshell layout. A layout and a
  5962. printed record are shown for each example, to illustrate the
  5963. collective effect of using the options discussed in this chapter to
  5964. control the visual presentation of your information.
  5965.  
  5966. The previous chapter explained all the basic methods of working huh
  5967. elements on a layout: changing the size of fields, rearranging
  5968. elements, adding or erasing fields and text, and so on. This
  5969. chapter explains how to use the Partition option on a layout to
  5970. designate where specific kinds of information should be printed
  5971. relative to the page and to groups of records. For example, layout
  5972. text that you place in a Header partition is printed at the top of
  5973. each page when you print information using that layout; the text
  5974. could be a title, a date, column headings, or any other information
  5975. you want to appear at the top of each page. By using the Partition
  5976. option in combination why techniques from the previous chapter, you
  5977. can design custom reports that present the information you need in
  5978. exactly the form you want.
  5979.  
  5980. Partitions are like adjustable drawer dividers: you can adjust the
  5981. size of each partition, remove any partition, and move the contents
  5982. (layout text, fields, empty lines, and special characters to
  5983. control page breaks, page numbering, date, and time) from one
  5984. partition to another.
  5985.  
  5986. The first section, Concepts of Partitioning a Layout, explains the
  5987. purpose of each of the five types of partition: Body, Header,
  5988. Footer, Grand Summary, and Sub-summary. Read this section to
  5989. understand which partition to use to print titles and column
  5990. headings, various kinds of summaries, page numbers, and so on.
  5991.  
  5992. The next two sections go into the mechanics of creating, changing,
  5993. and deleting partitions; these are capabilities you can use to
  5994. adjust any layout at any time.
  5995.  
  5996. The fourth section, Deciding Where to Place Information, provides
  5997. additional detail on the relation between a partition on the layout
  5998. and printed information on the page, such as how to tell how much
  5999. information can fit on a printed page in order to decide where to
  6000. put page breaks.
  6001.  
  6002. Partitions divide a layout horizontally. Each line of the layout
  6003. can be partitioned to control how much space is used to display and
  6004. print different kinds of information such as headings, records, and
  6005. summaries.
  6006.  
  6007. When you first select Partition from the Layout screen, you'II see
  6008. that Nutshell labels each line of the current layout with the name
  6009. of one of the following types of partition:
  6010.  
  6011. In addition to the body, header, and footer which Nutshell creates
  6012. for you, you can create two other types of partition to designate
  6013. areas of the layout for summary information:
  6014.  
  6015. Grand Summary Printed before or after all the records
  6016. Sub-summary Printed before or after each sorted group of records
  6017.  
  6018. Each of these partitions can contain layout text, fields, and empty
  6019. lines. The type of partition you specify for each line of a layout
  6020. determines how elements on that line are displayed and printed.
  6021.  
  6022. Body
  6023.  
  6024. The body partition controls what is printed for each record. Each
  6025. layout can have one body partition. When you first select Partition
  6026. from any layout, Nutshell sets the number of lines in the body
  6027. partition lo include all your layout text and fields. (An empty
  6028. layout contains no fields or text, so Nutshell doesn't create a
  6029. body partition.)
  6030.  
  6031. Lines in the body are printed once for each record, for as many
  6032. records as will fit on a page. If you want space between printed
  6033. records, include empty lines at the top or bottom of the body
  6034. partition.
  6035.  
  6036. If the body partition contains more lines than can fit on your
  6037. printed page, you can specify at what line Nutshell should start a
  6038. new page; type Ctrl-L on the line of the partition where you want
  6039. Lee page break. The page break symbol appears on Lee layout.
  6040.  
  6041. Header
  6042.  
  6043. The header partition controls the top margin of the printed page.
  6044. Each layout can have one header partition. When you first select
  6045. Partition from any layout except an empty layout, Nutshell creates
  6046. a header of six empty lines. (No header is created when you select
  6047. Partition from an empty layout.) By changing the number of lines in
  6048. the header partition on a layout, you can adjust the top margin for
  6049. the pages you print using that layout.
  6050.  
  6051. To create effective and informative reports, you may want to
  6052. include layout text or fields in the header such as the following:
  6053.  
  6054. A title or page heading to be printed at the top of each page.
  6055.  
  6056. Column headings for a columnar report. Column headings in the
  6057. header partition are printed once at the top of each page. If you
  6058. arrange fields in the body partition so they are aligned with the
  6059. appropriate heading, the layout can be used to print a columnar
  6060. report.
  6061.  
  6062. Automatic page numbering. Typing two number signs (##) on the line
  6063. in the header where you want the page number to appear tells
  6064. Nutshell to automatically number pages at the top of each printed
  6065. page.
  6066.  
  6067. Today's date. Typing two slashes (//) on the line in the header
  6068. where you want today's date to appear tells Nutshell to print the
  6069. system date at the top of each page.
  6070.  
  6071. Current time. Typing two colons (::) on the line in the header
  6072. where you want the current time to appear tells Nutshell to print
  6073. the system time at the top of each page.
  6074.  
  6075. Data from the first record on the page. When you include fields in
  6076. the header, Nutshell prints data in the fiefs from the first record
  6077. on the page, enabling you to create a changing page heading such as
  6078. the heading in a dictionary or a telephone directory.
  6079.  
  6080. Nutshell creates the header partition at the bottom of the layout
  6081. so you don't have to scroll the screen to see your fiefs when
  6082. you're adding, modifying, or finding records. You can place the
  6083. header anywhere on the layout that~s convenient for you; regardless
  6084. of where it is placed, the header is always printed at the top of
  6085. each page.
  6086.  
  6087. Footer
  6088.  
  6089. The footer partition controls the bottom margin of the printed page
  6090. and has characteristics parallel to the header parathion. Each
  6091. layout can have one footer partition. When you first select
  6092. Partition from any layout except an empty layout, Nutshell creates
  6093. a footer of six empty lines, which creates a bottom margin of six
  6094. empty lines on each printed page until you change the footer
  6095. partition. (No footer is created if you select Partition from an
  6096. empty layout.)
  6097.  
  6098. You can also include layout text or fields in the footer partition
  6099. to create the following:
  6100.  
  6101. Text, such as the document title or reference number, to be printed
  6102. at the bottom of each page.
  6103.  
  6104. Automatic page numbering. Typing two number signs (##) on the line
  6105. in the footer where you want the page number to appear tells
  6106. Nutshell to automatically number pages at the bottom of each
  6107. printed page.
  6108.  
  6109. Today's date. Typing two slashes (//) on the line in the footer
  6110. where you want today's date to appear tells Nutshell to print the
  6111. system date at the bottom of each page.
  6112.  
  6113. Current time. Typing two colons (::) on the line in the footer
  6114. where you want the current time to appear tells Nutshell to print
  6115. the system time at the bottom of each page.
  6116.  
  6117. Data from the last record on the page. When you include fields in
  6118. the footer, Nutshell prints data from the last record on the page
  6119. at the bottom of each printed page.
  6120.  
  6121. Nutshell creates the footer at the bottom of the layout, but you
  6122. can place the footer anywhere on the layout that's convenient for
  6123. you; the footer is always printed at the bottom of the page.
  6124.  
  6125. Grand Summary
  6126.  
  6127. Create a grand summary partition when you want information to be
  6128. printed either before or after all the records in a report, instead
  6129. of with each record (as in a body partition), or at the top or
  6130. bottom of each page (as in the header or footer partition).
  6131.  
  6132. The most common and effective use of grand summary partitions is to
  6133. hold summary fields and explanatory layout text. Because a summary
  6134. field contains a cumulative result for all the records (or all the
  6135. found records), it contains only one value for all the records you
  6136. are browsing, rather than a deferent value for each record. It's
  6137. most meaningful to print this value either before or after all the
  6138. records on which the value is based.
  6139.  
  6140. For example, summary fiefs in a lawyer's work log file might track
  6141. such items as total time expended, average time expended, and total
  6142. amount billed. All of these items can be printed at the end of a
  6143. report detailing case activity. This is easily accomplished by
  6144. placing all the summary fields in a grand summary partition which
  6145. is located below the body partition on the report layout.
  6146.  
  6147. You can create up to two grand summary partitions on any layout:
  6148. one above and one below the body partition. This lets you choose
  6149. whether to provide a summary before the details in a report (grand
  6150. summary above the body), after the details (grand summary below the
  6151. body), or both before and after.
  6152.  
  6153. If you want Nutshell to start a new page before or after printing
  6154. a grand summary partition, type Ctrl-L on the layout at the top or
  6155. the bottom of the grand summary partition. The page break symbol
  6156. appears on the layout.
  6157.  
  6158. Sub-summary
  6159.  
  6160. Create a sub-summary partition in order to summarize sorted groups
  6161. of records, rather than the entire file or set of found records as
  6162. in a grand summary partition. By sorting records, you tell Nutshell
  6163. to group them according to the value in the sort field. (For
  6164. specifics, see the chapter Sorting Information.) Nutshell can then
  6165. mark information for each group of records that have the same value
  6166. in the sort field.
  6167.  
  6168. The example below shows a layout and a printed summary report for
  6169. a lawyer's file of cases. The summary shows the time expended and
  6170. the amount billed for each type of case the lawyer handles. At the
  6171. end of the report, the total time and amount for PI the cases is
  6172. shown. The file is sorted by the Type of Case field, which is the
  6173. sort field used to create the sub-summary partition. The summary
  6174. fields Total Time (when the formula Total of Time Expended) and
  6175. Total Amount (Total of Amount Billed) have been included in both
  6176. the sub-summary partition and the grand summary partition. In the
  6177. sub-summary partition, the summary field contains a total for each
  6178. group of records with the same type of case; in the grand summary
  6179. partition, the summary field contains a total for all the cases.
  6180.  
  6181. If your file has links to a look up file, you can use a field from
  6182. the look up file as the sort field to be used in a sub-summary
  6183. partition.
  6184.  
  6185. For example, if you keep sales records in a base file and personnel
  6186. records in a look up file, you can use the fields Last Name and
  6187. First Name from the personnel file as sort fields to sort sales
  6188. records alphabetically by
  6189.  
  6190. salesperson. By including the summary field Total Sales in the sub
  6191. summary partition, Nutshell can subtotal sales for each group of
  6192. records sorted alphabetically by salesperson.
  6193.  
  6194. You can create a sub-summary parathion above and below the body for
  6195. each sort field. This lets you print summary information for groups
  6196. of sorted records ether before or after the group of records why
  6197. the same value in the sort field.
  6198.  
  6199. The value in a summary field in a sub-summary partition can be
  6200. displayed only if the records are sorted~by the field you specify
  6201. when you create the parathion. If the records are not properly
  6202. sorted, a summary field in a sub summary parathion will be empty.
  6203. Similarly, lines in a sub-summary partition are printed only when
  6204. the records are properly sorted.
  6205.  
  6206. If you want Nutshell to start a new page before or Ares printing a
  6207. sub summary parathion, type Ctrl-L on the layout at the top or the
  6208. bottom of the parathion. The page break symbol appears on the
  6209. layout.
  6210.  
  6211. When you select Partition from the Layout screen, Nutshell displays
  6212. the menu options Create Partition and Delete Partition. Use the
  6213. Create Partition option in order to:
  6214.  
  6215. Add a new partition to a layout.
  6216.  
  6217. Replace a partition that has been deleted from a layout.
  6218.  
  6219. Change the size or location of a partition.
  6220.  
  6221. Remove empty lines from the end of a partition when you want to
  6222. print records.
  6223.  
  6224. Creating partitions, whether new ones or replacements, does not
  6225. change what is on your layout; only the way the elements will be
  6226. displayed and printed. You can create a partition for elements that
  6227. are already on adjacent lines of a layout, or if you prefer, you
  6228. can move elements into the partition after it is created. Each
  6229. layout can have different partitions.
  6230.  
  6231. You can replace a partition by creating a new one of the same type
  6232. on the layout. You do not have to delete the old partition first.
  6233. For example, if your layout already has a grand summary partition
  6234. above the body partition, and you create another grand summary
  6235. partition above the body partition, the new partition replaces the
  6236. existing one.
  6237.  
  6238. When you move elements on a layout or define new fields, you may
  6239. want to use the Partition option to make sure elements are in the
  6240. partitions you want. For example, after using the Define option to
  6241. create new fields or delete fields, you may want to print more or
  6242. fewer lines for each record. In this case you would create a new
  6243. body partition to include the number of lines that accommodate the
  6244. changes to your fields.
  6245.  
  6246. When you use the Height Variable option (a sub-option of the
  6247. Reshape option of the Layout screen) to remove empty space from a
  6248. field, any empty lines left between fields are placed at the end of
  6249. each record when printed, in order for each record to take up the
  6250. same amount of space. You can use the Variable Height option (a
  6251. sub-option of the Create Partition option of the Partitions screen)
  6252. to create variable height partitions that will remove these empty
  6253. lines at the end of records. To make a fixed height partition a
  6254. variable one, or vice versa, recreate the partition you want to
  6255. change, then select Variable Height.
  6256.  
  6257. Note: If you want to include a blank lone between each record while
  6258. using the Variable Height option, include an extra line at the end
  6259. of the partition, then type a space character on that line. If no
  6260. characters are typed on an empty line at the end of a Variable
  6261. Height partition, the line will not be printed.
  6262.  
  6263. To create a partition:
  6264.  
  6265. 1. Select Partition from the Layout screen. Nutshell displays the
  6266. Partition screen, which labels each line of the layout with the
  6267. type of partition currently specified for the line.
  6268.  
  6269. Note: To view other parts of the layout on the Partition screen,
  6270. use the cursor movement keys by themselves or in combination with
  6271. the Carl key.
  6272.  
  6273. 2. Move the cursor to the first line you want to include in the
  6274. partition, then select Create Partition. Nutshell marks the line
  6275. that contains the cursor with a solid bright background.
  6276.  
  6277. 3. Move the cursor to the last line you want to include in the
  6278. partition, then press return. Nutshell extends the solid bright
  6279. background to mark all of the lines to be included in the
  6280. partition, and displays a menu of all the partition types.
  6281.  
  6282. 4. Select the type of partition from the menu. If you select
  6283. Header, Body, Grand Summary, or Footer, Nutshell creates the
  6284. partition comprising the lines you indicated, and displays the type
  6285. of partition next to each line.
  6286.  
  6287. If the partition is a sub-summary partition, Nutshell displays a
  6288. list of the defined fields in your current file. If the field you
  6289. want to sort by is in the current file, select the text, number,
  6290. date, or calculation field by which you will sort records to create
  6291. the sub-summary groupings.
  6292.  
  6293. If the field you want to sort by is in a look up file, select Look
  6294. up. Nutshell first asks you to select the link you want, then
  6295. displays the list of fields in the look up file. Select the text,
  6296. number, date, or calculation field from the hookup file by which
  6297. you will sort records to create the sub-summary groupings.
  6298.  
  6299. 5. If you want empty lines removed from the end of the partition
  6300. when records are printed, select Variable Height. Nutshell marks
  6301. the variable height partition with vertical double-arrows.
  6302.  
  6303. To specify that a parathion show be printed with fixed height,
  6304. select Fixed Height. If the partition was previously defined as a
  6305. variable height partition, Nutshell removes the double arrow from
  6306. the edge of the partition screen to show that the partition is now
  6307. fixed height. (The double arrows are never printed - they are only
  6308. visual cues on the Partition screen.)
  6309.  
  6310. Note: If the new partition replaces one that was on the layout and
  6311. occupies different lines, the lines in the OW partition are not now
  6312. partitioned and the label for the type of partition next to each
  6313. line is now empty. Elements that are not in a partition are
  6314. displayed but not printed. If you want to print the elements,
  6315. create a new partition for these lines, or move the elements into
  6316. an existing partition.
  6317.  
  6318. When you delete a partition, any elements in the partition remain
  6319. on the layout and they are still displayed, but they are not
  6320. printed.
  6321.  
  6322. Delete a partition when a is no longer needed on the layout, or
  6323. when you want to omit the contents of the partition from a printed
  6324. report. For example, you may want to name your layouts to identify
  6325. the purpose of each, such as Data Entry Layout, Mailing Label
  6326. Layout, and so on. If you delete the partition for the line the
  6327. name is on, R will be displayed but not printed.
  6328.  
  6329. To delete a partition:
  6330.  
  6331. 1. Move the cursor to any line on the layout that is within the
  6332. partition you want to delete, then select Delete Partition.
  6333. Nutshell marks the partition with a solid bright background.
  6334.  
  6335. 2. Press return to confirm the deletion. Nutshell deletes the
  6336. partition and removes the label for the type of partition next to
  6337. each line. Elements that were in the partition will not be printed
  6338. until you create a new partition or move the elements into another
  6339. partition.
  6340.  
  6341. Each line that is partitioned on your layout corresponds to a line
  6342. on the printed page. It no partition is specified for a given line
  6343. or lines, Nutshell ignores those lines when printing records.
  6344. Unpartitioned lines can be used for instructions, notes, or other
  6345. information that you want to display on the screen, but omit from
  6346. the printed page.
  6347.  
  6348. Nutshell prints partitioned elements in the following order on the
  6349. page:
  6350.  
  6351. Header
  6352.  
  6353. Grand summary, if specified above the body parathion
  6354.  
  6355. Sub-summaries specified above the body partition
  6356.  
  6357. Body, repeated as many times as will fit on the page between the 
  6358.  
  6359. header and footer and any grand summaries or sub-summaries
  6360.  
  6361. Sub-summaries specified below the body partition
  6362.  
  6363. Grand summary, H specified below the body partition
  6364.  
  6365. Footer
  6366.  
  6367. You can cause any partition to begin printing on a new page by
  6368. typing Ctrl-L on the line of the partition where you want the page
  6369. break to occur. Nutshell marks this position with a page break
  6370. character.
  6371.  
  6372. By selecting Fixed Height you can specify that you want any
  6373. partition on your layout to be printed exactly as it appears on the
  6374. Partition screen, including all empty lines at the end of the
  6375. partition. When you use Fixed Height partitions, each record will
  6376. take up the same amount of space when printed, regardless of the
  6377. number of empty lines in each record. A fixed partition size is
  6378. needed for printing certain materials such as mailing labels and
  6379. continuous forms, where the distance from the top of one label or
  6380. form to the top of the next remains constant.
  6381.  
  6382. If you do not want to print empty lines at the end of a partition,
  6383. select Variable Height. Variable height partitions let you
  6384. eliminate unwanted empty space between records, and so help to
  6385. conserve paper, since any empty lines in a record will be removed
  6386. before the records are printed.
  6387.  
  6388. Note: The Variable Height option on the Partition screen is
  6389. different from the Height Variable option on the Layout screen. The
  6390. size of partitions is not changed by specifying Height Variable for
  6391. fields in the partitions (using the Reshape option on the Layout
  6392. screen). The Height Variable option on the Layout screen removes
  6393. empty lines at the end of I'll. not partitions. In order to remove
  6394. empty space from the end of partitions, use the Variable Height
  6395. option on the Partition screen.
  6396.  
  6397. Partitions remain as you set them until you delete them or create
  6398. new ones. Using the Move option to move elements on a layout does
  6399. not change the partitions. As you move elements on a layout, or
  6400. create new partitions, check to make sure that any text fields
  6401. containing more than one line are not straddling partition
  6402. boundaries. All the lines of a text field must be contained in one
  6403. partition for the field to be printed properly.
  6404.  
  6405. To find out exactly how partitions will be printed on a page, you
  6406. can print one page as a sample, or you can print to your screen
  6407. using the CON: setting. By printing a sample page, you can see
  6408. whether you need to adjust the layout by changing the size of
  6409. partitions, moving elements into different partitions, changing the
  6410. location of a page break character, and so on. For details on the
  6411. printing process, see the chapter Printing Information.
  6412.  
  6413. You can work with a group of records in your file rather than the
  6414. entire file by using the Find option. When you find records that
  6415. match your criteria, you can browse, modify, sort, output, or
  6416. remove just the found records, leaving the other records in the
  6417. file intact. Nutshell displays and prints just the set of found
  6418. records until you add new records (which redisplays all the records
  6419. in the file) or use the Find option to find a different set of
  6420. records or find all the records.
  6421.  
  6422. For example, in a file for managing a seminar series, you cow find
  6423. all the seminars scheduled for a seminar leader who is no longer
  6424. available, modify the found records to include the new seminar
  6425. leader's name, sort them in order of date of seminar, and copy just
  6426. the found records to another file to give to the new seminar
  6427. leader.
  6428.  
  6429. When you're working why a set of found records, summary fields
  6430. contain a value summarizing just the found set. Continuing the
  6431. seminar series example in the previous paragraph, a summary field
  6432. that totaled registration fees would show the total fees for just
  6433. the seminars given by the new seminar leader, not all the seminars
  6434. as H wow H you were browsing all the records in the file.
  6435.  
  6436. You find records in the current file by typing criteria in text,
  6437. number, date, or calculation fields of the current file in a
  6438. pattern. (As a shortcut, you can also use the index to copy values
  6439. into fields in the pattern.) To find records in a hookup file,
  6440. first zoom to the file, select Find, then type your criteria in the
  6441. pattern. A find pattern can be one page of criteria, or be made up
  6442. of several pages. Each page of the find pattern comprises a
  6443. separate set of criteria. A page resembles an empty record in the
  6444. current layout.
  6445.  
  6446. Nutshell saves all the pages of the pattern you use to find a group
  6447. of records until you change the criteria or clear the pattern. So
  6448. if you work with the same subset of your file frequently, you don't
  6449. have to retype the criteria you use to find the records.
  6450.  
  6451. Note: The layout you use to find records must contain all of the
  6452. fields in the current file for which you want to specify criteria
  6453. and find values. If you switch to a different layout after
  6454. specifying a find pattern, Nutshell erases from the pattern any
  6455. fields containing criteria that are not on the current layout. This
  6456. is to prevent you from inadvertently finding records that match
  6457. criteria you can't see or change. You can find records using one
  6458. layout, then switch to another layout for browsing, printing, or
  6459. other tasks. However, if you want to find the same set of records
  6460. again, you will need to respecify the find criteria for the fields
  6461. that were not on the second layout.
  6462.  
  6463. Because Nutshell automatically indexes the values in text, number,
  6464. date, and calculation fields in your records, you can find the
  6465. records in the current file that contain any value by typing
  6466. criteria in the corresponding field in a find pattern. For example,
  6467. you could find records for all the seminars to be held in San Diego
  6468. by typing San Diego in the City field in the pattern.
  6469.  
  6470. By typing symbols in addition to values in a pattern, you can find
  6471. records containing values that exactly match (=) a value, are
  6472. greater than or equal to (>=) a value, are less than or equal to a
  6473. value (<=), are greater than (>) a value, are less than (<) a
  6474. value, or match a range of specified values (...). By typing only
  6475. (=) with no other value you can find empty fields, those containing
  6476. no value,. By typing (<>) before the value you can find fields that
  6477. do not match.
  6478.  
  6479. You can also ask Nutshell to find records that match several
  6480. criteria at once; for example, you could find only those seminars
  6481. in a given city that are scheduled on or after a particular date
  6482. and have a registration fee of no more than a certain figure. When
  6483. you type values in several fields on a page in a pattern, Nutshell
  6484. finds records that contain matching values in all the corresponding
  6485. fields.
  6486.  
  6487. By adding pages to a find pattern, you can find records that match
  6488. either one set of criteria (on one page of the pattern), or another
  6489. set (specified on another page of the pattern). For example, you
  6490. could find seminars on ether management practices or budgetary
  6491. analysis.
  6492.  
  6493. This section first outlines the general steps for finding records,
  6494. then provides details on all the different criteria you can
  6495. specify. A table at the end of the section summarizes the use of
  6496. the criteria for each field type.
  6497.  
  6498. To find records:
  6499.  
  6500. 1. Make sure the current layout contains all the fields for which
  6501. you want to find values. If necessary, select Layout from the
  6502. Browse screen and press Pup or PgDn to display the layout you want.
  6503.  
  6504. 2. From the Browse screen, select Find. Nutshell displays the Find
  6505. screen with an empty pattern in the current layout.
  6506.  
  6507. 3. Type values in text, number, date, and calculation fields in the
  6508. pattern according to what you want to find in corresponding fields
  6509. in your records. (In a date fiend, or in a calculation field way a
  6510. date results, type the date as digits separated by a non-numeric
  6511. character, the same as you do when adding records.)
  6512.  
  6513. Note: Instead of typing criteria In look up yields to find values
  6514. in look up files, zoom to the look up file, select Find, then type
  6515. your criteria in the pattern.
  6516.  
  6517. To view or copy values from the index that Nutshell maintains for
  6518. each fiend, select Show Index. The index works the same way for
  6519. finding records as for adding or modifying records. You can also
  6520. use Show Index to display the name of the field. For details, see
  6521. the section Using the Index in the earlier chapter Adding, Editing,
  6522. and Deleting Information.
  6523.  
  6524. Note: If a field is too small to hold the necessary criteria, use
  6525. the Reshape option on the layout to enlarge the field.
  6526.  
  6527. 4. To find the records that match the criteria, press F10 or the +
  6528. (plus) key in the numeric keypad. Nutshell displays the Browse
  6529. screen at the first found record, and shows the number of found
  6530. records on the top line of the screen. These are the records you
  6531. can browse, modify, sort, output, or remove until you add a new
  6532. record, find a different set of records, or find all the records.
  6533. If no records match the find pattern,
  6534.  
  6535. Nutshell displays the Browse screen and indicates that no records
  6536. were found.
  6537.  
  6538. To return to browsing all the records In the file:
  6539.  
  6540. 1. From the Find screen select Find All. Nutshell displays the
  6541. Browse screen at the last record you displayed. You can now work
  6542. with all the records in the file. The records are in the order in
  6543. which you originally added them.
  6544.  
  6545. Note: When you add new records to a file, Nutshell in effect
  6546. selects Find All for you in order to add the records; that way,
  6547. there~s no confusion about whether the new records belong to the
  6548. set of found records. Because Nutshell saves your find pattern, you
  6549. can easily find the correct set of records by selecting Find and
  6550. pressing F10.
  6551.  
  6552. Finding a Range of Values
  6553.  
  6554. To find records containing a range of values in a given field, type
  6555. an ellipsis (three periods (...)) between the first value and the
  6556. last value in the field in the find pattern. When you type a range,
  6557. Nutshell finds records containing the first value, all the
  6558. intervening values, and the last value (an inclusive range).
  6559.  
  6560. In a text field, you can find a range of alphabetical values. For
  6561. example, to split an over-enrolled seminar into two groups, you
  6562. could find registrants whose last names begin why A through L by
  6563. typing A . . . L in the Last Name field.
  6564.  
  6565. In a number field or in a calculation field with a number result,
  6566. you can find a range of numerical values. For example, you could
  6567. find seminars with registration fees in the $200 to $400 range by
  6568. typing 200 . . . 400 in the Registration Fee field.
  6569.  
  6570. In a date field or in a calculation field with a date result, you
  6571. can find a range of chronological values. For example, you could
  6572. find all the seminars being given from June 1 through July 31 by
  6573. typing 6 /1/ 9 0 . . . 7 / 31/ 9 0 in the Date field.
  6574.  
  6575. In a time field or in a calculation field with a time result, you
  6576. can find a range of chronological values. For example, you could
  6577. find all the seminars being held from 10AM through 2PM by typing
  6578. 10:00am. . . 2:00PM in the Time field.
  6579.  
  6580. Finding Values Greater Than or Less Than a Given Value
  6581.  
  6582. By typing a >= (greater than or equal to) symbol directly in front
  6583. of a value in a pattern, you can find records containing values in
  6584. the corresponding field that match or are alphabetically After,
  6585. numerically greater, or chronologically later than the value you
  6586. type in the pattern. Conversely, you can precede the value in the
  6587. pattern with a <= (less than or equal to) symbol to find values
  6588. that match or are alphabetically before, numerically smaller, or
  6589. chronologically earlier than the value you type.
  6590.  
  6591. By typing a > (greater than) symbol in front of a value in a
  6592. pattern, you can find records containing values in the
  6593. corresponding field that are alphabetically after, numerically
  6594. greater, or chronologically later than the value you type in the
  6595. pattern. And conversely, you can precede the value in the pattern
  6596. with a ~ (less than) symbol to find values that are alphabetically
  6597. before, numerically smaller, or chronologically earlier than the
  6598. value you type.
  6599.  
  6600. For example, If you need 14 people to make it feasible to put on a
  6601. seminar, you could type <14 in the Number Registered field to find
  6602. seminars that are currently under enrolled.
  6603.  
  6604.  Finding Empty Fields or Fields Not Equal to a Given Value
  6605.  
  6606. By typing an = (equal ) symbol with no value following it, you can
  6607. find records containing no values in the corresponding field in the
  6608. pattern. Also, you can precede the value in the pattern with a <>
  6609. (less than and greater than) symbol to find values that do not
  6610. match the value you type.
  6611.  
  6612. For example, if you wished to find anyone not registered for a
  6613. seminar you would enter = with no value in the seminar field. To
  6614. find everyone not attending seminar 14 you would enter <>14 . To
  6615. find everyone who has registered for a seminar you could enter <>=
  6616. which effectively excludes empty fields.
  6617.  
  6618. Additional Criteria for Finding Values in Text Fields
  6619.  
  6620. Each text fiend can how many values (words), unlike other field
  6621. types which can each hold one value per fiend. Nutshell provides
  6622. some additional criteria to make it easy to find exactly what you
  6623. want to find in text fields in your records. You can find records
  6624. with text fiends containing values that:
  6625.  
  6626. Match or begin with the word or partial word you type in the
  6627. pattern.
  6628.  
  6629. Exactly match the word or partial word you type in the pattern.
  6630.  
  6631. Match or begin with all the words or partial words you type in the
  6632. field in the pattern.
  6633.  
  6634. When you type a value in a text fiend in a pattern, Nutshell finds
  6635. records with values that match or begin with what you typed. For
  6636. example, H you type D in the City field, Nutshell will find records
  6637. for seminars being held in Dallas, Denver, and San Diego. This
  6638. means that you can type just the first few letters of a long name
  6639. or a word that is difficult to spell. It's also convenient if you
  6640. need to find all attenders within a certain telephone area code, or
  6641. seminars that begin with a certain letter code.
  6642.  
  6643. To find records with values that exactly match what you type in a
  6644. text field in the pattern, precede the value with an = (equal)
  6645. sign. For example, H you type =10 in the Title field, Nutshell will
  6646. find only the record for the seminar titled ~10 Ways to Beat Your
  6647. Competitors," not the seminar titled PA Critical Look at Fortune
  6648. 100 Companies in 1986.~ Type an equal sign before each word that
  6649. you want Nutshell to exactly match.
  6650.  
  6651. If you type more than one word in a text field, Nutshell finds
  6652. records that contain all the words in the corresponding field. For
  6653. example, H you type both Manage and Business in the Description
  6654. field, Nutshell will find seminars with descriptions such as
  6655. ~Business management for entrepreneurs~ and a How to manage without
  6656. a business school background," but not business outlook in 1986" or
  6657. debunking myths of management science."
  6658.  
  6659. Note: Nutshell Ignores capitalization to find values in text
  6660. fields, so you can be sure you're finding all the records that
  6661. contain a given word regardless of whether you originally typed it
  6662. using all upper-case letters, mixed case, or all lower-case.
  6663.  
  6664. Adding Sets of Criteria
  6665.  
  6666. By adding pages to a find pattern, you can find records that match
  6667. any one of a number of sets of criteria. Each page of the pattern
  6668. resembles a new empty record; you can type values in any text,
  6669. number, date, or calculation field on any page. For example, you
  6670. could find all the seminars being given in San Francisco Q~ New
  6671. York by typing San Francisco in the City field on the first page of
  6672. a pattern, and New York in the Cry field on the second page. (If
  6673. you had typed both San Francisco and New York in the City flew on
  6674. one page of the pattern, Nutshell would find only seminars being
  6675. given in both Francisco and New York.)
  6676.  
  6677. To add a set of criteria:
  6678.  
  6679. 1. After typing values in the first page of the find pattern on the
  6680. Find screen, select Also Find. Nutshell displays a new page of the
  6681. pattern on the Also Find screen.
  6682.  
  6683. 2. Type criteria in fields on the new page.
  6684.  
  6685. 3. Repeat steps 1 and 2 to add as many additional sets of criteria
  6686. as necessary. Use the Pup and PgDn keys to redisplay the other
  6687. pages of the pattern.
  6688.  
  6689. 4. When you are ready to have Nutshell find records that match
  6690. criteria on any of the pages in the pattern, press F10 or the +
  6691. (plus) key in the numeric keypad.
  6692.  
  6693. Finding Records That Don't Match Validation Criteria
  6694.  
  6695. Sometimes it's more convenient to defer correcting values that
  6696. don't meet validation criteria you have defined than to correct
  6697. each one as you add records. The Invalid Records option lets you
  6698. find all these renegade records at once in order to correct or
  6699. delete them.
  6700.  
  6701. You can also use the Invalid Records option after adding or
  6702. changing validation criteria, to find records that no longer match
  6703. the criteria.
  6704.  
  6705. To find records that don't match the valldatlon criteria:
  6706.  
  6707. 1. From ether the Find or the Also Find screen, select Invalid
  6708. Records. Nutshell displays the Browse screen with the number of
  6709. found records. (Any criteria you typed in the find pattern are not
  6710. used in finding the invalid records, but are saved so you can use
  6711. them the next time you select the Find option.)
  6712.  
  6713. 2. To see which fields on the current layout contain invalid
  6714. values, select Modify. Nutshell marks the invalid fields with a
  6715. solid bright background. For details on modifying records, see the
  6716. section Changing the Information in a Record in the earlier chapter
  6717. Adding, Editing, and Deleting Information.
  6718.  
  6719. To find records containing Invalid date or time fields:
  6720.  
  6721. Date and /or time fields can sometimes contain invalid data without
  6722. any validation criteria having been specified for them.
  6723.  
  6724. 1. If data containing invalid formats for ether date or time is
  6725. imported into those fields then the resulting date or time will be
  6726. invalid.
  6727.  
  6728. 2. Also calculations which produce a date or time result which
  6729. falls outside the valid range for date or time fields .
  6730.  
  6731. 3. On either the Find or the Also Find screen, enter ox/ox/oooo to
  6732. bate invalid dates, or 24:00:00 to locate invalid times in the
  6733. appropriate fields
  6734.  
  6735. Nutshell saves the criteria you specify on all the pages of your
  6736. find pattern so that you can repeatedly find records without
  6737. retyping the criteria. You can modify the criteria at any time or
  6738. erase them and start over.
  6739.  
  6740. Edit the criteria in fields in the same manner that you edit field
  6741. contents in records, then press F10 or the + (plus) key in the
  6742. numeric keypad to find records that match the edited criteria.
  6743.  
  6744. You can erase pages of your find pattern one page at a time, or you
  6745. can erase all the pages at once. Select One Page to erase pages of
  6746. your find pattern one page at a time. For example, to respecify a
  6747. set of criteria or to eliminate an obsolete set of criteria, select
  6748. ALL Pages to erase all the pages of your find pattern.
  6749.  
  6750. To erase one pave of the find pattern:
  6751.  
  6752. 1. Display the page you want to delete by using the Pup or PgDn
  6753. key.
  6754.  
  6755. 2. Select Clear.
  6756.  
  6757. 3. Select One Page. Nutshell erases the displayed page from the
  6758. pattern.
  6759.  
  6760. To erase all paves of the find pattern:
  6761.  
  6762. 1. Display any page of your find pattern.
  6763.  
  6764. 2. Select Clear.
  6765.  
  6766. 3. Select ALL Pages. Nutshell deletes all the pages of the find
  6767. pattern.
  6768.  
  6769. Records in your file are stored in the order in which you add them.
  6770. By using the Sort option, you can temporarily change the order of
  6771. either a set of found records or the entire tile while you browse,
  6772. modify, or print records. For example, you might want to sort
  6773. customer records by Zip code in order to print mailing labels for
  6774. a presorted bulk mailing. The records remain in the sorted order
  6775. until you add new records or find records. To permanently change
  6776. the order of records, you can copy the sorted records to another
  6777. file. For details see the chapter Copying Information To and From
  6778. Other Files.
  6779.  
  6780. You sort records by specifying a sort order, which is a list of
  6781. text, number, date, time, or calculation fields. Nutshell sorts
  6782. records by the first sort field, then uses any additional sort
  6783. fields to sort duplicate values. For example, a file for managing
  6784. a membership list might use a sort order of Last Name (the first
  6785. sort field), and First Name (the second sort flew). Nutshell would
  6786. sort all the Smiths together, then put the members with a last name
  6787. of Smith in order by First Name. You can have as many fields in the
  6788. sort order as you need to sort duplicate values.
  6789.  
  6790. For each field in the sort order, you specify whether Nutshell
  6791. should sort values in the field in ascending order or descending
  6792. order. Ascending order means alphabetical order for a text field,
  6793. smallest-to- largest numerical order for a number field or a
  6794. calculation field with a number result, and chronological order for
  6795. a date or time field or a calculation field with a date or time
  6796. result. Descending order means the reverse of ascending order. For
  6797. example, you might want to sort sales figures in descending order
  6798. so you can readily see which products garnered the most revenue per
  6799. sale.
  6800.  
  6801. NOTE Nutshell Plus II sorts based upon the ASCII collating sequence
  6802. for text fields except that accented characters as used in many
  6803. non-English languages will be sorted as though they did not have an
  6804. accent mark, in the case of the Gem man umlaut characters they will
  6805. be sorted as though a two character pair in which the second
  6806. character is the letter 'e'
  6807.  
  6808. Nutshell saves the sort order you specify, so you can quickly sort
  6809. the file again by the same fields after finding or adding records.
  6810. You can also change the sort order at any time.
  6811.  
  6812. If you want to browse or print sub-summary information, you need to
  6813. include in the sort order the fields that you specified when you
  6814. created each sub-summary partition on the layout. For information
  6815. on sub-summary partitions see the earlier chapter Adding Power to
  6816. Reports. Nutshell
  6817.  
  6818. Sorting Information
  6819.  
  6820. displays and prints a value for summary fields in sub- summary
  6821. partitions only when the records are properly sorted. For example,
  6822. you might sort a membership list by the Type of Membership field in
  6823. order to view subtotals of membership dues paid by each type (such
  6824. as Individual, Family, Sustaining, Corporate, etc.). To do this,
  6825. you would create a sub-summary partition for the sort field Type of
  6826. Membership. Then you would place the summary field Total Dues in
  6827. the sub-summary partition. Sorting the records by Type of
  6828. Membership would group all the members with each type of membership
  6829. together. Then, Nutshell would display and print the Total Dues
  6830. paid by each group.
  6831.  
  6832. If your file has links to look up files, you can use fields from
  6833. one of the look up files in the sort order. For example, you might
  6834. keep sales records in one file, and sales personnel records in
  6835. another file, using the salespersons' social security numbers to
  6836. link the files. If you wanted to create a report that sorted sales
  6837. records alphabetically by salesperson, you could use the fields
  6838. Last Name and First Name from the look up file to sort records in
  6839. the sales file by name. This is particularly useful when you want
  6840. to summarize data that's sorted by a field in a look up file (see
  6841. the Sub summary section in the earlier chapter Adding Power to
  6842. Reports for further information) .
  6843.  
  6844. You can specify a new sort order whenever you need to see records
  6845. in a different sequence. To sort a set of found records, first use
  6846. the Find option to isolate the records. For details on finding
  6847. records see the previous chapter Finding Information.
  6848.  
  6849. To create a new sort order:
  6850.  
  6851. 1. From the Browse screen, select Sort. If you have not previously
  6852. specified a sort order, Nutshell displays the Sort screen with an
  6853. empty sort order at the top of the screen and a list of all the
  6854. defined fields of your current file at the bottom of the screen.
  6855.  
  6856. If you have previously specified a sort order, Nutshell displays it
  6857. at the top of the screen. To replace the current sort order with a
  6858. new sort order, select New Order. Nutshell clears the current sort
  6859. order and displays a list of all the defined fields of your current
  6860. file at the bottom of the screen.
  6861.  
  6862. 2. Move the cursor to the text, number, date, time or calculation
  6863. field you want Nutshell to use first in sorting records, then press
  6864. return. In the sort order Nutshell lists the field you selected,
  6865. and asks you to specify ascending or descending order.
  6866.  
  6867. or
  6868.  
  6869. To add a look up field to the sort order, do the following:
  6870.  
  6871. Select Look up. Nutshell asks you to specify which link you want to
  6872. use. After you select the link you want, Nutshell displays a list
  6873. of fields in the look up file.
  6874.  
  6875. Move the cursor to the look up field you want to use in sorting
  6876. records, then press return. In the sort order Nutshell lists the
  6877. look up filename and field you selected, and asks you to specify
  6878. ascending or descending order.
  6879.  
  6880. To display the list of fields in the base file, select Return to
  6881. Base File. Nutshell redisplays the list of fields in the base file.
  6882.  
  6883. 3. Select either Ascending Order or Descending Order for the sort
  6884. field. Nutshell displays arrows in front of the sort fields to
  6885. indicate ascending or descending  order.
  6886.  
  6887. 4. If you need additional sort fields to sequence duplicate values
  6888. or to display sub-summary information, select the next sort field,
  6889. then select Ascending Order or Descending Order. Continue
  6890. identifying sort fields in this manner for as many sort fields as
  6891. you need.
  6892.  
  6893. 5. When you have finished selecting sort fields, press Esc.
  6894. Nutshell displays the Sort screen menu.
  6895.  
  6896. Once you've specified a sort order, you can sort records, or you
  6897. can return to the Browse screen without sorting your records.
  6898.  
  6899. To sort records according to the current sort order:
  6900.  
  6901. 1. From the Sort screen select Start Sorting. Nutshell sorts the
  6902. records and displays the Browse screen at the first record in the
  6903. sorted order.
  6904.  
  6905.  or
  6906.  
  6907. To display the Browse screen without sorting records, press Esc.
  6908.  
  6909. Repeating a Sort
  6910.  
  6911. Because Nutshell saves the sort order you specify, you can quickly
  6912. sort records again after finding or adding records.
  6913.  
  6914. To sort records according to the current sort order:
  6915.  
  6916. 1. From the Browse screen, select Sort. Nutshell displays the
  6917. current sort order.
  6918.  
  6919. 2. Select Start Sorting. Nutshell sorts the records and displays
  6920. the Browse screen at the first record in the sorted order.
  6921.  
  6922. Changing the Sort Order
  6923.  
  6924. You can change any aspect of the sort order at any time.
  6925.  
  6926. To modify the sort order:
  6927.  
  6928. 1. From the Browse screen, select Sort. Nutshell displays the
  6929. current sort order.
  6930.  
  6931. 2. Select Modify Order. Nutshell displays a menu of options.
  6932.  
  6933. 3. You can now add a new field to the sort order, move a field to
  6934. a new position in the sort order, remove a file from the sort
  6935. order, or change the sorting direction (ascending or descending) of
  6936. a field.
  6937.  
  6938. To add a field to the sort order: select Add. Nutshell displays a
  6939. list of all the defined fields in the file last used to include
  6940. fields in the sort order. AL as many new sort fields as you want,
  6941. following the instructions given in the earlier section Creating a
  6942. New Sort Order. When you have finished adding new sort fields,
  6943. press Esc.
  6944.  
  6945. To move a field to a new position In the sort order: move the
  6946. cursor to the sort field you want to move. Select Move. Then move
  6947. the cursor to the place in the sort order where you want to move
  6948. the sort field, and press return. Nutshell moves the sort field to
  6949. the new position.
  6950.  
  6951. To remove a field from the sort order: move the cursor to the sort
  6952. field you want to remove. Select Remove. Nutshell deletes the field
  6953. from the sort order.
  6954.  
  6955. To change the sorting direction of a sort field: move the cursor to
  6956. the sort field whose direction (ascending or descending) you want
  6957. to change. Select Change Direction. Nutshell changes the direction
  6958. of the sort order, as indicated by the arrow's change of direction.
  6959.  
  6960. 4. When you have finished modifying the sort order, press Esc to
  6961. display the Sort screen.
  6962.  
  6963. 5. To sort the records, select Start Sorting. Nutshell sorts the
  6964. records and displays the Browse screen at the first record in the
  6965. sorted order.
  6966.  
  6967. To display the Browse screen without sorting records, press Esc.
  6968.  
  6969. Returning Records to Their Original Order
  6970.  
  6971. Nutshell returns records to their original order, the order in
  6972. which you added them, when you Finn records or add new records. You
  6973. can also use the Sort option to unsort the records.
  6974.  
  6975. To return records to their original order:
  6976.  
  6977. 1. From the Browse screen, select Sort.
  6978.  
  6979. 2. Select Unsort. Nutshell displays the Browse screen at the first
  6980. record, why records restored to the order in which you added them.
  6981. Your current sort order is saved in case you want to use it again
  6982. later.
  6983.  
  6984. Nutshell's Layout, Find, Sort, and Print Records options work
  6985. together to let you print any group of records in formats as
  6986. diverse as columnar or freeform reports, pre-printed forms, mailing
  6987. labels, form letters, lists, tables, or catalogs.
  6988.  
  6989. The uses of the Layout, Find, Sort, and Print Records options for
  6990. printing information are summarized below.
  6991.  
  6992. Layout
  6993.  
  6994. To determine which fields, from both current and look up files, you
  6995. want printed.
  6996.  
  6997. To arrange material to fit the page size you will print on,
  6998. determining the right and left margins of the page by confining
  6999. material within the appropriate character positions.
  7000.  
  7001. To highlight information to be printed in underline, bold, or
  7002. underline bold characters.
  7003.  
  7004. To eliminate spaces at the end of printed fields by making them
  7005. variable height or width, and at the end of partitions by making
  7006. them variable height.
  7007.  
  7008. To use partitions to determine where information is printed on the
  7009. page, which lines of the layout are printed, and where page
  7010. numbers, date, time, and page breaks are placed. Sub-summary and
  7011. summary information can also be controlled. Nutshell prints a
  7012. header and footer of six empty lines each on every page unless you
  7013. use the Partition option to change the header and footer
  7014. partitions.
  7015.  
  7016. To format fields to print left or right-justified, or centered, to
  7017. print numbers with dollar signs, commas, and a fixed number of
  7018. decimal digits, and to print dates in various date styles.
  7019.  
  7020. find: to find the records needed for printing a particular report,
  7021. form letter, set of mailing labels, or other material.
  7022.  
  7023. Sort: To put the records in the order you want to see them for a
  7024. particular printing, and to include sub summary information in a
  7025. printed report, letter, table, or other printed matter.
  7026.  
  7027. Print Records
  7028.  
  7029. To specify settings for the printer device name and model,
  7030. character spacing, line spacing, paper length, and continuous or
  7031. single sheet paper.
  7032.  
  7033. To specify settings for printing mailing labels including number of
  7034. labels across the page and label width.
  7035.  
  7036. To check the alignment of the layout on the page.
  7037.  
  7038. To print records on an attached serial or parallel printer, to send
  7039. information to a file to be printed from DOS, or to send
  7040. information to your screen by printing to CON: .
  7041.  
  7042. To print beginning at a particular record or starting with a
  7043. particular page number.
  7044.  
  7045. If you need instructions on using the Layout, Find, or Sort
  7046. options, see the chapters Changing the Visual Presentation, Adding
  7047. Power to Reports, Finding Information, or Sorting Information.
  7048.  
  7049. When you're ready to print information, you can send it directly to
  7050. a printer, send it directly to your screen, or store it in a print
  7051. file (a file that contains all the information you want to print,
  7052. plus settings for the printer). If you store the information in a
  7053. file, you can use the DOS PRINT command to print the file, as
  7054. explained in your DOS manual.
  7055.  
  7056. Whenever you print using a layout that displays fields from look up
  7057. files, the information in the look up fields and any layout text
  7058. associated with it are also printed. Nutshell uses the current
  7059. values in lookup fields. Calculation fields that use fields in look
  7060. up files in the calculation formula are not recalculated
  7061. automatically when you print; if you want to recalculate this type
  7062. of calculation field before you print, use the Modify option of the
  7063. Browse screen to retype data in a trigger field, or modify the
  7064. formula on the Define screen. For more information about
  7065. calculation fields that use information in related files, see the
  7066. section Defining Fields in the earlier chapter Designing Files.
  7067.  
  7068. You print records by specifying a number of settings such as your
  7069. printer model, the character and line spacing you prefer, the
  7070. length of the paper you will be using, and so on. Nutshell stores
  7071. these printing specifications with the layout you use to print
  7072. records, so each layout can have different settings. This section
  7073. explains the settings in the order that they appear on the Print
  7074. Records screen, so you can understand all the choices available
  7075. before printing. The next section, Printing Records, gives the
  7076. steps to take when you're ready to print.
  7077.  
  7078. Destination
  7079.  
  7080. You can specify either the device name assigned to your printer or
  7081. your screen, or a filename for the Destination setting. You can
  7082. type using either upper or lower case letters.
  7083.  
  7084. To print to a parallel printer, type LPTl :, LPT2 :, or LPT3 :, as
  7085. appropriate to your system configuration.
  7086.  
  7087. To print to a serial printer, type COM1: or COM2 :, as appropriate.
  7088.  
  7089. To print to your screen, type CON: .
  7090.  
  7091. To create a print file, type a legal DOS filename, using Show Files
  7092. if necessary to change the drive, extension, or path. Remember that
  7093. when you change either the drive or the path, you change the
  7094. current drive or directory that Nutshell uses to look for files and
  7095. store information. (For details on legal filenames, consult your
  7096. DOS manual. For instructions on using Show Files, see the section
  7097. Creating a New File in the chapter Opening and Closing a File.)
  7098.  
  7099. Store information in a print file when you want to:
  7100.  
  7101. Prepare information to be printed but defer actual printing for
  7102. another time.
  7103.  
  7104. Copy the information onto a disk for storage or for printing on
  7105. another system.
  7106.  
  7107. Take advantage of the background printing feature of DOS so you can
  7108. continue with other work while a file is being printed.
  7109.  
  7110. Create a file that can be used by other application programs when
  7111. the format needed for the file is not one Nutshell can create
  7112. automatically. (For more information on this process, see the
  7113. section Copying To Another File in the chapter Copying Information
  7114. To and From Other Files.)
  7115.  
  7116. Printer Model
  7117.  
  7118. Nutshell has been tested with over 60 printer models in order to
  7119. allow you to select your particular model when you print
  7120. information. If your printer is not included in the list of
  7121. supported printers for the Printer Model setting, you can select a
  7122. model that is similar to yours, or select a standard printer model
  7123. (called Other) which uses the default (preset) settings in your
  7124. printer to determine Character Spacing, Line Spacing, and Paper
  7125. Length.
  7126.  
  7127. Note: When you use the Printer Model called Other, you may find
  7128. that bold or underlined text is printed twice. If this happens,
  7129. there are two ways to remedy the problem: either remove the
  7130. highlighting from the layout you are printing, or reset the DIF
  7131. switch on your printer that causes an automatic line feed with a
  7132. return character. Removing the highlighting will produce correct
  7133. printing results, but nothing will be bold or underlined. See the
  7134. section Highlighting Information in the chapter Changing the Visual
  7135. Presentation for instructions. If you don't want to remove the
  7136. highlighting, and your printer supports bold and underline,
  7137. resetting the DIF switch will produce correct printing results with
  7138. bold and underlining. See your printer manual to find out where the
  7139. DIF switch is located and how to put the switch in the off
  7140. position.
  7141.  
  7142. Character Spacing
  7143.  
  7144. Character Spacing, sometimes known as ~pitch," refers to the number
  7145. of characters per inch (cpi) printed on a line. Normal character
  7146. spacing is 10 pi. Most printers have settings for compressed, wide,
  7147. and wide compressed character spacing. Character spacing options
  7148. for Epson printers, for example, are:
  7149.  
  7150. Normal 10cpi
  7151.  
  7152. Compressed 17cp1
  7153.  
  7154. Wide 5cpi
  7155.  
  7156. Wide Compressed 8.5 pi
  7157.  
  7158. Check your printer manual to see the character spacing options
  7159. available for your printer.
  7160.  
  7161. Note: To make sure your Information will fit within the width of
  7162. your paper, multiply the Character Spacing (cpi) by the paper width
  7163. (inches), to find out how many characters can be printed across the
  7164. page. Then check your layout by using the Position reading on the
  7165. top line of the screen. The number for the rightmost character
  7166. position that contains a field or layout text must be no greater
  7167. than the number of characters that can be printed across the page.
  7168. (Blank positions on either side of the layout form the left and
  7169. right margins of the page.) Variable width fields can exceed the
  7170. width of the page as long as the data contained in them does not.
  7171.  
  7172. You can select either a Normal or Dense setting for Line Spacing.
  7173. If you select Normal, Nutshell prints six lines per vertical inch.
  7174. If you select Dense, Nutshell prints eight lines per inch.
  7175.  
  7176. Paper Length
  7177.  
  7178. Paper Length is the number of lines (1-99, or 1-127 for some
  7179. printer models) that will be printed per page. If you are printing
  7180. mailing labels, the Paper Length should be the length of one sheet
  7181. of labels. You need to take Line Spacing (6 lines per inch or 8
  7182. lines per inch) into account when specifying Paper Length.
  7183. Calculate the setting with this simple formula:
  7184.  
  7185. Paper Length = Line Spacing x number of inches long
  7186.  
  7187. For example, if your Line Spacing is 6 lines per inch and your
  7188. paper is 11 inches long, Paper Length is 66.
  7189.  
  7190. Note: If your printer has a feature that makes it automatically
  7191. create a top or bottom margin, often called Skip on Pert (for
  7192. Perforation), turn this feature off when you are using Nutshell so
  7193. you can use the header and footer on the Nutshell layout to control
  7194. top and bottom margins. If you cannot turn Skip on Pert off, you'II
  7195. need to put extra empty lines at the end of your footer on the
  7196. layout in order to print the correct number of lines per page.
  7197. Usually 6 or 8 lines is enough, depending on whether your Line
  7198. Spacing is 6 lines per inch or 8 lines per inch.
  7199.  
  7200. Pause Between Pages
  7201.  
  7202. Select Yes if you are printing on single sheets; Nutshell will stop
  7203. after printing each page so you can feed a new sheet into the
  7204. printer. Press any key on the keyboard in order to continue.
  7205.  
  7206. Select No if you are printing on continuous feed (fanfold or roll)
  7207. paper. Nutshell will print the entire report without stopping.
  7208.  
  7209. Number of Labels
  7210.  
  7211. If you are printing mailing labels, type the number of labels
  7212. across (1-9) for the label stock you are using. For more about
  7213. printing mailing labels, see the section Printing Mailing Labels
  7214. later in this chapter.
  7215.  
  7216. If you are not printing mailing labels, leave this setting blank or
  7217. type 1 or 0.
  7218.  
  7219. Label Width
  7220.  
  7221. If you are printing mailing labels, type the number of characters
  7222. across (1-99) from the start of one label to the start of the next.
  7223. You can use the Number Columns option to count the number of
  7224. characters. For details, see the section Printing Mailing Labels
  7225. later in this chapter.
  7226.  
  7227. Divide Body
  7228.  
  7229. If you select No and the last body partition will not completely
  7230. fit onto a page then the page is ejected and the entire body is
  7231. printed on the following page. For small body partitions (under 6
  7232. lines) this may be desirable, but for larger sizes it may result in
  7233. too much blank space at the bottom of the page.
  7234.  
  7235. If you select Yes, then the body may be divided so that part is on
  7236. one page and the remainder on the next page. If the body partition
  7237. is physically larger than the page length, then this option is
  7238. automatically active within the body, but can still be used to
  7239. control whether each body starts on a new page or continues from
  7240. where the prior body ends.
  7241.  
  7242. Printing Records
  7243.  
  7244. Use the instructions in this section to send records to an attached
  7245. printer or to your screen, to store information in a print file, or
  7246. to set printing specifications to be used later for printing with
  7247. a given layout.
  7248.  
  7249. To print records:
  7250.  
  7251. 1. If you want to print a set of records different from those you
  7252. are browsing, use the Find option to find the records. (Refer to
  7253. the chapter Finding Information.)
  7254.  
  7255. 2. If you want the records printed in sorted order, or you want to
  7256. print information in sub-summary partitions, use the Sort option to
  7257. sort the records. (Refer to the chapter Sorting Information.)
  7258.  
  7259. 3. From the Browse screen, select Output. Nutshell displays the
  7260. Output screen with the current layout.
  7261.  
  7262. 4. If you want to print using a different layout, press Pup or PgDn
  7263. to display the layout, called the Output Layout.
  7264.  
  7265. Note: The Output Layout is used only for specifying print settings
  7266. and for printing. When you return to the Browse screen, Nutshell
  7267. displays records using the layout that was in effect before you
  7268. selected Output.
  7269.  
  7270. 5. Select Print Records. Nutshell displays the Print Records screen
  7271. with the current settings associated with the displayed layout.
  7272.  
  7273. 6. Select any of the settings to view the options or to change the
  7274. setting. You select a setting in the same way that you select an
  7275. item from a list: move the cursor to the setting you want, then
  7276. press return.
  7277.  
  7278. The available options for Character Spacing, Line Spacing, and
  7279. Paper Length may vary depending on the Printer Model you select.
  7280.  
  7281. 7. To change a setting, type the setting you want, then press
  7282. return, or select the setting from a list or menu, as appropriate.
  7283. Nutshell associates the settings with the layout you displayed on
  7284. the Output screen; each layout can have different settings.
  7285.  
  7286. 8. When the settings are as you want them, you can check the
  7287. alignment of the layout on the page by selecting Align Paper from
  7288. the menu. This feature lets you assess whether the paper needs to
  7289. be repositioned in the printer, or the layout needs to be adjusted.
  7290. Nutshell prints the header, as many bodies as will fit on one page,
  7291. and the footer, substituting periods for field contents.
  7292.  
  7293. 9. When you are ready to print records or create the print file,
  7294. select Print. As Nutshell sends records to the printer, your
  7295. screen, or the print file, the number of the record being sent is
  7296. displayed in the upper left corner of the screen. When all the
  7297. records are printed or stored, Nutshell displays the Browse screen
  7298. at the last record sent.
  7299.  
  7300. Note: You can start printing at a particular record by using the
  7301. Resume Printing option. For instructions, see the section Stopping
  7302. and Restarting the Printer at the end of this chapter.
  7303. Printing Mailing Labels
  7304.  
  7305. With Nutshell you can print mailing labels of virtually any
  7306. dimensions, up to nine across. This section describes how to use
  7307. the Number Columns option to measure your labels, set up a layout
  7308. for printing mailing labels, test the alignment, and print labels.
  7309.  
  7310. To print mailing labels, you should know how to create and work
  7311. with layouts. For review, see the chapters Changing the Visual
  7312. Presentation and Adding Power to Reports.
  7313.  
  7314. There are four main steps to preparing and printing mailing labels.
  7315. The first three steps are the main setup that you need to do only
  7316. once; the fourth step you do each time you print. You need to:
  7317.  
  7318. Calculate the correct number of lines for each label.
  7319.  
  7320. Create an empty layout with a body partition that has the correct
  7321. number of lines for each label; specify the correct print settings.
  7322.  
  7323. Include and position the fields you want to print.
  7324.  
  7325. Test the alignment of your paper by printing a test sheet; when the
  7326. alignment is correct, print your mailing labels.
  7327.  
  7328. To print mailing labels:
  7329.  
  7330. 1. Calculate the number of lines for each label.
  7331.  
  7332. On your mailing labels sheet, measure in inches the distance from
  7333. the top edge of one label to the top edge of the label directly
  7334. beneath it. Convert the measurement in inches to a measurement in
  7335. lines, based on whether you will print with a Line Spacing setting
  7336. of Normal (6 lines per inch) or Dense (8 lines per inch):
  7337.  
  7338. Number of lines = Label measurement in inches x Line Spacing
  7339. setting
  7340.  
  7341. The number of lines must be a positive whole number (no fractions).
  7342. If one Line Spacing setting yields a fractional number of lines,
  7343. substitute the other Line Spacing setting in the formula. For
  7344. example, suppose the measurement from the top edge of one label to
  7345. the top edge of the next is 1-1/8 inches (1.125 inches). Using 6
  7346. lines per inch in the formula yields 6.75 as the number of lines,
  7347. a fractional value that cannot be used. If we instead use a setting
  7348. of 8 lines per inch, the result is 9 lines, which is a whole
  7349. number.
  7350.  
  7351. You will use the result of the calculation for the number of lines
  7352. to make sure your layout for printing mailing labels will give you
  7353. the proper spacing for your label stock. The diagram below should
  7354. help make the purpose of the calculation clear.
  7355.  
  7356. 2. Create an empty layout, then specify print settings.  then
  7357. select Partition. Nutshell displays the Partitions screen with no
  7358. partitions.
  7359.  
  7360. Create a body partition of exactly the number of lines from the top
  7361. edge of one label to the top edge of the label below, as you
  7362. calculated in step 1. Then press Esc twice to return to the Browse
  7363. screen .
  7364.  
  7365. Select Output. Nutshell displays the empty Output Layout.
  7366.  
  7367. Select Print Records. Nutshell displays the Print screen with
  7368. standard settings.
  7369.  
  7370. Set the print specifications Tom all but the last two settings
  7371. (Number of Labels and Label Width) that you will use to print the
  7372. labels, based on the instructions in the previous sections
  7373. Preparing for Printing and Setting the Printing Specifications.
  7374. Make sure the Line Spacing setting is the same one you used in step
  7375. 1 to calculate the number of lines from the top edge of one label
  7376. to the top edge of the next.
  7377.  
  7378. Select Number Columns. Nutshell prints a test pattern that is the
  7379. same number of lines as the body partition on your layout, with the
  7380. Character Spacing and Line Spacing you selected. The test pattern
  7381. counts off character positions beginning at the left edge of your
  7382. layout for eight inches. Alternating lines of the test pattern
  7383. count off character position by tens.
  7384.  
  7385. Hold the test pattern up to a sheet of your mailing label stock and
  7386. use the pattern to measure the number of characters across from the
  7387. left edge of one label to the left edge of the next label. The
  7388. measurement must be a positive whole number (no fractions). If
  7389. necessary, you can select a different setting for Character
  7390. Spacing, then print a new test pattern, in order to arrive at a
  7391. whole number measurement.
  7392.  
  7393. Set the Label Width to the whole number measurement you arrived at
  7394. above. Set the Number of Labels to be printed across your label
  7395. stock.
  7396.  
  7397. Press Esc twice to return to the Browse screen.
  7398.  
  7399. 3. Include the fields and layout text you want to print.
  7400.  
  7401. Select Layout. Nutshell displays the empty layout you created for
  7402. the mailing labels.
  7403.  
  7404. Using the Include option, include and position the fields and
  7405. layout text you want to print on each label, using the two label
  7406. measurements you have made (the number of lines from top edge to
  7407. top edge, and the number of characters across from one label to the
  7408. next) as a guide for positioning. The Line and Position readings at
  7409. the top of the screen will help you as you include fields and type
  7410. any layout text in the arrangement you want. All the information
  7411. you want to print must fit within the body partition.
  7412.  
  7413. If you want Nutshell to eliminate spaces at the end of fields when
  7414. printing, use the Reshape option to specify Height Variable or
  7415. Width Variable for those fields.
  7416.  
  7417. Press Esc to return to the Browse screen.
  7418. 4. Test the alignment of your paper, and print your mailing labels.
  7419.  
  7420. From the Browse screen, select Output, then select Print Records.
  7421.  
  7422. To test the alignment of your paper, position a piece of paper the
  7423. same size as your mailing label stock in the printer, in exactly
  7424. the same place as you will position the mailing label stock. Then
  7425. select Align Paper.
  7426.  
  7427. Nutshell prints the equivalent of the first page of labels, using
  7428. periods instead of data for the field contents, to show exactly how
  7429. the labels will print. Check the page against your label sheet to
  7430. make sure you have measured and positioned information accurately.
  7431. Make any necessary adjustments to the positioning of the paper or
  7432. to the layout.
  7433.  
  7434. To print your labels, feed the label stock into the printer,
  7435. placing it in exactly the same position as the paper you used to
  7436. test the alignment. Then select Print. Nutshell prints the labels
  7437. according to the print settings you specified.
  7438.  
  7439. Note: Some DIF files contain vector labels (or field names) in the
  7440. first tuple. These are imported as data in the first record added
  7441. to the Nutshell file. You should either delete this tuple in the
  7442. DIF file before importing (using a word processor or editor), or
  7443. delete the record that contains the vector labels in Nutshell after
  7444. importing.
  7445.  
  7446. Merge
  7447.  
  7448. If you have data, such as names and addresses for a mailing list,
  7449. in a Merge Data file (used by word processing programs such as
  7450. Leading Edge Word Processing with Merge Print), you can copy it
  7451. directly into a Nutshell file in order to easily find, sort, and
  7452. print form letters, directories, mailing labels and anything else
  7453. you might need.
  7454.  
  7455. The Merge Data file must have these characteristics:
  7456.  
  7457. Fields are separated from one another by a backslash (\).
  7458.  
  7459. Each record ends with a return character.
  7460.  
  7461. If a record is too long to Fe on one line, it can be split into
  7462. multiple lines by typing an ampersand (&) at the end of each line
  7463. except the last.
  7464.  
  7465. When importing data from a Merge Data file, Nutshell omits any
  7466. ampersand immediately followed by a return character. Data imported
  7467. into text fields is word wrapped according to the size and shape of
  7468. the field on the layout.
  7469.  
  7470. dBASE III/IV
  7471.  
  7472. If you have data in a dBASE 111, dBASE 111 Plus or dBASE IV file,
  7473. you can copy it directly into a Nutshell file.
  7474.  
  7475. A dBASE III/IV data file can hold character, numeric, date logical
  7476. (true/false) and real number data. For numeric fields, the dBASE 11
  7477. /IV field definition includes the number of digits to the right of
  7478. the decimal point. For date fields the dBASE date style is
  7479. converted tO Nutshell style. Fields are fixed length, that is, a
  7480. given field is the same length in every record. Records are also
  7481. fixed length.
  7482.  
  7483. When data is imported from a file in dBASE III/IV format, the
  7484. following observations apply:
  7485.  
  7486. Numeric fields are imported with a decimal point and the specified
  7487. number of digits to the right of the decimal point.
  7488. 1
  7489.  Logical data can be imported into text fields.
  7490.  
  7491. Dates can be imported into date or text fields.
  7492.  
  7493. Blank spaces at the ends of fields are not imported.
  7494.  
  7495. dBASE III/IV memo files are not supported by this release of
  7496. Nutshell Plus.
  7497.  
  7498. dBASE IV real number fields are not supported by this release of
  7499. Nutshell Plus.
  7500.  
  7501. Note: A dBASE III/IV flue can contain deleted records. These are
  7502. ignored when importing.
  7503.  
  7504. File Maker
  7505.  
  7506. If you have data in a file created using File Maker's text file
  7507. (tab delimited) format on a Macintosh computer, you can copy it
  7508. directly into a Nutshell file. Fields are separated by tab
  7509. characters and records are delimited by a single return character
  7510.  
  7511. A File Maker data file can hold character, numeric, and date
  7512. fields. Set up the field definitions in Nutshell Plus 11 to match
  7513. the definitions and layout used in File Maker. Nutshell Plus will
  7514. preserve text, date and numeric fields as such.
  7515.  
  7516. When data is imported from a file in File Maker format, the
  7517. following observations apply:
  7518.  
  7519. Text fields are imported into text fields. Numeric fields can be
  7520. imported into numeric fields or text fields
  7521.  
  7522. Date fields can be imported into Nutshell Plus 11 date fields if
  7523. they were output using the unformatted option of File Maker.
  7524.  
  7525. Fields which included return characters can be imported into
  7526. Nutshell Plus 11 multi-line fields.
  7527.  
  7528. Note: File Maker tab delimited format is also compatible with the
  7529. text only format of MacWrlte and Microsoft Word.
  7530.  
  7531. Filemaker's Merge format is not compatible with the Nutshell Plus
  7532. 11 Merge format.
  7533.  
  7534. You can stop printing at any time and resume at the page where you
  7535. left off using the Resume Printing option, or print all the records
  7536. again from the beginning using the Print option. You can also use
  7537. the Resume Printing option whenever you want to begin printing at
  7538. a particular record or page number.
  7539.  
  7540. When you stop printing by pressing the Esc key, the printer
  7541. continues to print until it exhausts the information in the buffer,
  7542. a temporary storage area used to hold information sent from your
  7543. computer until it can be printed. Most buffers don't hold more than
  7544. a few records.
  7545.  
  7546. To stop printing:
  7547.  
  7548. 1. Press the Esc key once. The printer continues to print until it
  7549. has output all the records in its buffer.
  7550.  
  7551. 2. If you are using continuous feed paper, press the Form Feed
  7552. button (or equivalent) to advance the paper to the next "top of
  7553. form," the top of the next page.
  7554.  
  7555. If you are using single sheet paper, roll the page out of the
  7556. printer.
  7557.  
  7558. To resume printing on a particular page:
  7559.  
  7560. 1. From the Print screen, press Esc twice to return to the Browse
  7561. screen.
  7562.  
  7563. 2. Press Pup successively until the Browse screen displays the
  7564. first record on the page on which you want to resume printing.
  7565.  
  7566. 3. Select Output.
  7567.  
  7568. 4. Select Print Records.
  7569.  
  7570. 5. Make sure the printer is adjusted to print at the top of a new
  7571. page, then select Resume Printing. Nutshell prints the page on
  7572. which you stopped printing and continues to print the remainder of
  7573. the records.
  7574.  
  7575. Printing Information
  7576.  
  7577. Note: If your layout specifies automatic page numbering in the
  7578. header or footer, Nutshell will ask for the page number on which
  7579. you want to resume printing. Type the page number, then press
  7580. return. Nutshell numbers the page with the number you type, and
  7581. continues printing.
  7582.  
  7583. To start printing at a particular record:
  7584.  
  7585. 1. Find, then sort, the records if necessary.
  7586.  
  7587. 2. On the Browse screen, display the record at which you want to
  7588. start printing.
  7589.  
  7590. 3. Select Output. If necessary, display a different Output Layout
  7591. using the Pup or PgDn key.
  7592.  
  7593. 4. Select Print Records, then make sure the settings are as you
  7594. want them.
  7595.  
  7596. 5. Select Resume Printing. Nutshell begins printing records at the
  7597. record you displayed on the Browse screen.
  7598.  
  7599. You can exchange data between files created with Nutshell and those
  7600. created with other programs, so you don't have to retype
  7601. information that you already have in your computer in any of the
  7602. following file formats:
  7603.  
  7604. Nutshell
  7605. ASCII (comma delimited or BASIC)
  7606. dBASE 11
  7607. DIF (Data Interchange Format)
  7608. Merge (word processing merge data file)
  7609. dBASE 111, dBASE 111 Plus, dBASE IV
  7610. File Maker
  7611.  
  7612. When you copy data from another file into a Nutshell file (import),
  7613. the records that you import are added to the end of the open
  7614. Nutshell file. Importing makes it easy to create a Nutshell master
  7615. file. For example, you could create a master sales file from
  7616. individual Nutshell files kept by each sales representative, or
  7617. copy personnel records from files kept at each branch office in
  7618. order to print an employee directory from a master file at
  7619. headquarters. The files you copy from are not altered.
  7620.  
  7621. When you copy data from Nutshell into another file (export),
  7622. Nutshell creates a new file containing just the fields and records
  7623. you export, in the file format you select. For example, you could
  7624. export data from a Nutshell file to a file that can be opened by
  7625. your spreadsheet program, in order to use special functions to
  7626. manipulate the data. The Nutshell file you copy from is not
  7627. altered.
  7628.  
  7629. Nutshell's importing and exporting capabilities can be used in
  7630. combination to let you take best advantage of each program at your
  7631. disposal. For example, the data you export to a spreadsheet program
  7632. can later be imported into Nutshell for more flexible sorting and
  7633. reporting. You can also export to almost any word processor's mail
  7634. merge program.
  7635.  
  7636. This chapter provides instructions on both importing and exporting
  7637. data. In order to use these capabilities, you should understand how
  7638. to work with layouts, including how to create layouts, how to move,
  7639. erase, and include fields, and how to switch from one layout to
  7640. another. For instructions, see the chapters Changing the Visual
  7641. Presentation and Adding Power to Reports.
  7642.  
  7643. Copying From Another File
  7644.  
  7645. The chapter Adding, Editing, and DeleTing Information describes all
  7646. the methods of adding records to a file one at a time (by typing,
  7647. copying from the index or a list of valid values, or copying from
  7648. fields in another record using the Ditto option). You can also have
  7649. Nutshell automatically copy a group of records or all the records
  7650. from another file into the Nutshell file you are using.
  7651.  
  7652. Nutshell's Import from File option lets you copy data into text,
  7653. number, or date fields in an open Nutshell file from another file
  7654. (the source filet which contains data in any of the following
  7655. formats:
  7656.  
  7657. Nutshell
  7658. ASCII (comma delimited or BASIC)
  7659. dBASE II
  7660. DIF (Data Interchange Format)
  7661. Merge (word processing merge data file)
  7662. dBASE III, dBASE III Plus, or dBASE IV
  7663. File Maker
  7664.  
  7665. Data is not imported into calculation or summary fields, because
  7666. Nutshell calculates the values for these fields, performing H
  7667. necessary the look up process for calculation fields that use data
  7668. in look up files. Look up files must be accessible for calculations
  7669. using look up fields to be performed. If a look up file is missing,
  7670. Nutshell will ask you to specify an alternate file, or will let you
  7671. choose to ignore the missing file.
  7672.  
  7673. Data is not imported into look up fields included on the layout,
  7674. because the data in them is actually stored in another file.
  7675.  
  7676. After you import data, you can find records that don't match
  7677. validation criteria you have set in the open Nutshell file. You can
  7678. also use the Find option to find data imported into fields when the
  7679. data types are incompatible. For example, to find text imported
  7680. into a date field, find records using a date of 1/1/0001 as find
  7681. criteria. For instructions on using the Find option to find invalid
  7682. records, see the chapter Finding Information.
  7683.  
  7684. To import data to an open Nutshell file you need two ingredients:
  7685.  
  7686. A source file containing data in one of the formats Nutshell
  7687. recognizes as listed above.
  7688.  
  7689. A layout in the open Nutshell file that contains just fields in the
  7690. base file that correspond to the data in the source file. The
  7691. fields in the open file should be in the exact order that the data
  7692. appears in the source file.
  7693.  
  7694. Nutshell uses the current layout as a guide to where to store data
  7695. imported from each field in the source file. Moving through the
  7696. layout in normal reading order, from left to right and from the top
  7697. down, Nutshell stores data from each field of the source file in
  7698. the corresponding field in the open Nutshell file, starting a new
  7699. record when all the fields in the current record are filled or when
  7700. a record separator is encountered in the source file.
  7701.  
  7702. Note: Keep the following In mind concerning calculation, summary,
  7703. and look up fields:
  7704.  
  7705. While data is not imported into calculation fields, you can include
  7706. them on the layout in the open file, so you can use the same layout
  7707. for both importing and exporting data; calculation fields can be
  7708. exported. Therefore, you must account for any calculation fields on
  7709. the layout when assessing how Nutshell will match fields in the
  7710. source file with fields on the current layout in the open Nutshell
  7711. file when importing data. Because Nutshell calculates the results
  7712. in calculation fields, any data you import into a calculation field
  7713. will not be stored.
  7714.  
  7715. Any summary fields on the layout are ignored, because summary data
  7716. cannot be either imported or exported.
  7717.  
  7718. Any look up fields on the layout are ignored, because data in look
  7719. up fields is supplied from look up files.
  7720.  
  7721. The size of the field on the layout does not limit the data that is
  7722. imported; all the data from the source file will be imported.
  7723.  
  7724. You import data by specifying the file format (Import type) and
  7725. filename of the source file. Nutshell saves these import settings
  7726. with the layout, so if you regularly import data from the same
  7727. source file using a particular layout, you don't have to respecify
  7728. the information. The general procedure for importing data is given
  7729. below, followed by sections on each of the file formats for source
  7730. files, which guide you in preparing source files for proper
  7731. importing into a Nutshell file. For best results, read through the
  7732. general procedure plus the section on the type of source file you
  7733. will be using before importing data.
  7734.  
  7735.  To import data:
  7736.  
  7737. 1. Make sure the current layout contains fields in the exact same
  7738. order as the data in your source tile, reading from left to right
  7739. down the layout. Do not count summary fields or look up fields on
  7740. the layout when matching either the order of fields or the number
  7741. of fields on the layout in the open file with those in the source
  7742. file.
  7743.  
  7744. 2. From the Browse screen, select Add.
  7745.  
  7746. 3. From the Add screen, select Import from File. Nutshell displays
  7747. the Import from File screen with the import settings associated
  7748. with the current layout.
  7749.  
  7750. 4. To change the setting for Import Type, position the cursor next
  7751. to Import Type, then press return. Then select the menu option that
  7752. matches the file format of the source file.
  7753.  
  7754. 5. To change the setting for Source File, Position the cursor next
  7755. to Source File, then press return. Then type the DOS filename of
  7756. the source file, or use the Show Files option to select the
  7757. filename. For instructions on using Show Files, see the section
  7758. Opening an Existing File in the chapter Opening and Closing a File.
  7759.  
  7760. Note: If no extension Is typed, Show Files assumes a particular
  7761. extension for each import type, as follows:
  7762.  
  7763. n view files with a different extension by selecting Extension,
  7764. typing the extension, then pressing return.
  7765.  
  7766. 6. When the settings are as you want them and you are ready to copy
  7767. data from the source file, select Start Importing. Nutshell begins
  7768. importing records, counting them off in the upper left corner of
  7769. the screen. If validation criteria are set, a message at the bottom
  7770. of the screen alerts you to invalid records.
  7771.  
  7772. When all the records are imported, Nutshell displays the Browse
  7773. screen with the last imported record displayed, unless there are
  7774. any invalid records or unless you press Esc to stop importing. In
  7775. these cases, Nutshell displays the Add screen with a new empty
  7776. record and reports the number of invalid records, if any, that were
  7777. imported. You can view the invalid records by selecting the Invalid
  7778. Records option from the Find screen. To find data imported into a
  7779. date field that is not a date, type 1/1/0001 in the find pattern.
  7780. For details, see the chapter Finding Information.
  7781.  
  7782. Import data from a Nutshell file when you want to:
  7783.  
  7784. Make a master file from individual files.
  7785.  
  7786. Copy some or all of the records Tom one tile into another tile.
  7787.  
  7788. Permanently change the order of records in a tile.
  7789.  
  7790. You can import a subset of the source tile to the open tile by
  7791. thirst using the Find option to group the records you want to
  7792. import. For example, each branch library could tin records Tom
  7793. missing or damaged books in order to import them into the main
  7794. library's book requisition tile. (For instructions on tin ding
  7795. records, see the chapter Finding Information.)
  7796.  
  7797. Only the data Tom the source tile is added to the open Nutshell
  7798. tile. No layouts, tied definitions, formatting, or specifications
  7799. such as tin patterns, sort order, or print settings are imported.
  7800.  
  7801. Field types in the source tile do not have to match tied types in
  7802. the open tile.
  7803.  
  7804. Note: Make sure the data you are Importing Is appropriate to the
  7805. field type in which it will be stored in the open file. For
  7806. example, you should not import data from a text field into a date
  7807. field unless the text field contains one date in the format
  7808. mm/Dad/ye or mm/Dad/yyyy, because a date field can be used only for
  7809. this specific type of data.
  7810.  
  7811. Nutshell uses the current layout in the source file to determine
  7812. what fields to import to the open file, importing them in normal
  7813. reading order Tom left to right Tom the top of the layout to the
  7814. bottom, and storing them in yields in the open tile according to
  7815. the order in the current layout.
  7816.  
  7817. Text, number, date, and calculation yields in the source tile can
  7818. be imported into fields in the open file. (Only the result in a
  7819. calculation field is copied into the open tile, not the formula. It
  7820. the tied the result is copied into is also a calculation tied,
  7821. Nutshell recalculates the result.) Any summary yields or look up
  7822. yields on layouts in either file are ignored for purposes of
  7823. importing. Preset values are also ignored.
  7824.  
  7825. The size of the fields on the source tile layout does not limit the
  7826. data that is imported; all the data Tom the source tile will be
  7827. imported.
  7828.  
  7829. You can import directly into a Nutshell file any data file that is
  7830. stored in comma delimited ASCII format. Some programs call this
  7831. BASIC format.
  7832.  
  7833. The ASCII source file can contain text and number data, which can
  7834. be imported into text, number, or date fields in the open Nutshell
  7835. file. The data in the ASCII file must observe the following
  7836. conventions:
  7837.  
  7838. Fields are separated from one another by commas.
  7839.  
  7840. If the data in a field contains commas, the field must be enclosed
  7841. in double quotation marks (data, including commas, within quotation
  7842. marks"). If the data also contains double quotation marks, they
  7843. must be replaced with single quotation marks ("To set off a
  7844. 'quotation' within the field") .
  7845.  
  7846. An empty field is indicated by a set of double quotation marks with
  7847. nothing between the quotation marks (
  7848.  
  7849. Fields cannot contain return characters.
  7850.  
  7851. Each record ends with a return character and a line feed character.
  7852.  
  7853. When Nutshell imports the ASCII data, any blanks at the end of
  7854. fields are removed, as are the double quotation marks surrounding
  7855. fields.
  7856.  
  7857. dBASE 11
  7858.  
  7859. If you have data in a dBASE 11 file, you can copy it directly into
  7860. a Nutshell file.
  7861.  
  7862. A dBASE 11 data file can hold character, numeric, and logical
  7863. (true/false) data. For numeric fields, the dBASE 11 field
  7864. definition includes the number of digits to the right of the
  7865. decimal point. Fields are fixed length, that is, a given field is
  7866. the same length in every record. Records are also fixed length .
  7867.  
  7868. When data is imported from a file in dBASE 11 format, the following
  7869. observations apply:
  7870.  
  7871. Numeric fields are imported with a decimal point and the specified
  7872. number of digits to the right of the decimal point.
  7873.  
  7874. Logical data can be imported into text fields.
  7875.  
  7876. Copying Information To and From Other Files
  7877.  
  7878. Blank spaces at the ends of fields are not imported.
  7879.  
  7880. Note: A dBASE II flue can contain deleted records. These are
  7881. ignored when importing.
  7882.  
  7883. DIF
  7884.  
  7885. DIF (Data Interchange Format) stores data by rows and columns of
  7886. equal length and is used by many spreadsheet programs and some
  7887. database programs. Data stored in a DIF file can be copied directly
  7888. into a Nutshell file.
  7889.  
  7890. In a DIF file, fields and records are represented by rows and
  7891. columns, as in a typical columnar report. Most commonly, fields are
  7892. represented by columns, and records are represented by rows. This
  7893. is the way Nutshell interprets DIF data. However, these
  7894. representations can be swapped. Because fields do not have to be
  7895. columns and records do not have to be rows, the term vector is used
  7896. instead of column, and the term tulle is used instead of row.
  7897.  
  7898. DIF files can hold character and numeric data. A header section in
  7899. the beginning of the file contains information about the number of
  7900. tuples and vectors. Following the header section is the data
  7901. section of the file format, which has these characteristics:
  7902.  
  7903. The special data value BOB (for Beginning of Tulle) marks the
  7904. beginning-of each tulle, corresponding to a Nutshell record.
  7905.  
  7906. Each vector entry, corresponding to a Nutshell field, is preceded
  7907. by a number indicating the data type: 1 for character data, and 0
  7908. for numeric data.
  7909.  
  7910. Character entries are enclosed in double quotation marks and cannot
  7911. contain return characters.
  7912.  
  7913. The special data value EOD (for End of Data) marks the end of the
  7914. data.
  7915.  
  7916. The special data values BOT and EOD are each preceded by -1.
  7917.  
  7918. When importing data from a DIF source file, Nutshell omits the
  7919. information in the header section as well as the numbers indicating
  7920. the type of column entry, the quotation marks around character
  7921. entries, and the BOT and EOD markers. The data values in the data
  7922. section are imported. Any numbers that are represented in the DIF
  7923. file with exponential notation are converted to decimal numbers in
  7924. Nutshell. For example, a value such as -1 .E-9 is imported into
  7925. Nutshell as -.000000001.
  7926.  
  7927. Copying To Another File
  7928.  
  7929. The investment of time you make in creating a Nutshell file gives
  7930. you more than the ability to manage data within that file; you can
  7931. also automatically create other Nutshell files and files why
  7932. different data formats that can be used with other programs. For
  7933. example, perhaps you have a charting program that could help you
  7934. analyze information that you have in a Nutshell file. Just use the
  7935. Export option to copy the fields and records you want to chart to
  7936. a file format that can be recognized by your charting program. When
  7937. you use the Export option, Nutshell always creates a new file. To
  7938. add records to the end of an existing Nutshell file, see the
  7939. previous section Copying From Another File.
  7940.  
  7941. You can copy data from an open Nutshell file to a new file (the
  7942. destination file) in any of the following file formats:
  7943.  
  7944. Nutshell
  7945. ASCII (comma delimited)
  7946. dBASE 11
  7947. DIF (Data Interchange Format)
  7948. Merge (word processing Merge Data file)
  7949. dBASE III/IV
  7950. File Maker
  7951. Other (custom file formats)
  7952.  
  7953. You can specify which fields and records are to be exported to the
  7954. destination file, and in what order fields and records are to be
  7955. exported.
  7956.  
  7957. Choose the text, number, date, and calculation fields to copy by
  7958. selectively including them on the layout you will use to export
  7959. records (the Output Layout). For example, to export data on sales
  7960. volumes to a file that can be opened by a charting program, you
  7961. might include just Date of Sale, Product Name, and Quantity fields
  7962. on the layout to be used for exporting. The order of the fields on
  7963. the layout determines the order in which they are exported to the
  7964. destination file; Nutshell exports fields in normal reading order,
  7965. from left to right and from top to bottom, including any look up
  7966. fields but ignoring any summary fields. All of the data from each
  7967. field is copied, regardless of the field size on the layout, unless
  7968. you are exporting to dBASE 11 format which requires that a field
  7969. contain the same number of characters in every record. In creating
  7970. a dBASE 11 file, Nutshell exports as much data for each field as
  7971. fits in the field size on the Output Layout.
  7972.  
  7973. Note: Nutshell exports only the data stored in a file. It does not
  7974. export layout text, and it ignores any partitions when exporting.
  7975.  
  7976. You can choose which records to export by using the Find option to
  7977. find the records. Also, Nutshell's Resume Exporting option lets you
  7978. export records from a specific record displayed on the Browse
  7979. screen to the end of the file or end of the group of found records,
  7980. as appropriate. For example, if you need to create a new file of
  7981. all the product sales since July 1, you can sort the records in
  7982. ascending order by Date of Sale, display on the Browse screen the
  7983. first record why a Date of Sale in July, then use the Resume
  7984. Exporting option to create the destination file.
  7985.  
  7986. Sorting records in the open file before you export them lets you
  7987. determine the permanent order of those records in the destination
  7988. file.
  7989.  
  7990. You export data by specifying the file format (export type) and
  7991. destination filename of the file you want to create. Nutshell saves
  7992. these export settings with the layout you use to export (the Output
  7993. Layout), so if you regularly export data from Nutshell to a new
  7994. file, you don't have to respecify the information. For example, if
  7995. you export sales figures to a DIf file on a monthly basis to read
  7996. them into a spreadsheet model, the export type and destination file
  7997. remain properly set for the Output Layout you used. Of course, if
  7998. you still need the previously exported data, you should change the
  7999. destination filename of either the previous destination file or the
  8000. one you are about to create; after alerting you that a specified
  8001. destination file already exists and requiring confirmation to
  8002. overwrite the existing file, Nutshell will replace the existing
  8003. file with a new one that contains the new exported data.
  8004.  
  8005. The general procedure for exporting data is given below, followed
  8006. by sections on each of the file formats for destination files.
  8007. These sections include notes on any limitations of an export file
  8008. format in accepting Nutshell data. For best results, read through
  8009. the general procedure plus the section on the type of destination
  8010. file you will be creating before exporting data.
  8011.  
  8012. Note: You can create a file in a custom flue format by typing on a
  8013. layout the field and record separators you need, then using the
  8014. Print option to send data to a file. Highlighting should be normal,
  8015. not bold, and you should specify Other as the Printer Type in order
  8016. to avoid sending control codes. For more information, turn to the
  8017. last section, Other, for notes on creating a file in a custom
  8018. format.
  8019. To export data from the open Nutshell file to a new file:
  8020.  
  8021. 1. Make sure the Nutshell file contains a layout that includes only
  8022. the fields you want to export in the order they should appear in
  8023. the exported records.
  8024.  
  8025. 2. If necessary, find, then sort the records to export.
  8026.  
  8027. 3. If you want to begin exporting at a particular record, display
  8028. the record on the Browse screen.
  8029.  
  8030. 4. From the Browse screen, select Output.
  8031.  
  8032. 5. If the Output Layout is not the one you want to use, press Pgup
  8033. or PgDn until the correct Output Layout is displayed.
  8034.  
  8035. 6. Select Export Records. Nutshell displays the Export screen with
  8036. the export settings associated with the Output Layout.
  8037.  
  8038. 7. To change the setting for Export Type, position the cursor next
  8039. to Export Type, then press return. Then select the file format for
  8040. the destination file from the menu.
  8041.  
  8042. 8. To change the setting for Destination File, position the cursor
  8043. next to Destination File, then press return. Then type a DOS
  8044. filename for the destination file. You should avoid using the
  8045. extension .dub in the destination filename, to eliminate any chance
  8046. of accidentally overwriting your Nutshell data files. Use the Show
  8047. Files option if you need to change the drive or path where the new
  8048. file will be stored. For instructions on using Show Files, see the
  8049. section Creating a New File in the chapter Opening and Closing a
  8050. File.
  8051.  
  8052. Note: If no extension Is typed, Show Files assumes a particular
  8053. extension for each export type, as follows: ∙
  8054.  
  8055. These extensions provide a mnemonic way to keep track of files.
  8056. However, you can type any extension you prefer for the destination
  8057. file.
  8058.  
  8059. 9. When the settings are as you want them and you are ready to copy
  8060. data from the open file, select Export.
  8061.  
  8062. or
  8063.  
  8064. To begin exporting at the record displayed on the Browse screen
  8065. when you selected Output, select Resume Exporting.
  8066.  
  8067. Nutshell begins exporting records, displaying in the upper left
  8068. corner of the screen a count of the records being exported. When
  8069. all the records are exported, Nutshell displays the Browse screen
  8070. at the last record exported.
  8071.  
  8072. When you export to a file with a Nutshell format, the structure of
  8073. the open file is copied to the destination file in addition to the
  8074. data. The following elements are copied:
  8075.  
  8076. Records. If you have found records, Nutshell exports just the found
  8077. records. If you have sorted records, Nutshell exports the records
  8078. in sorted order.
  8079.  
  8080. All field definitions including calculation and summary formulas
  8081. and validation criteria.
  8082.  
  8083. All definitions of links to look up files.
  8084.  
  8085. All layouts including partitions.
  8086.  
  8087. Sort order.
  8088.  
  8089. Print settings.
  8090.  
  8091. Import settings.
  8092.  
  8093. Export settings.
  8094.  
  8095. All macro definitions.
  8096.  
  8097. It's easy to create a template file from an existing Nutshell file
  8098. by exporting one or two records to the destination Nutshell file,
  8099. then deleting them from the destination file. The result is a file
  8100. why the identical structure to the open file, but with no data.
  8101. This is an effective way to achieve consistent recording of data
  8102. when several individuals maintain separate files of similar data
  8103. such as product orders.
  8104.  
  8105. If you need to cancel exporting by pressing Esc when you are
  8106. exporting data to a Nutshell file, you can use the Resume Exporting
  8107. option to create a new file (with a different destination filename)
  8108. that contains the remaining data to be exported, then import the
  8109. records from the second exported file into the first, creating one
  8110. file of exported records. This way you don't need to start the
  8111. entire export process over again. For instructions on importing
  8112. records, see the previous section Copying From Another File.
  8113.  
  8114. ASCII
  8115.  
  8116. Many programs can read files that are stored in comma delimited
  8117. ASCII (sometimes also called BASIC) format. Because ASCII files
  8118. distinguish only two types of data (text and number), Nutshell must
  8119. make some compromises when creating an ASCII file. Notably, date
  8120. fields and calculation fields with a date result are exported as
  8121. text, as are unformatted number fields and calculation fields with
  8122. a number result. If you want the data in number fields or
  8123. calculation fields with a number result to be exported as numbers
  8124. rather than text, make sure you format the fields on the layout to
  8125. have a fixed number of digits after the decimal point.
  8126.  
  8127. When you export records to an ASCII file, the destination file has
  8128. these characteristics:
  8129.  
  8130. Text fields are enclosed in double quotation marks (~Text within
  8131. quotation marks"); any double quotation marks within the data are
  8132. replaced with single quotation marks ('text'). Return characters in
  8133. a multiple-line text field are not exported.
  8134.  
  8135. Fields are separated from one another by commas.
  8136.  
  8137. Number fields that are unformatted or formatted why the number of
  8138. digits Leo blank are exported as text and enclosed in quotation
  8139. marks. Number fields formatted with a fixed number of decimal
  8140. digits are exported as numbers (no quotation marks).
  8141.  
  8142. Each record ends with a return character and a line feed character.
  8143.  
  8144. Any blanks at the end of fields are not exported.
  8145.  
  8146. dBASE 11
  8147.  
  8148. The dBASE 11 program requires a data file to have field definitions
  8149. which contain:
  8150.  
  8151. Field name - limited to ten characters with no embedded blanks.
  8152.  
  8153. Field type - character, numeric, or logical. Each character field
  8154. is limited to 254 characters and cannot contain return characters.
  8155. Each numeric field contains as part of its definition the number of
  8156. digits to the right of the decimal point.
  8157.  
  8158. Field length - each field has a fixed length (the corresponding
  8159. field in every record occupies the same number of characters).
  8160.  
  8161. When you copy Nutshell data into a destination file with a dBASE 11
  8162. format, Nutshell makes the following adjustments in order to meet
  8163. dBASE 11 requirements:
  8164.  
  8165. The first ten characters of each field name are exported. If the
  8166. name includes blanks, the blanks are replaced with colons (:).
  8167.  
  8168. The field length for each field is taken from its length on the
  8169. Output Layout.
  8170.  
  8171. Records are fixed length.
  8172.  
  8173. Text fields are exported as character data. A maximum of 254
  8174. characters are exported, subject to the field size on the Output
  8175. Layout. Return characters within a text field are not exported.
  8176.  
  8177. Number fields and calculation fields with a number result formatted
  8178. with a fixed number of decimal digits are exported as numeric
  8179. fields (because the number of digits to the right of the decimal
  8180. point is available to complete the dBASE 11 field definition).
  8181. Number fields and calculation fields with a number result that are
  8182. unformatted or formatted with the number of digits left blank are
  8183. exported as character fields.
  8184.  
  8185. A maximum of 32 fields and 65,535 records can be exported, due to
  8186. the limits of dBASE 11 files.
  8187.  
  8188. The dBASE 11 program expects an extension of .dbf on data files
  8189. unless you specify otherwise, so you may want to use .dbf as the
  8190. extension on your destination filename.
  8191.  
  8192. DIF
  8193.  
  8194. Files that you create in DIF (Data Interchange Format) can be used
  8195. by many spreadsheet and some database programs. DIF files
  8196. distinguish two data types: character and numeric.
  8197.  
  8198. When exporting from a Nutshell file to a DIF file, the following
  8199. considerations apply:
  8200.  
  8201. Text and date fields are exported as character data, and enclosed
  8202. in double quotation marks. Any double quotation marks within a text
  8203. field are replaced by single quotation marks, and any return
  8204. characters within a text field are not exported.
  8205.  
  8206. Number fields and calculation fields with a number result that are
  8207. unformatted or formatted with the number of digits left blank are
  8208. exported as character data.
  8209.  
  8210. Number fields and calculation fields with a number result formatted
  8211. with a fixed number of decimal digits are exported as numeric data.
  8212.  
  8213. Merge
  8214.  
  8215. By selecting Merge as the export type, you can create a Merge Data
  8216. file that can be used with word processing programs such as Leading
  8217. Edge Word Processing with Merge Print. You can manage data such as
  8218. customer account information using Nutshell, then export selected
  8219. data to the Merge format to create custom mailings.
  8220.  
  8221. Merge is the only non-Nutshell format that is guaranteed to hold
  8222. all the data stored in Nutshell records; in other formats the size
  8223. of fields is limited. If you need to save Nutshell data in as
  8224. compact a format as possible (for example, for archival backups or
  8225. for telecommunications at the lowest possible transmission cost),
  8226. you can save a copy of the Nutshell file with all records deleted,
  8227. along with a copy of all the data in the records stored in Merge
  8228. format. To restore the data to its original (Nutshell) format, open
  8229. the Nutshell file with no records, then import the Merge file.
  8230.  
  8231. When you export using Merge format, the destination file that
  8232. Nutshell creates has these characteristics:
  8233.  
  8234. Fields are separated from one another by a backslash (\).
  8235.  
  8236. Backslashes (\) in field data are changed to forward slashes (/).
  8237.  
  8238. Records are separated from one another by a return character.
  8239.  
  8240. Blank characters at the end of fields are not exported.
  8241.  
  8242. If a record continues beyond 250 characters, Nutshell inserts an
  8243. ampersand (&) before exporting the remainder of the record. If you
  8244. are planning to use the file with Leading Edge Word Processing with
  8245. Merge Print, you should either delete the remaining characters, or
  8246. edit the record so it fits within the 250 character limit.
  8247.  
  8248. dBASE III/IV
  8249.  
  8250. The dBASE 111, dBASE 111 Plus and dBASE IV programs require a data
  8251. file to have field definitions which contain:
  8252.  
  8253. Field name - limited to eleven characters with no embedded blanks.
  8254.  
  8255. Field type - character, numeric, date or logical. Each character
  8256. field is limited to 254 characters and cannot contain return
  8257. characters. Each numeric field contains as part of its definition
  8258. the number of digits to the right of the decimal point.
  8259.  
  8260. Field length - each field has a fixed length (the corresponding
  8261. field in every record occupies the same number of characters).
  8262.  
  8263. When you copy Nutshell data into a destination file with a dBASE
  8264. III/IV format, Nutshell makes the following adjustments in order to
  8265. meet dBASE III/IV requirements:
  8266.  
  8267. The first eleven characters of each field name are exported. If the
  8268. name includes blanks, the blanks are replaced with underlines ( ).
  8269.  
  8270. The field length for each field is taken from its length on the
  8271. Output Layout.
  8272.  
  8273. Records are fixed length.
  8274.  
  8275. Text fields are exported as character data. A maximum of 254
  8276. characters are exported, subject to the field size on the Output
  8277. Layout. Return characters within a text field are not exported.
  8278.  
  8279. Number fields and calculation fields with a number result formatted
  8280. with a fixed number of decimal digits are exported as numeric
  8281. fields (because the number of digits to the right of the decimal
  8282. point is available to complete the dBASE III/IV field definition).
  8283. Number fields and calculation fiends with a number result that are
  8284. unformatted or formatted with the number of digits left blank are
  8285. exported as character fields.
  8286.  
  8287. Date fields are converted to dBASE date style. dBASE allows only
  8288. two digits for the year, so any dates greater than 1999 or less
  8289. than 1900 will be truncated.
  8290.  
  8291. A maximum of 128 fields per record can be exported, due to the
  8292. limits of dBASE III files. A maximum of 255 fields per record can
  8293. be exported to dBASE IV files.
  8294.  
  8295. Note: If exporting to dBASE III or dBASE III Plus use a layout that
  8296. contains no more than 128 fields as that is the maximum capacity
  8297. for those formats (Nutshell Plus II only limits to the dBASE IV
  8298. capacity of 255.)
  8299.  
  8300. The dBASE III/IV program expects an extension of .dbf on data files
  8301. unless you specify otherwise, so you may want to use .dbf as the
  8302. extension on your destination filename.
  8303.  
  8304. File Maker
  8305.  
  8306. By selecting File Maker as the export type, you can create a File
  8307. Maker data file which can be used to exchange data with File Maker
  8308. applications on a Macintosh computer or with word processing
  8309. programs such as MacWrite and Microsoft Word (in text only format).
  8310.  
  8311. When you export using File Maker format, the destination file that
  8312. Nutshell creates has these characteristics:
  8313.  
  8314. Fields are separated from one another by a > (tab)
  8315.  
  8316. Return characters (<) in field data are changed to ASCII vertical
  8317. tab characters.
  8318.  
  8319. Records are separated from one another by a return character.
  8320.  
  8321. Date fields should be exported in unformatted style if they are to
  8322. be imported into File Maker date fields.
  8323.  
  8324. Blank characters at the end of fields are not exported.
  8325.  
  8326. Note: No special translation is required when exchanging File Maker
  8327. option files between a PC and a Macintosh.
  8328.  
  8329. Other
  8330.  
  8331. You may sometimes need to create a file in a format that is not one
  8332. of Nutshell's built-in export types. For example, the program with
  8333. which you want to use the file may require different record and
  8334. field separators than those in the formats Nutshell automatically
  8335. creates. In order to create such a file, customize a layout to
  8336. include any special characters (such as field separators), spacing,
  8337. and other characteristics you need, then use that layout to print
  8338. to a file using the Printer Model called Other. This section gives
  8339. a brief account of the steps necessary to create a custom file
  8340. format. More details on using the Print Records option are provided
  8341. in the previous chapter, Printing Information.
  8342.  
  8343. To copy data from the open Nutshell file to a new flue In a custom
  8344. format:
  8345.  
  8346. 1. Make sure the layout you will use as the Output Layout contains
  8347. no highlighted characters. For instructions on selecting
  8348. highlighting
  8349.  
  8350.  Copying To Another File
  8351.  
  8352. options, see the section Highlighting Information in the chapter
  8353. Changing the Visual Presentation. (This step ensures that the
  8354. destination file does not receive information on printing bold,
  8355. underline, and underline bold characters, which can result in
  8356. transmission errors, such as bold characters appearing twice, when
  8357. the file is read by another application.)
  8358.  
  8359. 2. Customize the layout by typing the field and record separators
  8360. as layout text, along with any other special characters you need in
  8361. the appropriate arrangement. To type fiend or record separators
  8362. that do not appear on the keyboard, (such as  and so on) or that
  8363. can't be typed on the layout directly (such as > (tab), < (return),
  8364. Esc, line feed, and so on), hold down the Alt key and type the
  8365. corresponding ASCII number for that character. Refer to your DOS
  8366. manual for a table of ASCII characters and their numbers.
  8367.  
  8368. 3. Delete any extra partitions such as header and footer that are
  8369. not needed and may not be correctly interpreted by the program that
  8370. will read the destination file. In general, you will want just a
  8371. body partition to export records, or remaps only a sub-summary
  8372. partition if you need to export summary data.
  8373.  
  8374. Note: If you have more than one partition type on the Output
  8375. Layout, you must make sure the program that will read the file can
  8376. distinguish between records and information in the other partitions
  8377. such as summaries.
  8378.  
  8379. 4. If necessary, find, then sort the records to copy.
  8380.  
  8381. 5. If you want to begin exporting at a particular record, display
  8382. the record on the Browse screen.
  8383.  
  8384. 6. From the Browse screen, select Output.
  8385.  
  8386. 7. If the Output Layout is not the one you want to use, press Pup
  8387. or PgDn until the correct Output Layout is displayed.
  8388.  
  8389. 8. Select Print Records. Nutshell displays the Print screen with
  8390. the print settings associated with the Output Layout.
  8391.  
  8392. 9 . Make sure the setting for Destination is the filename for the
  8393. file you want to create. If no extension is typed, Nutshell assigns
  8394. an extension of .pm.
  8395.  
  8396. 10. Make sure the setting for Printer Model is Other. This omits
  8397. control codes (non printing characters sent to the printer to
  8398. control various printing options) from the destination file.
  8399.  
  8400. 11. Make sure the setting for Paper Length is an integral multiple
  8401. of the number of lines in the parathion on the Output Layout. If it
  8402. is not, Nutshell will generate a form feed character that may
  8403. confuse the program that will read the file. Alternatively, if your
  8404. file will not exceed 999 lines, you can set Paper Length to 999 in
  8405. order to keep Nutshell from inserting form feed characters in the
  8406. destination file.
  8407.  
  8408. 12. When the settings are as you want them and you are ready to
  8409. copy data from the open file, select Print.
  8410.  
  8411. or
  8412.  
  8413. To begin exporting at the record displayed on the Browse screen
  8414. when you selected Output, select Resume Printing.
  8415.  
  8416. Nutshell begins copying data to the destination file, displaying in
  8417. the upper left corner of the screen a count of the records being
  8418. exported. When all the records are exported, Nutshell displays the
  8419. Browse screen at the last record exported.
  8420.  
  8421. Macros automate tasks that you perform regularly or routinely with
  8422. Nutshell; they also automate lengthy or complex tasks that you
  8423. might not otherwise carry out because of the added time it takes to
  8424. type a long sequence of keystrokes. Macros let you substitute a
  8425. single keystroke for the sequence of keystrokes that you would use
  8426. to accomplish a related group of tasks, such as finding a
  8427. particular set of records, sorting them, and printing them in a
  8428. report. Such a group of tasks can take quite a few keystrokes to
  8429. accomplish manually, but by creating a macro to carry out this
  8430. whole sequence of tasks, you can type just one keystroke and have
  8431. Nutshell perform the whole sequence automatically. Since many
  8432. keystrokes can be reduced to one, using macros also reduces the
  8433. number of opportunities for making typing errors.
  8434.  
  8435. Macros are highly flexible; you can create macros to do almost
  8436. anything. For example, you can create short macros to use as
  8437. abbreviations for longer text that you regularly need to type. Or
  8438. you can create longer macros to perform a complex series of tasks
  8439. such as printing a weekly sales report. You can also create macros
  8440. that will perform the same sequence of tasks for each record in a
  8441. file.
  8442.  
  8443. To gain access to Nutshell's macro feature from anywhere in any
  8444. Nutshell file, press the F9 key.
  8445.  
  8446. When you create a macro, Nutshell records the exact sequence of
  8447. keystrokes that you type on your keyboard, and stores the entire
  8448. recorded sequence as a unit, with a name to identify it. You can
  8449. then give your macro a nickname that you can use when you want to
  8450. play it back. To play back a macro, you simply type the nickname,
  8451. which is a single keystroke that you've specified (such as F3 or
  8452. Ctrl-X), or select the macro name from the list of macros, and
  8453. Nutshell plays back the entire recorded sequence of keystrokes,
  8454. performing each task automatically.
  8455.  
  8456. Nutshell automatically includes four redefined macros - Copy to
  8457. Clipboard, Paste from Clipboard, Date from System, and Time from
  8458. System - in every new Nutshell file you create. Copy to Clipboard
  8459. makes a copy of whatever you specify and stores it in a temporary
  8460. storage area called the Clipboard. Paste from Clipboard types the
  8461. current contents of the Clipboard wherever you position the cursor.
  8462. Date from System and Time from System type the current system date
  8463. or system time wherever you've positioned the cursor. You can use
  8464. these four macros almost anywhere in Nutshell.
  8465.  
  8466. This chapter first explains how to create new macros by recording
  8467. keystrokes, including instructions for using macro functions and
  8468. including other macros in the macro you're creating. It then
  8469. explains how to play back macros, how to use the four redefined
  8470. macros that are automatically included in every Nutshell file, how
  8471. to insert and delete macro steps, and how to change or delete a
  8472. macro.
  8473.  
  8474. Creating Macros
  8475.  
  8476. When you create a macro, Nutshell stores it in the file in which
  8477. you create it. Each Nutshell file will have its own collection of
  8478. macros that are designed to function in that particular file. In
  8479. addition to the macros that you yourself create, Nutshell
  8480. automatically creates four redefined standard macros (Copy to
  8481. Clipboard, Paste from Clipboard, Date from System, and Time from
  8482. System) each time you create a new file. Thus every Nutshell file
  8483. will include a set of these standard macros, unless you delete
  8484. them.
  8485.  
  8486. When you create a macro, you are actually recording a sequence of
  8487. keystrokes that Nutshell saves for you. Any keystroke you can type
  8488. while you're using Nutshell - to give Nutshell commands, to move
  8489. the cursor, to type characters, and so on - can be stored in a
  8490. macro for later playback. Each keystroke you type for a macro is
  8491. recorded as part of a separate macro step. Nutshell displays a list
  8492. of all the steps of a macro on the Macro Steps screen.
  8493.  
  8494. Some macros, such as the four redefined macros, can be played back
  8495. in almost any context. Others are more or less context dependent.
  8496. For example, if a macro includes selecting a menu option as one of
  8497. its steps, the menu listing that option is a part of the
  8498. appropriate context for that macro step. If the macro is played
  8499. back in a context in which the menu is not available, the macro
  8500. will pause, allowing you either to adjust the context or to stop
  8501. the macro. For more information about playback context, see the
  8502. section Playing Back Macros later in this chapter.
  8503.  
  8504. Some considerations about context that you need to keep in mind
  8505. when you're creating macros are:
  8506.  
  8507. Displaying the appropriate screen, record, layout, or page before
  8508. you begin to record macro steps. For example, H you want to create
  8509. a macro to automatically format fields on a layout, you can either
  8510. display the layout before you start recording macro steps, or you
  8511. can record all the steps that are necessary to display the layout
  8512. you want to format. In the first case, you'II need to return to the
  8513. appropriate context before you play back the macro; in the second
  8514. case, the macro will return to the appropriate context when you
  8515. play it back.
  8516.  
  8517. Positioning the cursor on the screen or in a field. To continue the
  8518. formatting example, H the fields you want to format are dollar
  8519. fields, you can either position the cursor in the field you want to
  8520. format before you start recording macro steps, or you can Stan
  8521. recording macro steps with the cursor in the home position (upper
  8522. left) and record all the steps that are necessary to position the
  8523. cursor in the field you want to format. Again, in the first case
  8524. you need to prepare the proper context by positioning the cursor in
  8525. the field you want to format before you play back the macro, in the
  8526. second case the macro finds the proper context when you play it
  8527. back.
  8528.  
  8529. Setting the Ins (Insert) key. If you want a macro step to change
  8530. from insert mode to replace mode (and vice versa), you should
  8531. record the step that accomplishes this change as part of the macro.
  8532. Otherwise, Nutshell uses the current settings of this key when
  8533. playing back the macro. For more information about the Insert key,
  8534. see the section The Keyboard in the chapter Nutshell Conventions.
  8535.  
  8536. In addition to keystrokes, you can also store in macros specific
  8537. Nutshell settings and specifications, such as find patterns, sort
  8538. orders, and layouts. When you are recording a macro and you select
  8539. Find, Sort, Layout, or Output, Nutshell automatically saves the
  8540. contents and settings of the find pattern, sort order, or layout in
  8541. addition to recording your selection. These settings are stored as
  8542. separate Restore Steps of the macro, so you can replace or delete
  8543. them when you want to. When Nutshell plays back the macro, it not
  8544. only performs the Find, Sort, Layout, or Output command, but also
  8545. restores the settings that were displayed on the find pattern, sort
  8546. order, or layout when the macro was recorded.
  8547.  
  8548. Nutshell's ability to store screen settings saves you from having
  8549. to manually restore all the screens, patterns, and layouts before
  8550. you play back a macro since it restores them for you automatically.
  8551. For example, if you've just finished setting up a find pattern, a
  8552. sort order, and print settings for producing a sales report, and
  8553. you decide you want to nun this report every week, you can record
  8554. a macro right then that will do this. Since all the settings are as
  8555. you want them, all you have to do is start recording macro steps,
  8556. select Find, Sort, Output, and so on, and Nutshell records the find
  8557. pattern, sort order, layout, and print settings that you've just
  8558. used to produce your report.
  8559.  
  8560. Later you may want to use the same sequence of steps but with a
  8561. different find pattern, sort order, layout, and so on. To do this,
  8562. use the Modify option to delete the Restore steps you don't want,
  8563. then insert new Restore steps that you want the macro to use. If
  8564. you want to make the macro independent of the context it was
  8565. recorded in, simply delete the Restore steps without replacing
  8566. them. Nutshell then uses whatever find pattern, sort order, layout,
  8567. and so on, is currently available when playing back the macro.
  8568.  
  8569. To create a new macro:
  8570.  
  8571. 1. Display the screen from which you want to begin recording
  8572. keystrokes.
  8573.  
  8574. 2. Press F9. Nutshell displays the Macros screen.
  8575.  
  8576. 3 . Select Start Recording.
  8577.  
  8578. 4. Type the name of your new macro, then press return. Nutshell
  8579. displays the Macro Steps screen.
  8580.  
  8581. 5. To begin recording keystrokes, select Keystrokes. A message at
  8582. the upper left of your screen indicates that you are recording a
  8583. macro. Nutshell now records any and all keystrokes you type until
  8584. you press F9 again.
  8585.  
  8586. To include one of the macro functions in the sequence of macro
  8587. steps, press F9, then select Macro Functions. Nutshell adds the
  8588. function to the steps of your new macro. (See the next section,
  8589. Using Macro Functions, for more information.)
  8590.  
  8591. To include another macro in the sequence of macro steps in order to
  8592. make it a part of the new macro you're creating, either type the
  8593. other macro's nickname, or press F9, then select Other Macros.
  8594. Nutshell displays the Macros screen with a list of all the macros.
  8595. Move the cursor to the macro you want to play back, and press
  8596. return. Nutshell plays back the steps of the macro you select and
  8597. adds the command to play back the macro to the steps of your new
  8598. macro. (See the later section, Using Macros Within Macros, for more
  8599. information.)
  8600.  
  8601. Note: Nutshell does not record the steps of the other macro to the
  8602. steps of the macro you are creating. It simply records the step
  8603. ~Playback (other macro name)." This way, if you change the other
  8604. macro later, the changes will automatically take place in any macro
  8605. that uses it.
  8606.  
  8607. While you are recording keystrokes, you can mix keystrokes, macro
  8608. functions, and other macros freely.
  8609.  
  8610. 6. To stop recording keystrokes, adding macro functions, or adding
  8611. other macros, press F9, then select Stop Recording. Nutshell
  8612. displays a list of the steps you have recorded. If you need to view
  8613. the text of a very long macro step, use the ~ (Cursor Right) key to
  8614. scroll the screen.
  8615.  
  8616. 7. Press Esc to return to the Macros screen.
  8617.  
  8618. 8. Press Esc to return to the screen where you stopped recording
  8619. the macro.
  8620.  
  8621. Nicknaming Macros
  8622.  
  8623. When you create a new macro, you give H a name, which is a word or
  8624. brief phrase that identifies the macro and describes what H does.
  8625. You can also give each macro a nickname. A macro nickname is a
  8626. single keystroke or combination of keystrokes that you can type to
  8627. invoke the macro while you're working with Nutshell, without having
  8628. to display the Macros screen and select the macro from it.
  8629. Nicknames are like abbreviations; you use them the same way you use
  8630. other single keystrokes to select Nutshell options. You can use any
  8631. of the following keys and key combinations for macro nicknames:
  8632.  
  8633. Ctrl-any letter key
  8634. F3 - F8
  8635. Shift-F1 - Shift-F10
  8636. Ctrl-F1-Ctrl-F10 
  8637. Alt-F1-Alt F10
  8638.  
  8639. To create a macro nickname:
  8640.  
  8641. 1. Press F9 to display the Macros screen.
  8642.  
  8643. 2. Position the cursor next to the macro you want to nickname.
  8644.  
  8645. 3 . Select Nickname.
  8646.  
  8647. 4. Press one of the unassigned function keys or one of the key
  8648. combinations that are available for macro nicknames:
  8649.  
  8650. Ctrl-any letter key
  8651. F3-F8
  8652. Shift-F1 - Shift- F10
  8653. Ctrl-F1- Ctrl-F10
  8654. Alt-F1 - Alt-F10
  8655.  
  8656. Nutshell displays the macro nickname on the Macros screen.
  8657.  
  8658. 5. When you are done, press Esc.
  8659.  
  8660. Using Macro Functions
  8661.  
  8662. In addition to letting you record any sequence of keystrokes to
  8663. create a macro, Nutshell has a collection of macro functions that
  8664. can give your macros a greater degree of flexibility. The macro
  8665. functions are:
  8666.  
  8667. Repeat for Each Page
  8668. Message to User
  8669. Keystrokes by User
  8670. Copy to Clipboard
  8671. Paste from Clipboard
  8672. Date from System
  8673. Time from System
  8674. Beep ∙ Escape Key
  8675.  
  8676. Four of these macro functions are the four redefined macros that
  8677. are automatically included in each file you create: Copy to
  8678. Clipboard, Paste from Clipboard, Date from System, and Time from
  8679. System. For further information about these four redefined macros,
  8680. see the section Using Copy, Paste, Date, and Time, later in this
  8681. chapter.
  8682.  
  8683. You can add or insert any of these macro functions at any point
  8684. while you are creating or modifying your macros.
  8685.  
  8686.  
  8687. Repeat for Each Page
  8688.  
  8689. Often you will want Nutshell to perform the same sequence of tasks
  8690. on each record, on each layout in a file, or on each page of a find
  8691. pattern. You can include in your sequence of macro steps a
  8692. direction that tells Nutshell to repeat the whole sequence of
  8693. steps, or any selected sub-sequence of steps, for the current page
  8694. and each subsequent page. Nutshell performs the specified sequence
  8695. of steps, then automatically presses the PgDn key and loops back to
  8696. the first step of the sequence and repeats the sequence for each
  8697. page. Since Nutshell automatically presses the PgDn key after
  8698. performing the steps of the loop, you don't need to record a PgDn
  8699. keystroke in your macro because Nutshell does it for you.
  8700.  
  8701. You can use Repeat For Each Page to perform a sequence of steps on
  8702. each record on the Browse or Modify screen. If you have used Find
  8703. to isolate a subset of records, Nutshell performs the repeating
  8704. sequence on just the set of found records. If you want to include
  8705. all records (or all found records) in the loop, you should start
  8706. the repeat function at the first (or first found) record.
  8707.  
  8708. When you use Repeat for Each Page, you should include in the
  8709. repeating sequence whatever steps are necessary to ensure that the
  8710. macro is performed in the proper context on each succeeding page.
  8711. For example, if you create a macro to type data in one or more
  8712. fields on each record in a file, you should include steps that
  8713. return the cursor either to the home position (the first field of
  8714. the layout) or to the beginning of the field you want the macro to
  8715. type data in.
  8716.  
  8717. On the Macro Steps screen, all steps that are part of the loop are
  8718. indented, so you can easily tell which steps will be repeated. In
  8719. addition, the step ~Repeat for Each Page" is added at the beginning
  8720. of the loop, and the step ~Next Page" is added at the end of the
  8721. loop.
  8722.  
  8723. Note: You apply Repeat for Each Page only to steps you've already
  8724. recorded, not to steps you are about to record. So you should first
  8725. record the steps you want repeated for each page, then select
  8726. Repeat for Each Page to create the loop.
  8727.  
  8728. Message to User
  8729.  
  8730. You can include in your sequence of macro steps a direction that
  8731. tells Nutshell to display a message or a prompt on the screen. You
  8732. can type any message you want. Nutshell stores your message as part
  8733. of the macro step sequence, and displays it at the appropriate time
  8734. when the macro is played back. For example, you might want to
  8735. create a macro to partially automate data entry that includes
  8736. instructions for the person entering data.
  8737.  
  8738. When the message is displayed during playback, h remains on the
  8739. screen either until the next key is pressed by the user or played
  8740. back by the macro, or until the next message is displayed.
  8741.  
  8742. Keystrokes by User
  8743.  
  8744. You can include pauses in your sequence of macro steps that allow
  8745. persons using the macro to enter their own keystrokes. When
  8746. Nutshell plays back the macro and reaches the Keystrokes by User
  8747. function, it stops and waits for the user to enter any number of
  8748. keystrokes. During the pause, the user can type any keystroke
  8749. whatsoever, including choosing menu items, playing back other
  8750. macros, or pressing F9 to display the current macro steps before
  8751. proceeding. When finished entering keystrokes, the user presses F10
  8752. or the + (plus) key on the numeric keypad to continue playing back
  8753. the macro; Nutshell goes on to the next recorded step in the
  8754. sequence.
  8755.  
  8756. You may want to use the Keystrokes by User function in association
  8757. with the Message to User function. For instance, if you create a
  8758. macro that provides step-by- step instructions to users entering
  8759. data, you could use the Message to User function to display your
  8760. instructions on the user's screen (including a message that they
  8761. should press the F10 or the + (plus) key in order to continue macro
  8762. playback), then use the Keystrokes by User function to pause
  8763. playback while the user types keystrokes.
  8764.  
  8765. Beep
  8766.  
  8767. You can include in your sequence of macro steps a direction that
  8768. Nutshell should sound a beep. When Nutshell plays back the macro
  8769. and reaches a Beep function, the beep sounds, and Nutshell goes on
  8770. to the next step of the Macro sequence. You might include a beep at
  8771. the end of a lengthy macro process to alert the user that the macro
  8772. process has been completed, or that keystrokes by user are needed.
  8773.  
  8774. Escape Key
  8775.  
  8776. You can include in your sequence of macro steps a direction that
  8777. Nutshell should insert an escape character. Normally, typing the
  8778. escape key exits the current page or layout making H very difficult
  8779. to enter on a layout, Many special control codes Tom printers start
  8780. why the escape character , which is why it is useful to enter it.
  8781. You might include an escape key as the only function in a macro to
  8782. Permit entering this character or use it along with any special
  8783. printer control code which you enter frequently.
  8784.  
  8785. To record a macro function:
  8786.  
  8787. 1. At any time while you are recording a macro, press F9 to display
  8788. the Macro Steps screen.
  8789.  
  8790. 2. From the Macro Steps menu, select Macro Functions. Nutshell
  8791. displays the list of macro unctions.
  8792.  
  8793. 3. Move the cursor to the function you want, then press return.
  8794. Nutshell adds the function to the steps of your macro.
  8795.  
  8796. It you select Repeat Tom Each Page, Nutshell asks you to specify
  8797. which sequence of steps you want repeated. Move the cursor back up
  8798. the list of steps until you reach the step you want the repeat
  8799. sequence to begin with, then press return. Nutshell indicates the
  8800. repeat sequence on the Macro Steps screen by inserting the line
  8801. ~Repeat Tom Each Page~ just be tore the first step of the repeat
  8802. sequence you've specified, and inserting the line ~Next Page" just
  8803. after the last step of the repeat sequence. All the steps that are
  8804. to be repeated in the loop are indented .
  8805.  
  8806. If you select Message to User, Nutshell asks you to type the
  8807. message you want to appear on the screen. For a list of useful keys
  8808. for adding and editing text, see the section The Keyboard in the
  8809. chapter Nutshell Conventions. Type your message; Nutshell displays
  8810. H at the bottom of the screen as you type. When you've finished
  8811. typing your message, press J; Nutshell adds your message to the
  8812. sequence of macro steps.
  8813.  
  8814. 4. Continue recording keystrokes, adding macro functions, or adding
  8815. other macros, using the same keys and menu options as for creating
  8816. new macros.
  8817.  
  8818. or
  8819.  
  8820. Select Stop Recording to stop recording.
  8821.  
  8822. When you're creating a macro, there may be times when you want to
  8823. incorporate another macro into the sequence of steps of the macro
  8824. you are recording. When you play back a macro that includes another
  8825. macro as one of the macro steps, Nutshell will play back the other
  8826. macro when it reaches that step in the sequence, and then continue
  8827. with the sequence of steps that is currently being played back.
  8828.  
  8829. When you're using the Other Macros option and you select a macro to
  8830. incorporate, Nutshell plays back the sequence of steps of the macro
  8831. you select. However, the steps of the macro you're incorporating
  8832. are not read into the current macro; only the step that selects the
  8833. macro is listed. This means that you can make changes to the
  8834. incorporated macro whenever you want; when you play back a macro
  8835. which invokes the incorporated macro, the updated macro is played
  8836. back.
  8837.  
  8838. To record another macro within the macro you're creating:
  8839.  
  8840. 1. At any time while you are recording a macro, type the nickname
  8841. of the macro you want to record.
  8842.  
  8843. or
  8844.  
  8845. 1. Press F9 to display the Macro Steps screen.
  8846.  
  8847. 2. From the Macro Steps menu, select Other Macros. Nutshell
  8848. displays the Macros screen with a list of all the macros. To view
  8849. the steps of a macro, position the cursor next to the macro you
  8850. want, then select View.
  8851.  
  8852. 3. Move the cursor to the macro you want to insert, then press ~.
  8853. Nutshell plays back the macro you selected and adds the name of the
  8854. macro to the list of macro steps.
  8855.  
  8856. 4. Continue recording keystrokes, adding macro functions, or adding
  8857. other macros, using the same keys and menu options as for creating
  8858. new macros.
  8859.  
  8860. You've already learned that to create a macro you record a sequence
  8861. of keystrokes, macro functions or other macros. To use a macro, you
  8862. play back the sequence of steps you've recorded. When you play back
  8863. a macro, Nutshell automatically performs each of the tasks
  8864. specified by each step recorded on the Macro Steps screen.
  8865.  
  8866. When you play back a macro, you'II want to make sure that the
  8867. context in which you play it back is appropriate. Some macros, like
  8868. Copy to Clipboard and Paste from Clipboard, can be used almost
  8869. anywhere. Other macros work only when they are played back from the
  8870. same context in which they were created. This allows Nutshell to
  8871. begin the sequence of macro steps at the place you were when you
  8872. began recording them. If you try to play back a macro in an
  8873. inappropriate context, Nutshell pauses the macro and displays a
  8874. message to tell you what's wrong.
  8875.  
  8876. During playback, Nutshell will temporarily stop, or pause, a macro:
  8877.  
  8878. If the selection of a menu option is played back, but the menu is
  8879. not available on the then-current screen.
  8880.  
  8881. If the macro tries to restore a Find pattern or a Sort order on a
  8882. screen where it doesn't apply.
  8883.  
  8884. If the macro tries to restore a layout that has been deleted.
  8885.  
  8886. In any of these cases, you can return to normal Nutshell operation
  8887. and correct the context, then continue playback, or you can stop
  8888. playback, insert or delete macro steps from the Macro Steps screen,
  8889. then play back the macro again.
  8890.  
  8891. You can play back a macro by displaying the Macros screen and
  8892. selecting the name of the macro you want to play back, or you can
  8893. invoke the macro directly, without displaying the Macros screen, by
  8894. using Ha nickname.
  8895.  
  8896. To play back a macro:
  8897.  
  8898. 1. Display the screen on which you want to begin playing back the
  8899. macro. If necessary, display the appropriate record, layout, or
  8900. find pattern, position the cursor at the appropriate starting
  8901. point, and make sure the Ins (Insert) key is in the mode (insert or
  8902. replace) you want.
  8903.  
  8904. 2. Press F9 to display the Macros screen.
  8905.  
  8906. 3. Move the cursor to the name of the macro you want to play back
  8907. and press return. Nutshell performs the sequence of macro steps. or
  8908.  
  8909. or
  8910.  
  8911. 1. Display the screen on which you want to begin playing back the
  8912. macro. If necessary, display the appropriate record, layout, or
  8913. find pattern, position the cursor at the appropriate starting
  8914. point, and make sure the Ins (Insert) key is in the mode (insert or
  8915. replace) you want.
  8916.  
  8917. 2. Type the nickname of the macro you want to play back. Nutshell
  8918. performs the sequence of macro steps.
  8919.  
  8920. To continue playing back a paused macro:
  8921.  
  8922. 1. Press Esc in order to return to normal Nutshell operation while
  8923. the macro is paused. You can now make any adjustments you need to
  8924. make in order for the macro to continue playback. When you're ready
  8925. to continue playback, press F10. or
  8926.  
  8927. Select Stop Playback in order to permanently stop the paused macro.
  8928. Nutshell returns to the screen that was displayed when the macro
  8929. paused. You can now make any adjustments you need, either in
  8930. Nutshell or to the macro. Then replay the macro from the beginning.
  8931.  
  8932. Stopping Macro Playback
  8933.  
  8934. When you play back a macro and it's not doing what you want it to,
  8935. you can stop it at any time by pressing F9. When you press F9,
  8936. Nutshell pauses the macro. You can then either permanently stop
  8937. playback or resume playback of the macro.
  8938.  
  8939.  To stop a macro while it is playing back:
  8940.  
  8941. 1. Press F9. Nutshell displays the Macro Steps screen with the
  8942. current step highlighted.
  8943.  
  8944. 2. Select Stop Playback. or To resume playback, press Esc.
  8945.  
  8946. Copy to Clipboard makes a copy of whatever you specify and stores
  8947. H in a temporary storage area called the Clipboard. Paste from
  8948. Clipboard types the current contents of the Clipboard wherever
  8949. you've positioned the cursor. Date from System and Time from System
  8950. type the current system date or system time wherever you've
  8951. positioned the cursor. You can use these four macros almost
  8952. anywhere in any Nutshell file. You can rename these macros, give
  8953. them different nicknames, modify, or delete them, just as you can
  8954. do to any of the macros that you create yourself.
  8955.  
  8956. Copy to Clipboard (Ctrl-C) and Paste from Clipboard (Ctrl-P)
  8957.  
  8958. The Copy to Clipboard and Paste from Clipboard macros are used
  8959. together. Copy to Clipboard allows you to copy data from a field,
  8960. elements (fields and text) from a layout, and Hems from a list
  8961. (such as an index) into the Cupboard, a temporary storage area
  8962. Nutshell uses to hold information until you're ready to use H. Once
  8963. you've made a copy and put H in the Clipboard, you can then display
  8964. another record or layout in your file and paste what you've copied
  8965. wherever you want it.
  8966.  
  8967. Nutshell recognizes layout text that is typed continuously on a
  8968. line as one element; you copy H as a unit. For example, the layout
  8969. text that matches the field name on the standard layout is
  8970. considered one unit even if H comprises more than one word.
  8971.  
  8972. Automating Tasks Using Macros
  8973.  
  8974. Nutshell also recognizes all the data in a field as one element, so
  8975. that when you position the cursor in a tie id and press Ctrl-C,
  8976. everything in the field is copied to the Clipboard.
  8977.  
  8978. You can copy from and paste to different screens (for example, from
  8979. the Browse screen to the Layout screen, from a Layout to the Modify
  8980. screen, and so on). For example, you can type the text of a form
  8981. letter into a large field, taking advantage of Nutshells ability to
  8982. word wrap the text automatically, copy the completed text from the
  8983. field to the Clipboard, then paste it to an empty layout.
  8984.  
  8985. You can also copy data in fields and layout text, from one file and
  8986. paste them into another file using the Zoom option. See the section
  8987. Displaying, Adding, and Editing Information in Look up Files in the
  8988. chapter Adding, Editing, and Deleting Information for information
  8989. about using the Zoom option.
  8990.  
  8991. To copy text or data In fields to the Clipboard:
  8992.  
  8993. 1. On the Browse, Find, Add, or Modify screen, position the cursor
  8994. in the layout text or the field you want to copy.
  8995.  
  8996. 2. Press Ctrl-C. If the cursor is positioned in a unit of layout
  8997. text, Nutshell copies the entire unit into the Clipboard. If the
  8998. cursor is positioned in a field, Nutshell copies the entire
  8999. contents of the field to the Clipboard.
  9000.  
  9001. To copy a group of layout elements to the Clipboard:
  9002.  
  9003. 1. On the layout, position the cursor in an element of the layout
  9004. that is at one corner of the group.
  9005.  
  9006. 2. Press Ctrl-C, indicate what you want to copy by moving the
  9007. cursor so the solid bright rectangle encompasses at least one
  9008. character of each field and unit of layout text you want to copy,
  9009. then press ~. (To quickly move the cursor, you can use the ~1 (Tab)
  9010. key and the Carl key combinations.) Nutshell copies to the
  9011. Clipboard the entire group of elements briefly marked with a solid
  9012. bright background.
  9013.  
  9014. To copy an Item from a list:
  9015.  
  9016. 1. Position the cursor at the item you want to copy.
  9017.  
  9018. 2. Press Ctrl-C. Nutshell copies the item you've selected to the
  9019. Clipboard.
  9020.  
  9021. To paste anything from the Cupboard to a field:
  9022.  
  9023. 1. From the Browse screen, select Find, Add, or Modify.
  9024.  
  9025. 2. Position the cursor in the field you want to paste to.
  9026.  
  9027. 3. Press Ctrl-P. Nutshell copies the contents of the Clipboard into
  9028. the field .
  9029.  
  9030.  To paste anything from the Clipboard to a layout:
  9031.  
  9032. 1. Position the cursor in a blank area of the layout.
  9033.  
  9034. 2. Press Ctrl-P. Nutshell copies the contents of the Clipboard onto
  9035. the layout.
  9036.  
  9037. Date from System (Ctrl-D) and Time from System (Ctrl-T)
  9038.  
  9039. The Date from System macro types the current system date in any
  9040. field or layout; the Time from System macro types the current
  9041. system time.
  9042.  
  9043. Note: The Date from System and Time from System macros insert the
  9044. current system date and time when the macros are played back. Once
  9045. inserted, the date and time are not automatically updated. In
  9046. headers and footers on the Layout screen, two slashes (11) and two
  9047. colons (::) print the current system date and time when the layout
  9048. is printed. (See the section Concepts of Partitioning a Layout in
  9049. the chapter Adding Power to Reports).
  9050.  
  9051. To have Nutshell type the current system date or time In a record
  9052. or on a layout:
  9053.  
  9054. 1. Position the cursor in the field or on the layout where you want
  9055. to type the date or time.
  9056.  
  9057. 2. Press Ctrl-D. Nutshell types the system date.
  9058.  
  9059. You can make changes to your macros at any time by inserting or
  9060. adding more steps to them, or by deleting steps that you don't need
  9061. or want. You can also change both the names and the nicknames of
  9062. your macros. When you no longer need a macro, you can delete it
  9063. from your list of defined macros.
  9064.  
  9065. Changing a Macro Name
  9066.  
  9067. You may want to change a macro name to correct a typing or spelling
  9068. error, to differentiate it from other similarly named macros, or to
  9069. make it easier to remember what the macro does.
  9070.  
  9071. To change a macro name:
  9072.  
  9073. 1. Press F9. Nutshell displays the Macros screen with your list of
  9074. defined macros.
  9075.  
  9076. 2 Move the cursor to the macro whose name you want to change, then
  9077. select Rename.
  9078.  
  9079. 3. Type the new name, then press return.
  9080.  
  9081. 4. Press Esc to return to the displayed screen.
  9082.  
  9083. Changing or Deleting a Macro Nickname
  9084.  
  9085. You may want to use for a new macro a nickname that you've already
  9086. assigned. You can change or delete any macro nickname whenever you
  9087. need to.
  9088.  
  9089. To change or delete a macro nickname:
  9090.  
  9091. 1. Press F9. Nutshell displays the Macros screen with your list of
  9092. defined macros.
  9093.  
  9094. 2. Move the cursor to the macro whose nickname you want to change
  9095. or delete, then select Nickname.
  9096.  
  9097. 3. Press one of the unassigned function keys or one of the key
  9098. combinations that are available for macro nicknames:
  9099.  
  9100. Ctrl-any letter key
  9101. F3 - F8
  9102. Shift-F1 - Shift- F10
  9103. Ctrl-F1- Ctrl-F10
  9104. Alt-F1 - Alt-F10
  9105.  
  9106. Nutshell replaces the old nickname with the new nickname.
  9107.  
  9108. or
  9109.  
  9110. Select No Nickname from the menu to delete the nickname.
  9111.  
  9112. 4. Press Esc to return to the displayed screen.
  9113.  
  9114. Inserting or Deleting Macro Steps
  9115.  
  9116. You'II often want to make changes to the sequence of macro steps by
  9117. inserting new keystrokes, macro functions, or other macros, and by
  9118. deleting unnecessary or unwanted macro steps.
  9119.  
  9120. To insert new macro steps:
  9121.  
  9122. 1. Display the screen from which you want to begin inserting steps.
  9123.  
  9124. 2. Press F9. Nutshell displays the Macros screen.
  9125.  
  9126. 3. Move the cursor to the macro you want to add steps to, then
  9127. select Modify. Nutshell displays the Macro Steps screen.
  9128.  
  9129. 4. Move the cursor to the step in front of which you want to insert
  9130. new macro steps, then select Insert. Nutshell will insert any new
  9131. steps starting on the line where the cursor is. The other steps,
  9132. including the one with the cursor, are dropped down to make room
  9133. for the new steps.
  9134.  
  9135. 5. Select Keystrokes, Macro Functions, or Other Macros, using the
  9136. same keys and menu options as for creating new macros. See the
  9137. previous section, Creating Macros, for details.
  9138.  
  9139. 6. To stop adding macro steps, press F9, then select Stop
  9140. Recording.
  9141.  
  9142. 7. Press Esc to return to the Macros screen. Press Esc again to
  9143. return to the screen where you were when you stopped inserting
  9144. macro steps.
  9145.  
  9146. To delete a macro step:
  9147.  
  9148. 1. Press F9. Nutshell displays the Macros screen.
  9149.  
  9150. 2. Move the cursor to the macro you want to delete steps from, then
  9151. select Modify. Nutshell displays the Macro Steps screen.
  9152.  
  9153. 3. Move the cursor to the step you want to delete.
  9154.  
  9155. 4. Select Delete. Nutshell removes the step from the sequence.
  9156.  
  9157. Deleting a Macro
  9158.  
  9159. When you're sure you no longer need a macro, you can delete H.
  9160.  
  9161. To delete a macro:
  9162.  
  9163. 1. Press F9. Nutshell displays the Macros screen with a list of
  9164. your defined macros.
  9165.  
  9166. 2. Move the cursor to the macro that you want to delete.
  9167.  
  9168. 3. Select Delete, then press ~ to confirm the deletion. Nutshell
  9169. removes the macro from your list.
  9170.  
  9171. The Quick Reference contains a detailed map of the Nutshell screens
  9172. and menu options, followed by a brief description of each. More
  9173. complete information about how to use each option is provided in
  9174. the body of the manual; use the table of contents or the index to
  9175. find the page reference for the option you need.
  9176.  
  9177. On some screens, you are prompted to type information, press a key,
  9178. or select an item from a list in addition to selecting an option
  9179. from a menu. The Menu Options section following the menu map notes
  9180. the instances in which Nutshell requires this additional
  9181. information.
  9182.  
  9183. Menu Options
  9184.  
  9185. This section briefly explains each menu option that is available in
  9186. Nutshell. The options are explained in the order shown on the menu
  9187. map on the two preceding pages, starting from the top down and
  9188. moving from left to right.
  9189.  
  9190. Select menu options by either of the following methods:
  9191.  
  9192. 1. Press F2 to move the cursor to the menu.
  9193.  
  9194. 2. Move the cursor to the option you want using any of the
  9195. following:
  9196.  
  9197. First letter of the option
  9198. Spacebar
  9199. (Cursor Left and Cursor Right keys)
  9200. (Tab key) and (shift Tab)
  9201. (Backspace key)
  9202.  
  9203. 3. Press the return key.
  9204.  
  9205.  or
  9206.  
  9207. 1. Hold down the Alt key and type the first letter of the option.
  9208.  
  9209. In general, as prompts on the screen indicate, you press the ~ key
  9210. to complete an instruction to Nutshell. For example, you can open
  9211. a file by typing the filename and pressing ~.
  9212.  Nutshell
  9213.  
  9214. The Nutshell Plus 11 screen is the first screen you see when you
  9215. nun Nutshell by typing nut plus at the DOS prompt. Nutshell creates
  9216. a new file or displays an existing file when you specify a
  9217. filename.
  9218.  
  9219. Show Files
  9220.  
  9221. Displays a list of files in the current directory. Select a file to
  9222. open by positioning the cursor to the left of the filename. Show
  9223. Files provides the options Drive, Extension, and Path, which can be
  9224. used to change the drive specified, the extension, or the directory
  9225. in order to display and select a file.
  9226.  
  9227. Drive Lets you display and select files on a disk in another drive
  9228. by typing a different drive specified.
  9229.  
  9230. Extension Lets you display and select files with an extension other
  9231. than the .dub extension that Nutshell uses by default, by typing a
  9232. different flue extension.
  9233.  
  9234. Path Lets you display and select files in a directory other than
  9235. the current directory by typing a different directory path name.
  9236. Select Show Directories to display and select a directory above or
  9237. below the current directory.
  9238.  
  9239. Show Directories
  9240.  
  9241. Lets you select the <root, (the topmost directory), the <parent,
  9242. (the directory above the current one), or any of the directories
  9243. below the current one.
  9244.  
  9245. Browse
  9246.  
  9247. The Browse screen is the hub of the Nutshell menu network,
  9248. providing the route to each of the basic activities involved in
  9249. managing your files. On the Browse screen, Nutshell displays
  9250. records one at a time according to the layout, search criteria, and
  9251. sort order that you specify.
  9252.  
  9253. Find
  9254.  
  9255. Displays a pattern you can use to specify which records in the file
  9256. you want to view, modify, remove, sort, print, or export. Press F10
  9257. to find the records that match the pattern you type.
  9258.  
  9259. Show Index Displays a list of words, numbers, or dates that have
  9260. been typed in records in the field that contains the cursor. To
  9261. copy a value from the index into the same field in the pattern,
  9262. position the cursor next to the value you want and press ~.
  9263.  
  9264. Find All Returns you to browsing all the records in the file.
  9265.  
  9266. Clear Erases one or more pages of the find pattern.
  9267.  
  9268. One Page Erases the page of the pattern that is displayed.
  9269.  
  9270. ALL Pages Erases all pages of the find pattern, including any Also
  9271. Find patterns.
  9272.  
  9273. Also Find Displays a new page of the pattern which you can use to
  9274. specify additional criteria for records you want to find. Nutshell
  9275. finds records that match any of the pages of the pattern you
  9276. specify. You can use this option to create as many pages as you
  9277. need to find records.
  9278.  
  9279. Invalid Records Finds records containing values that don't match
  9280. the validation criteria you defined.
  9281.  
  9282. Add
  9283.  
  9284. Displays an empty record you can use to add a new record to the
  9285. file. Press F10 to add the new record and display another empty
  9286. record.
  9287.  
  9288. Show Index Displays a list of words, numbers, or dates that have
  9289. been typed in other records in the field that contains the cursor.
  9290. To copy a value from the index into the same field in the current
  9291. record, position the cursor next to the value you want and press ~.
  9292.  
  9293. Import from File Displays the following settings for adding records
  9294. to the current file (importing) from a source file that you
  9295. specify. To change a setting, position the cursor next to the
  9296. setting and press return.
  9297.  
  9298. Import Type
  9299.  
  9300. Select the tile format of the source file from the following
  9301. options:
  9302.  
  9303. Nutshell ASCII (comma delimited ASCII format) dBASE 11 DIF (Data
  9304. Interchange Format) Merge (word processing merge data file) dBASE
  9305. III/IV File Maker
  9306.  
  9307. Source File
  9308.  
  9309. Type the name of the source file. Use the Show Files option to
  9310. select the filename or to change the drive, extension, or path.
  9311. (See the explanation of Show Files under Nutshell in the beginning
  9312. of this section.)
  9313.  
  9314. Start Importing
  9315.  
  9316. Begins adding records from the source file.
  9317.  
  9318. Ditto Copies the contents of the same field in the record you last
  9319. displayed.
  9320.  
  9321. Validation Displays the field name and validation type for the
  9322. field containing the cursor. If the validation type is List, you
  9323. can copy an item from the list into the field by selecting the item
  9324. you want.
  9325.  
  9326. Preset Lets you preset field values that will be the same from
  9327. record to record. Nutshell automatically copies into each new
  9328. record the preset values you type.
  9329.  
  9330. Show Index Displays a list of words, numbers, or dates that have
  9331. been typed in other records in the field that contains the cursor.
  9332. To copy a value from the index into the same field in the Preset
  9333. screen, position the cursor next to the value you want and press ~.
  9334.  
  9335. Clear Clears the contents of the entire Preset screen.
  9336.  
  9337. Ditto to Copies the contents of the same field in the record you
  9338. last displayed .
  9339.  
  9340. Validation Displays the field name and validation type for the
  9341. field containing the cursor. If the validation type is List, you
  9342. can copy an item from the list into the field by selecting the item
  9343. you want.
  9344.  
  9345. Undo
  9346. Undoes any changes you have made to the field that contains the
  9347. cursor.
  9348.  
  9349. Zoom Lets you open and work with a hookup file without closing the
  9350. current file. When you select Zoom, Nutshell finds all the records
  9351. in the look up file whose match fields contain data that matches
  9352. data in the trigger fields of the current file. The first found
  9353. record in the hookup file is displayed. The hookup file now becomes
  9354. your current file, and remains so until you press Esc to return to
  9355. the file from which you Zoomed. After you've Zoomed to a hookup
  9356. file, you can define new fields, create new layouts, add, modify,
  9357. find, sort, and print records, just as if you had opened the file
  9358. from the Nutshell screen.
  9359.  
  9360. Override Accepts a value that does not match the validation
  9361. criteria defined for the field. (This option appears only if you
  9362. attempt to add a record or exit a field containing values that
  9363. don't match the validation criteria.)
  9364.  
  9365. Modify
  9366.  
  9367. Displays records that you can edit.
  9368.  
  9369. Show Index Displays a list of words, numbers, or dates that have
  9370. been typed in other records in the field that contains the cursor.
  9371. To copy a value from the index into the same field in the current
  9372. record, position the cursor next to the value you want and press J.
  9373.  
  9374. Ditto Copies the contents of the same field in the record you last
  9375. changed.
  9376.  
  9377. Validation Displays the validation type for the field containing
  9378. the cursor. If the validation type is List, you can copy an item
  9379. from the list into the field by selecting the item you want.
  9380.  
  9381. Undo Undoes any changes you have made to the field that contains
  9382. the cursor.
  9383.  
  9384. Zoom Lets you open and work with a look up file without closing the
  9385. current file. When you select Zoom, Nutshell finds all the records
  9386. in the look up file whose match fields contain data that matches
  9387. data in the trigger fields of the current file. The first found
  9388. record in the look up file is displayed. The look up file now
  9389. becomes your current file, and remains so until you press Esc to
  9390. return to the file from which you Zoomed. After you've Zoomed to a
  9391. look up file, you can define new fields, create new layouts, add,
  9392. modify, find, sort, and print records, just as if you had opened
  9393. the file from the Nutshell screen.
  9394.  
  9395. Override Accepts a value that does not match the validation
  9396. criteria defined for the field. (This option appears only if you
  9397. attempt to exit a field that contains a value that doesn't match
  9398. the validation criteria.)
  9399.  
  9400. Remove
  9401.  
  9402. Lets you delete records from the file.
  9403.  
  9404. One Record Permanently deletes the record you are viewing from the
  9405. file.
  9406.  
  9407. ALL Records or All Found Records Permanently deletes all the
  9408. records from the file when you are browsing all the records. If you
  9409. are browsing a set of found records, the menu option reads All
  9410. Found Records. Selecting the option deletes only the found records
  9411. from the file.
  9412.  
  9413. Sort
  9414.  
  9415. Lets you specify an order in which to display and print records. If
  9416. you don't specify an order, Nutshell displays records in the order
  9417. you originally added them to the file. Once you specify a sort
  9418. order, Nutshell saves the specification until you change it by
  9419. selecting either New Order or Modify Order.
  9420.  
  9421. Start Sorting Sorts the records according to the order you last
  9422. specified. Records remain in the sorted order until you add new
  9423. records, find records, sort records in a different order, or unsort
  9424. records. New Order Lets you create a new sort order. Any previous
  9425. sort order is replaced with the new order. Position the cursor next
  9426. to the field you want sorted first and press J, then select one of
  9427. the following options:
  9428.  
  9429. Ascending
  9430.  
  9431. Descending
  9432.  
  9433. Continue specifying as many fields as you need in the sort order.
  9434.  
  9435. Look up Lets you select a link, then shows a list of defined fields
  9436. in a look up file, letting you include fields from the look up file
  9437. in the sort order.
  9438.  
  9439. Return to Base File Shows a list of defined fields in your current
  9440. (base) file, letting you include fields from the current file in
  9441. the sort order.
  9442.  
  9443. Modify Order Lets you to specify changes to the existing sort
  9444. order.
  9445.  
  9446. Ad d Lets you add fields to the sort order. Position the cursor
  9447. next to the field you want to add and press J, then select one of
  9448. the following options:
  9449.  
  9450. Ascending
  9451.  
  9452. Descending
  9453.  
  9454. You can add as many fields as you need to the sort order.
  9455.  
  9456. Lookup Lets you select a link, then shows a list of defined fields
  9457. in a look up file, letting you add fields from the look up file to
  9458. the sort order.
  9459.  
  9460. Return to Base File Shows a list of defined fields in your current
  9461. (base) file, letting you add fields from the current file to the
  9462. sort order.
  9463.  
  9464. Move Lets you move fields to a different position in the sort
  9465. order.
  9466.  
  9467. Remove Lets you delete fields from the sort order.
  9468.  
  9469. Change Direction Lets you reverse the sorting direction (ascending,
  9470. descending) of any field in the sort order.
  9471.  
  9472. Unsort Returns sorted records to the order in which you added them
  9473. to the file. The current sort order is not removed.
  9474.  
  9475. Output
  9476.  
  9477. Lets you specify the output layout by pressing Pup or PgDn before
  9478. printing or exporting records.
  9479.  
  9480. Print Records Displays the following settings for printing records.
  9481. To change a setting, position the cursor next to the setting and
  9482. press return. The available options vary depending on the Printer
  9483. Model you select.
  9484.  
  9485. Destination
  9486.  
  9487. Type the device name for your printer: LPTl :, LPT2 :, or LPT3 :
  9488. for parallel printers, COME: or COME: for serial printers. To print
  9489. to your screen, type CON: . To create a print file, type a
  9490. filename; use Show Files H necessary to change the drive,
  9491. extension, or path.
  9492.  
  9493. Select the printer model that is attached to the device you
  9494. specified for Destination. Select Other H your printer model is not
  9495. listed, or if you want Nutshell to omit printer control codes, such
  9496. as when the Destination is a file that will be read by another
  9497. software application rather than sent to a printer.
  9498.  
  9499. Character Spacing
  9500.  
  9501. Set the characters per inch (cpi) by selecting Normal (10 cpi),
  9502. Compressed (17 cpi), Wide (5 cpi), or Wide Compressed (8.5 cpi).
  9503. The numbers in parentheses are the settings Tom most printers;
  9504. print a sample or check your printer manual to verify the numbers
  9505. for your printer.
  9506.  
  9507. Line Spacing
  9508.  
  9509. Select Normal to print 6 lines per inch, or Dense to print 8 lines
  9510. per inch.
  9511.  
  9512. Paper Length
  9513.  
  9514. Type the number of lines (1- 99, or 1-127, depending on your
  9515. Printer Model) that match the length of your paper, based on
  9516. whether you have chosen Line Spacing of Normal (6 lines per inch)
  9517. or Dense (8 lines per inch)
  9518.  
  9519. Pause between Pages Select Yes H you are printing on single sheets,
  9520. No if you are printing on continuous feed (fanfold or roll) paper.
  9521.  
  9522. Number of Labels
  9523.  
  9524. If you are printing mailing labels, type the number of labels
  9525. across (1-9) for the label stock you are using. Otherwise, leave
  9526. Number of Labels empty, or type 0 or 1.
  9527.  
  9528. Label Width
  9529.  
  9530. If you are printing mailing labels, type the number of characters
  9531. across (1-99) from the start of one label to the start of the next.
  9532. See Number C
  9533.  
  9534. Divide Body
  9535.  
  9536. If you want all of a body partition to print on one page then
  9537. select No. Select Yes,if you want body partitions to divide between
  9538. pages
  9539.  
  9540. Print
  9541.  
  9542. Prints records according to the current print settings
  9543.  
  9544. Resume Printing Continues printing after printing has been
  9545. interrupted. This option can also be used to begin printing at a
  9546. particular record; display the record on the Browse screen before
  9547. selecting Resume Printing.
  9548.  
  9549. Allen Paper Prints the header, as many bodies as can fit on one
  9550. page, and the footer using the Output Layout, substituting dots for
  9551. field contents. This is a convenient way to test printing on
  9552. pre-printed forms, or to create blank forms.
  9553.  
  9554. Number Columns Prints a count of characters across the page
  9555. according to the Character Spacing you specified, for the number of
  9556. lines that are in the body partition on the layout. This provides
  9557. a convenient way to measure Label Width for printing mailing
  9558. labels.
  9559.  
  9560. Export Records Displays the following settings for copying records
  9561. to another file (exporting records). To change a setting, position
  9562. the cursor next to the setting and press ~.
  9563.  
  9564. Select the file format in which you want Nutshell to export the
  9565. records:
  9566.  
  9567. Nutshell ASCII (comma delimited ASCII format) dBASE 11 DIF (Data
  9568. Interchange Format) Merge (word processing merge data file) dBASE
  9569. III/IV File Maker
  9570.  
  9571. Destination File
  9572.  
  9573. Type the name of the file you want Nutshell to create or replace.
  9574. Use the Show Files option to select the filename or to change the
  9575. drive, extension, or path. (See the explanation of Show Files under
  9576. Nutshell in the beginning of this section.)
  9577.  
  9578. Export Copies records to the Destination File you named, creating
  9579. a file with the Export Type you specified.
  9580.  
  9581. Resume Exporting Continues exporting after exporting has been
  9582. interrupted, by copying the remaining records to a new file. Type
  9583. the name of a new Destination File before selecting Resume
  9584. Exporting. This option can also be used to begin exporting at a
  9585. particular record; display the record on the Browse screen before
  9586. selecting Resume Exporting.
  9587.  
  9588. Layout
  9589.  
  9590. Displays an arrangement (layout) of fields and text that Nutshell
  9591. uses to display and print your records. You can create, edit, and
  9592. delete any number of layouts in order to see the same data in
  9593. different ways, such as form letters, reports, mailing labels,
  9594. invoices, and so on. Changing the layout does not affect your data,
  9595. only what you see on the screen or print.(
  9596.  
  9597. Move Relocates fields and text to the position you specify.
  9598. Indicate what you want to move by using the cursor keys to include
  9599. at least part of each field or unit of text in the rectangle
  9600. described by the cursor. Press return. Then position the cursor
  9601. where the new upper left corner should be and press return.
  9602.  
  9603. Inca use Displays a list of fields you have defined in the file. To
  9604. include a field on the layout at the location of the cursor, select
  9605. it from the list.
  9606.  
  9607. Look up Lets you select a link, then shows a list of defined fields
  9608. in a look up file. To include a look up field on the layout at the
  9609. location of the cursor, select it from the list.
  9610.  
  9611. Return to Base File Shows a list of defined fields in your current
  9612. (base) file, letting you include fields from the current file on
  9613. the layout.
  9614.  
  9615. Erase Removes fields and text from the layout. Indicate what you
  9616. want to erase by using the cursor keys to include at least part of
  9617. each field or unit of text in the rectangle described by the
  9618. cursor. Press return. Then confirm by pressing ~ again.
  9619.  
  9620. Reshape Changes the width and/or height of the field that contains
  9621. the cursor and tells Nutshell whether to remove empty characters or
  9622. lines at the end of the field when printing records. Move the
  9623. cursor to the new lower right corner to reshape the field, or
  9624. select one of the following options:
  9625.  
  9626. Height Variable Removes empty lines at the end of the field when
  9627. records are printed .
  9628.  
  9629. Width Variable Removes empty spaces at the end of a single-line
  9630. field when records are printed.
  9631.  
  9632. Fixed Size Uses the amount of space shown for the field on the
  9633. layout when records are printed. Empty lines or spaces are not
  9634. removed.
  9635.  
  9636. Highlight Lets you choose character styles for display and printing
  9637. of fields and text. Indicate what you want to highlight by using
  9638. the cursor keys to include at least part of each field or ugh of
  9639. text in the rectangle described by the cursor, then press ~. A
  9640. different set of menu options is available for a color display than
  9641. the set available for a monochrome display, as described below.
  9642.  
  9643. If you are using a monochrome monitor, you can select any of the
  9644. following character styles for the display of fields and text.
  9645. These characteristics also apply when records are printed, subject
  9646. to the capabilities of your printer.
  9647.  
  9648. Normal
  9649. Bold
  9650. Underline
  9651. Underline Bold
  9652.  
  9653. If you are using a color monitor, you can select color and
  9654. brightness for the display of fields and text. When records are
  9655. printed, the colors you see on the screen are translated into the
  9656. following character styles subject to the capabilities of your
  9657. printer:
  9658.  
  9659. Format Causes data in fields to be displayed and printed in the
  9660. format you specify.
  9661.  
  9662.  
  9663. Justification Aligns data in the field in one of the following
  9664. three positions:
  9665.  
  9666. Left ∙ Right ∙ Center
  9667.  
  9668. (for Number fields, or Calculation fields with a number result, or
  9669. Summary fields):
  9670.  
  9671. Currency Sign
  9672.  
  9673. Displays and prints a currency sign in front of a number, and
  9674. prints negative numbers with parentheses around them.
  9675.  
  9676. Yes
  9677. $,DO,FE,£,Sfr,f,os,Lit,P,kr,v,E,l£,Kc,Z
  9678.  
  9679. No
  9680. Commas
  9681.  
  9682. Displays and prints a comma every three digits to the left of the
  9683. decimal point.
  9684.  
  9685. Yes
  9686. No
  9687.  
  9688. Number of Digits
  9689.  
  9690. Rounds numbers to the number of digits you specify to the right of
  9691.  
  9692. the decimal point. Nutshell stores all the digs in the field; the
  9693. Format option only affects what is displayed and printed.
  9694.  
  9695. (for Date or Time fields or Calculation fields why a date or time
  9696. result):
  9697.  
  9698. Date Style Displays and prints dates in one of the following
  9699. styles:
  9700.  
  9701. Unformatted Date Exactly the way you typed the date in the field ∙
  9702. 3/04/90 ∙ Mar 4, 1990 ∙ March 4,1990 ∙ FBI, Mar., 1990 ∙ Friday,
  9703. March 4,1990 ∙ 04MAR90
  9704.  
  9705. Time Style Displays and prints time in one of the following styles:
  9706.  
  9707. Unformatted Time Exactly the way you typed the time in the field ∙
  9708. 13:30 ∙ 1 3:30:00 ∙ 01 :30am ∙ 01 :30:00pm
  9709.  
  9710. Partition Lets you designate sections on the layout to control how
  9711. your records will be printed. Nutshell initially adds an empty
  9712. header and footer of six lines each to the standard layout; you can
  9713. change these by creating different partitions or by deleting
  9714. partitions. The type of partition for each line of the layout is
  9715. listed to the right of the line. A line that has no parathion name
  9716. listed next to H will not be printed. Each partition can contain
  9717. fields, layout text, and empty lines.
  9718.  
  9719. Create Partition Forms a partition of the type you specify.
  9720. Indicate the lines to include in the partition by pressing 1
  9721. (Cursor Up) or  (Cursor Down). Select the partition you want from
  9722. the following options:
  9723.  
  9724. Header
  9725.  
  9726. The header is printed once at the top of each page. To have
  9727. Nutshell print page numbers in the header, type two number signs
  9728. (##) in the header. To have Nutshell print the system date or the
  9729. system time, type two slashes (//) or two colons (::) respectively.
  9730. To create a top margin for the page, include empty lines in the
  9731. header.
  9732.  
  9733. Body
  9734.  
  9735. The body is printed once for each record, for as many records as
  9736. will fit on the page.
  9737.  
  9738. Sub-summary
  9739.  
  9740. When the records are sorted, the sub summary partition is printed
  9741. once for each group of records which have the same value in the
  9742. sort field. Select the field you will sort by from the list of
  9743. defined fields that Nutshell displays. To select a look up field,
  9744. use Look up. To select a field from the base file, select Return to
  9745. Base File.
  9746.  
  9747. Grand Summary
  9748.  
  9749. The grand summary is printed once for all the records.
  9750.  
  9751. Footer
  9752.  
  9753. The footer is printed once at the bottom of each page. Two number
  9754. signs (##) slashes (/1) or colons (::), respectively can be used in
  9755. the footer exactly as in the header. To create a bottom margin for
  9756. the page, include empty lines in the footer.
  9757.  
  9758. Fixed Height
  9759.  
  9760. Uses the amount of space shown for the partition on the layout
  9761.  
  9762. when records are printed
  9763.  
  9764. Variable Height Removes empty lines at the end of the partition
  9765. when records are printed.
  9766.  
  9767. Unique Prevents two records from having identical values in the
  9768. field.
  9769.  
  9770. Must Enter Signifies that the field must contain a value.
  9771.  
  9772. None Suspends the use of any validation criteria that have been
  9773. defined for the field. If you have defined a list or range of valid
  9774. values, you can select List or Range again to reinstate the
  9775. criteria.
  9776.  
  9777. Link Files Lets you create, modify, and delete links.
  9778.  
  9779. Create Creates a new link. Type the name of the file you want to
  9780. link to the current file, or select Show Files, move the cursor to
  9781. the name of the file you want to select and press ~. Then select
  9782. the name of a match field and the name of a trigger field.
  9783.  
  9784. Displays a list of files in the current directory. Select a file to
  9785. link to the current file by positioning the cursor to the left of
  9786. the filename. Show Files provides the options Drive, Extension, and
  9787. Path, which can be used to change the drive specified, the
  9788. extension, or the directory in order to display and select a file.
  9789.  
  9790. Modify Lets you change a link definition. You can change the name
  9791. of the look up file, the match field, and the trigger field in a
  9792. link definition by editing the names or by selecting new names.
  9793.  
  9794. Add Field Pair Lets you add a flew pair (a trigger field and a
  9795. match field) to an existing link.
  9796.  
  9797. Delete Lets you delete field pairs and link definitions that you
  9798. specify.
  9799.  
  9800. Zoom
  9801.  
  9802. Lets you open and work with a look up file without closing the
  9803. current file. When you select Zoom, Nutshell finds all the records
  9804. in the look up file whose match fields contain data that matches
  9805. data in the trigger fields of the current file. The first found
  9806. record in the look up file is displayed. The look up file now
  9807. becomes your current file, and remains so until you press Esc to
  9808. return to the file from which you Zoomed. After you've Zoomed to a
  9809. look up file, you can define new fields, create new layouts, add,
  9810. modify, find, sort, and print records, just as H you had opened the
  9811. file from the Nutshell screen.
  9812.  
  9813. Macros (F9)
  9814.  
  9815. Pressing the F9 key from any Nutshell screen displays the Macros
  9816. screen. The Macros screen is the hub of the macro menu network,
  9817. providing the route to each of the basic activities involved in
  9818. creating, modifying, and deleting macros. The Macros screen
  9819. displays a list of the names of all macros in the current file. To
  9820. play back a macro from the Macros screen, position the cursor next
  9821. to the macro you want, then press ~.
  9822.  
  9823. Start Recording Lets you create a new macro. First type the name of
  9824. the macro, then press
  9825.  
  9826. You can now start recording macro steps, macro functions, and other
  9827. macros. When you've finished recording macro steps, press F9, then
  9828. select Stop Recording.
  9829.  
  9830. Keystrokes Lets you type keystrokes that Nutshell records as macro
  9831. steps. Any keystroke you type - to select Nutshell options, to move
  9832. the cursor, or to type characters - is recorded for later playback.
  9833.  
  9834. Macro Functions Lets you record one of Nutshell's macro functions:
  9835.  
  9836. Delete Partition Deletes the partition that contains the cursor.
  9837.  
  9838. Create
  9839.  
  9840. Creates a new layout that you select from the following options:
  9841.  
  9842. Copy of This Layout Creates a copy of the displayed layout.
  9843.  
  9844. Standard
  9845. Standard Layout Creates a layout that displays all of your fields
  9846. in the order you defined them, with adjacent layout text that
  9847. matches each field name. Nutshell provides an initial field length
  9848. for each type of field, which you can change by selecting Reshape.
  9849.  
  9850. Empty Layout Creates an empty layout that you can use to position
  9851. each field and unit of text individually, rather than modifying an
  9852. existing layout.
  9853.  
  9854. Delete Deletes the displayed layout.)
  9855.  
  9856. Define
  9857.  
  9858. Lets you create and delete fields, modify field definitions,
  9859. specify validation criteria for checking data, and define links to
  9860. look up files. To use any of the options except Create, or Link
  9861. Files, first position the cursor next to the tied you want the
  9862. option to apply to.
  9863.  
  9864. Create Creates a new field. Type a name for the flew, then specify
  9865. the type of data the field is to contain by selecting from the
  9866. following options:
  9867.  
  9868. Text A text field can contain anything you can type, and can be
  9869. many lines, even pages, in length.
  9870.  
  9871. Number A number field can contain one number. You can have Nutshell
  9872. perform and update calculations and summaries of your data
  9873. automatically, by using number fields to build formulas. See the
  9874. descriptions of Calculation and Summary below.
  9875.  
  9876. Date A date field can contain one date typed in the format
  9877. mm/Dad/ye or mm/Dad/yyyy, such as 2/14/90 or 2/14/1890.
  9878.  
  9879. Time A time field can contain one time typed in the format
  9880. huh:mm:Siam or huh:sup, such as 1 :30:00A M or 1 :30P. In either 24
  9881. or 12 hour format, H less than 13:00 then you must include either
  9882. an A, or P (A M or PM)
  9883.  
  9884. Calculation For each record, Nutshell automatically calculates the
  9885. contents of a calculation field based on a formula that you
  9886. specify. The formula can contain previously defined number, date,
  9887. time, or calculation fields, look up fields, numbers, and symbols
  9888. for the following arithmetic operations: multiply (~), divide (I),
  9889. subtract (-), add (+), and exponentiate (~). Use parentheses H
  9890. needed to indicate the order in which operations should be
  9891. performed.
  9892.  
  9893. Displays a list of all the fields you have defined in this file.
  9894. Select the name of a number or calculation field to be used in the
  9895. formula. To select a look up field, use Look up. To later select a
  9896. field from the base file, select Return to Base File.
  9897.  
  9898. Round Result Rounds the number result of a calculation. Select No
  9899. Rounding to restore a rounded calculation result to its unrounded
  9900. value.
  9901.  
  9902. Summary Nutshell automatically calculates the contents of a summary
  9903. field based on a summary formula that you specify. Nutshell can
  9904. summarize a field for all the records, for a group of found
  9905. records, or for groups within sorted records. Select the type of
  9906. summary you want from the following optional then select the field
  9907. you want summarized.
  9908.  
  9909. Total
  9910.  
  9911. Adds the values in the number or calculation field with a number
  9912. result that you specify.
  9913.  
  9914. Average
  9915.  
  9916. Calculates the average of the values in the number or calculation
  9917. field that you specify.
  9918.  
  9919. Count
  9920.  
  9921. Counts the records that contain a value in the text, number, date,
  9922. or calculation field that you specify.
  9923.  
  9924. Modify Lets you change a field's name, type, or formula.
  9925.  
  9926. Name Lets you change the name of a field by editing the name or by
  9927. typing a new name.
  9928.  
  9929. Type Lets you change the type of a field by selecting a new type.
  9930.  
  9931. Formula Lets you change the formula Nutshell uses to calculate the
  9932. value in a calculation field or a summary field. To modify a
  9933. calculation formula, edit the formula that Nutshell displays. To
  9934. modify a summary formula, respecify the formula.
  9935.  
  9936. Delete Permanently deletes a field and all the data it contains.
  9937.  
  9938. Validate
  9939.  
  9940. Validate Lets you specify criteria for Nutshell to use in checking
  9941. data in a text, number, date, or time field. Once you define the
  9942. criteria, you can find records containing values that don't match
  9943. the criteria. When you add new records or modify existing ones,
  9944. Nutshell alerts you to fields that contain invalid values. For each
  9945. field you can choose to correct the value or to override the
  9946. criteria for the current record. After selecting Validate, select
  9947. the Validation Type from the following options:
  9948.  
  9949. List Lets you type a list of values that are acceptable in the
  9950. field. When you add or modify records, you can select a value from
  9951. the list rather than typing it. Use the following options to manage
  9952. the list:
  9953.  
  9954.  Add
  9955.  
  9956. To create a new list or add items to a list.
  9957. Modify
  9958.  
  9959. To edit an item in the list.
  9960.  
  9961. Remove
  9962. Delete items from the list. Select One Item or ALL Items.
  9963.  
  9964. List Off
  9965.  
  9966. To suspend use of the list to validate data. Nutshell stores the
  9967. list, and you can activate it by selecting List again.
  9968.  
  9969. Range Lets you define a range of values that are acceptable in the
  9970. field. Use the following options to create or modify the range:
  9971.  
  9972. Smallest
  9973.  
  9974. To type the smallest value that you want Nutshell to accept in the
  9975. field, such as the word that comes first in alphabetical order, the
  9976. lowest number, or the earliest date or time
  9977.  
  9978. Largest
  9979.  
  9980. To type the largest value that you want Nutshell to accept in the
  9981. field, such as the word that comes last in alphabetical order, the
  9982. highest number, or the latest date or time.
  9983.  
  9984. Range Off
  9985.  
  9986. To suspend use of the range to validate data. Nutshell stores the
  9987. range specification, and you can activate selecting Range again.
  9988. Repeat for Each Page ∙ Message to User ∙ Keystrokes by User ∙ Copy
  9989. to Clipboard ∙ Paste from Clipboard ∙ Date from System ∙ Time from
  9990. System ∙ Beep ∙ Escape Key
  9991.  
  9992. Other Macros
  9993.  
  9994. Lets you incorporate a macro within another macro. You can either
  9995.  
  9996. select the name of the macro you want to incorporate, or you can
  9997. type the macro's nickname.
  9998.  
  9999.  View
  10000.  
  10001. Lets you view the steps of a macro.
  10002.  
  10003. Stop Recording Lets you stop recording keystrokes, macro functions,
  10004. or other macros.
  10005.  
  10006. Nickname Lets you give a macro a nickname. A nickname is a single
  10007. keystroke that you can type to invoke a macro directly while you're
  10008. working with Nutshell. To nickname a macro, position the cursor
  10009. next to the macro you want to nickname, select Nickname, then type
  10010. one of the unassigned function keys or one of the key combinations
  10011. that are available for macro nicknames. You can use any of the
  10012. following keys or key combinations as a nickname:
  10013.  
  10014. Ctrl-any letter key
  10015. F3 - F8
  10016. Shift-F1- Shift-F10
  10017. Alt-F1 - Alt- F10
  10018. Ctrl-F1- Ctrl-F10
  10019.  
  10020. Rename Lets you change the name of a macro. Position the cursor
  10021. next to the macro whose name you want to change, select Rename,
  10022. then type the new name and press return.
  10023.  
  10024. Modify Lets you make changes to a macro by inserting new macro
  10025. steps and by deleting steps you don't need.
  10026.  
  10027. Insert Lets you start recording keystrokes, macro functions, and
  10028. other macros. When you've finished recording macro steps, press F9,
  10029. then select Stop Recording.
  10030. Keystrokes
  10031.  
  10032. Lets you type keystrokes that Nutshell records as macro steps. Any
  10033. keystroke you type - to give Nutshell commands, to move the cursor,
  10034. or to type characters - is recorded for later playback.
  10035. Macro Functions
  10036.  
  10037. Lets you record one of Nutshell's macro functions.
  10038.  
  10039. Other Macros
  10040.  
  10041. Lets you incorporate a macro within another macro. You can either
  10042. select the name of the macro you want to incorporate, or you can
  10043. type the macro's nickname.
  10044.  
  10045. View
  10046.  
  10047. Lets you view the steps of a macro.
  10048.  
  10049. Stop Recording Lets you stop recording keystrokes, macro functions,
  10050. or other macros.
  10051.  
  10052. Delete Lets you delete macro steps from the Macro Steps screen.
  10053. Position the cursor next to the step you want to delete, then
  10054. select Delete.
  10055.  
  10056. Delete Lets you delete a macro from the Macros screen. Position the
  10057. cursor next to the macro you want to delete, select Delete, then
  10058. press return to confirm the deletion .
  10059.  
  10060. What's New In Nutshell Plus
  10061.  
  10062. Appendix A: What's New In Nutshell Plus and Nutshell Plus 11
  10063.  
  10064. Appendix A contains two sections. The first section summarizes
  10065. additions that have been made to the original Nutshell products,
  10066. Version 1.0 and 2.0; the second section summarizes additions that
  10067. have been made to Nutshell Plus II Version 2.0. Those who are
  10068. already familiar with any of the earlier versions of Nutshell or
  10069. Nutshell Plus can refer to the appropriate list below for a brief
  10070. description of each enhancement.
  10071.  
  10072. In addition to the new features mentioned here, Nutshell Plus has
  10073. been given a ~tune-up" to improve speed of operation, clarify
  10074. screen messages, update the online help screens, and make the
  10075. product more convenient to use.
  10076.  
  10077. Nutshell Version 1.0 and 2.0 files are compatible with Nutshell
  10078. Plus.
  10079.  
  10080. Section One: What's Changed Between Nutshell Version 1.0 and 2.0
  10081. and Nutshell Plus Version 1.0
  10082.  
  10083. This section summarizes what has been added to the original
  10084. Nutshell Version 1.0 and 2.0 product to create Nutshell Plus
  10085. Version 1.0.
  10086.  
  10087. To Run Nutshell Plus
  10088.  
  10089. You now type nut plus to run Nutshell Plus. See Installing and
  10090. Running Nutshell.
  10091.  
  10092. Appendix A
  10093.  
  10094. Look up Files
  10095.  
  10096. You can now link one or more files together by defining links to
  10097. look up files. For general information about working with lookup
  10098. files see Concepts of Using Look up Files. For information about
  10099. how to create, modify, or remove links between files, see Defining
  10100. Links Between Files, and Changing or Deleting Links Between Files 
  10101.  
  10102. ∙ Zoom - When two files are linked, you can open the linked file
  10103. while you are browsing, adding, or modifying records, without first
  10104. having to close the file you're currently using. See Displaying,
  10105. Adding, and Editing Information in Look up Files.
  10106.  
  10107. Output from Look up Flues - When fields from a look up file are
  10108. displayed on the layout you're using to print or export,
  10109. information in those fields is also printed or exported along with
  10110. information in fields of the current file. See Preparing for
  10111. Printing, and Copying to Another flue.
  10112.  
  10113. Look up Fields - You can use fields from a look up file whenever
  10114. you are selecting fields:
  10115.  
  10116. To include on the current layout. See Adding Fields to a Layout.
  10117.  
  10118. To use in a calculation. See Calculation Fields.
  10119.  
  10120. To add to the sort order. See Creating a New Sort Order.
  10121.  
  10122. To use when sub-summarizing data in a partition. See Creating and
  10123. Changing Partitions.
  10124.  
  10125. Macros
  10126.  
  10127. Macros let you substitute a single keystroke for a longer sequence
  10128. of keystrokes that you would otherwise use to accomplish a related
  10129. group of tasks. You gain access to the Macro screen and its menus
  10130. by pressing F9. For information on creating and using macros, see
  10131. the chapter Automating Tasks Using Macros.
  10132.  
  10133. Improved Layout Options
  10134.  
  10135. The following features have been added to enhance the Layout
  10136. option:
  10137.  
  10138. Variable Height for Partitions - To save paper when printing
  10139. different-sized records, you can specify partitions to be Variable
  10140. Height. See the sections Deciding Where to Place Information, and
  10141. Creating and Changing Partitions.
  10142.  
  10143. Printing Page Number, Date, and Time In Headers and Footers - By
  10144. typing special characters on the layout, you can tell Nutshell to
  10145. print page numbers, the current date, and the current time at the
  10146. top and the bottom of each new page. See the sections Header, and
  10147. Footer.
  10148.  
  10149. Copying a Layout - When you copy a layout in order to create a new
  10150. layout, all settings for printing, importing, and exporting are
  10151. copied in the current layout to the new layout. See Preparing for
  10152. Printing, Copying from Another File, and Copying to Another File.
  10153.  
  10154. Improved Formatting - You can now specify left, right, and center
  10155. justification for all field types. In addition, for number fields
  10156. and calculation fields with a number result you can separately
  10157. specify a dollar sign, commas to indicate thousands, and the number
  10158. of digits to the right of the decimal point you want to round to.
  10159. For date fields and calculation fields with a date result you can
  10160. specify a Date Style. See Formatting Fields.
  10161.  
  10162. Validation of Data
  10163.  
  10164. By using the Validate option on the Define screen, you can specify
  10165. criteria that data typed in text, number, or date fields must
  10166. match. When you add or modify records, Nutshell checks the data
  10167. against your criteria. Validation types are:
  10168.  
  10169. List - Specifies a list of valid values for a field.
  10170.  
  10171. Range - Specifies the smallest and largest values acceptable in a
  10172. field.
  10173.  
  10174. Unique - Specifies that duplicate values are not allowed in a
  10175. field.
  10176.  
  10177. Must Enter Specifies that a field must contain data.
  10178.  
  10179.  Appendix A
  10180.  
  10181. To specify validation criteria, see Setting Criteria for Checking
  10182. the Accuracy of Information. To change criteria, see Changing or
  10183. Removing Validation Criteria. For information on overriding
  10184. validation criteria or copying from a validation list, see
  10185. Check<ins for Validity of Information. For instructions on finding
  10186. invalid records, see Finding Records That Don~t Match Validation
  10187. Criteria.
  10188.  
  10189. New Printing Options
  10190.  
  10191. Nutshell now supports over 35 printer models, which you will see
  10192. listed when you specify the printer model setting. See Printer
  10193. Model. In addition, the following features have been added to
  10194. enhance printing:
  10195.  
  10196. Print to the Screen - By specifying CON: as the destination, you
  10197. can have Nutshell print to your screen instead of to a file or to
  10198. a printer. See Destination.
  10199.  
  10200. Mailing Labels - You can print mailing labels up to nine across.
  10201. See Printing Mailing Labels.
  10202.  
  10203. Eliminate Empty Space Between Fields - To print mailing labels and
  10204. form letters without gaps between fields, you can reshape fields to
  10205. be Height Variable or Width Variable. See Removing Empty Space from
  10206. Printed Fields.
  10207.  
  10208. Summaries and Sub-summaries Before and After the records - You can
  10209. have Nutshell print sub-summary or summary information before the
  10210. records by placing a sub-summary partition or a grand summary
  10211. partition above the body partition. See Grand Summary and Sub-
  10212. summary.
  10213.  
  10214. Page Breaks - By typing a special character on the layout, you can
  10215. specify where Nutshell is to start printing a new page. See Body,
  10216. Grand Summary, and Sub- summary.
  10217.  
  10218. Pause Between Pages - A setting has been added for single sheet
  10219. printing so you can have Nutshell stop after printing each page
  10220. while you feed a new sheet of paper into the printer. See Pause
  10221. Between Pages.
  10222.  
  10223. Test Pattern - By using the Number Columns option, you can have
  10224. Nutshell print a pattern that shows how data will be printed
  10225. according to the Line Spacing and Character Spacing settings you
  10226. have selected. This is especially useful for ensuring that mailing
  10227. labels will be printed correctly. See Printing Mailing Labels.
  10228.  
  10229. Align Paper - The Align Paper option prints periods instead of
  10230. underscores to indicate field contents so you can easily see how
  10231. many characters fit in each field. It also prints a whole page with
  10232. header, bodies (including bodies across the page when you use the
  10233. Number of Labels setting), and footer. See the sections Printing
  10234. Records, and Printing Mailing Labels.
  10235.  
  10236. Ditto Option
  10237.  
  10238. When you are adding or modifying data, you can use the Ditto option
  10239. to copy data from a field in another record. For information on
  10240. using Ditto while adding records, see Copying Information from
  10241. Another Record. For differences pertaining to using Ditto while
  10242. modifying records, see Changing the Information in a Record.
  10243.  
  10244. Preset Option
  10245.  
  10246. When you are adding data, you can use the Preset option to type ~n~
  10247. the field values that will be the same from record to record.
  10248. Nutshell automatically copies those values into each new record for
  10249. you. See Specifying Preset Field Values.
  10250.  
  10251. Undo Option
  10252.  
  10253. When modifying a field value, you can undo changes you have made,
  10254. by using the Undo option. See Changing the Information in a Record.
  10255.  
  10256. Show Files Option
  10257.  
  10258. Within Nutshell you can now use the Show Files option to see and
  10259. select files, directories, and drives. Information about using Show
  10260. Files is included in the section Creating a New File and the
  10261. section Opening an Existing File.
  10262.  
  10263. Change Field Type
  10264.  
  10265. You can now change a field's type as well as a field's name and
  10266. calculation formula. See Changing a Field Type.
  10267.  
  10268. The following features have been added to enhance the capabilities
  10269. of calculation fields:
  10270.  
  10271. Formulas - Calculation formulas can now be 250 characters long.
  10272. While you are building a formula, you can use the Select Field
  10273. option to select field names from a list instead of typing them.
  10274.  
  10275. Calculations Using Date Fields - You can have Nutshell perform
  10276. calculations using date fields as well as number fields.
  10277.  
  10278. Rounding Result of Calculations - You can have Nutshell round the
  10279. result of a calculation before it stores the result in a
  10280. calculation field.
  10281.  
  10282. Exponentlation - You can use the exponentiation symbol(~) to have
  10283. Nutshell raise a number to a power.
  10284.  
  10285. See the section Calculation Fields.
  10286.  
  10287. Improved Finding
  10288.  
  10289. Greater Than and Less Than - Use ~= and c= for "greater than or
  10290. equal Tom and "less than or equal to.~ Use, and ~ for ~greater
  10291. thank and bless than." See Finding Values Greater Than or Less Than
  10292. a Given Value.
  10293.  
  10294. Clear Find Pattern - You can now choose whether to clear one page
  10295. of a find pattern, or all pages, including any Also Find pages. See
  10296. Changing or Erasing Criteria.
  10297.  
  10298. No Records Match - When Nutshell can find no records that match a
  10299. find pattern, it now displays the Browse screen. All records are
  10300. available for browsing. See Creating a Pattern for Finding Records.
  10301.  
  10302. Improved Sorting
  10303.  
  10304. The Sort menu has been improved for ease of use. You can make
  10305. changes to the current sort order without first having to clear it
  10306. and start over. You can also use the Unsort option to unsort
  10307. records without removing the sort order. See the chapter Sorting
  10308. Information.
  10309.  
  10310. Closing a File - Nutshell now asks for confirmation before closing
  10311. a file. See Closing a File and Exiting Nutshell.
  10312.  
  10313. Printing and Exporting - Menus for printing records and exporting
  10314. records have been improved for ease of use. See Printing
  10315. Information and Copying Information To and From Other Files.
  10316.  
  10317. Names of Options - Names of some menu options have been changed for
  10318. clarity. Consult the detailed menu map on page 288, or the Menu
  10319. Options section of the Quick Reference.
  10320.  
  10321. Printing Vertical Lists.- You can use Ctrl-PrtSc (Print Screen) to
  10322. send a copy of a vertical list to your printer. See The Keyboard.
  10323.  
  10324. Horizontal Scroll  When a line is too long to fit on your screen,
  10325. you can use the  cursor Right) and  (Cursor Left) keys to scroll
  10326. the data.
  10327.  
  10328. Utilities Program
  10329.  
  10330. Nutshell Plus comes with a utilities program called NUTUTILS which
  10331. performs two functions:
  10332.  
  10333. Compress - To reorganize files to conserve disk space.
  10334.  
  10335. Recover - To recover information from damaged files.
  10336.  
  10337. Utilities.
  10338. This section summarizes the additions, corrections and improvements
  10339. to Nutshell Plus Version 1.0 to create Nutshell Plus II Version 2.0
  10340.  
  10341. Nutshell Version 1.0 and Version 2.0 and Nutshell Plus Version 1.0
  10342. files are compatible with Nutshell Plus II Version 2.0.
  10343.  
  10344. New Improved Speed
  10345.  
  10346. There has been a dramatic speed improvement in the following areas
  10347. of Nutshell Plus Version 2:
  10348.  
  10349. Multi-field finds have been sped up. Some test databases have shown
  10350. a 10:1 Improvement In performance.
  10351.  
  10352. Multi-field links have been sped up. Again a 10:1 Improvement ratio
  10353. has been shown on some test databases.
  10354.  
  10355. Browse screens that include multi-field look ups has also been sped
  10356. up by about a 10:1 ratio.
  10357.  
  10358. Adding or Modifying screens that rely upon multi field look ups to
  10359. include data from linked files has likewise been sped up.
  10360.  
  10361. A 5:1 speed improvement has been recorded with some test databases
  10362. when doing Sorts that use multi-field links.
  10363.  
  10364. Output operations either printing or exporting have also been sped
  10365. up when extracting data from files with multiply linked fields.
  10366.  
  10367. New Import and Export Formats
  10368.  
  10369. dBASE III/IV option allows you to import or export records from
  10370. either dBASE III, dBASE III Plus, or dBASE IV files See the
  10371. sections Import from File, and Export Type.
  10372.  
  10373. FlleMaker option allows you to import or export records from
  10374. FileMaker, without changing format, and text files from MacWrite~,
  10375. and from Microsoft~ Word.
  10376.  
  10377. A new field type has been added to the Define option: Time can be
  10378. selected as a field type. This flew will accept a value ranging
  10379. from 00:00:00 to 23:59:59. See Time Field.
  10380.  
  10381. Time fields can be used to record events which are measured in time
  10382. values. For example Starting and Stopping times can be entered into
  10383. a time log type database. It can also be used to record times for
  10384. procedures such a flat rate type database.
  10385.  
  10386. Time fields can also be used in calculations, for example a Stop
  10387. Time subtracted from a start time will result in elapsed time.
  10388. Within the range of the time field, time values can be added to
  10389. produce an overall time result.
  10390.  
  10391. New Printing Function
  10392.  
  10393. Divide Body allows you to select whether to print part of a body
  10394. partition on one page and the remainder on the next page whenever
  10395. the last body on a page is too large too fit on the page.
  10396. Alternately by not selecting divide body the operation of Nutshell
  10397. Plus 11 is the same as the current version of Nutshell Plus. See
  10398. Divide Body.
  10399.  
  10400. Page Eject Oversize Bodies: Nutshell Plus 11 will now automatically
  10401. skip to the next page whenever the body partition is physically
  10402. larger than the current page when the page length is exceeded. This
  10403. will permit headers and footers to print for such oversize body
  10404. partitions. It will also allow correct operation of the Pause
  10405. Between Pages option for oversized body partitions (i.e. partitions
  10406. whose total size is greater than page length.)
  10407.  
  10408. Variable Length Support:Printers which do not support variable
  10409. length page sizes when doing a top of form eject in hardware are
  10410. now supported by Nutshell Plus II.in software
  10411.  
  10412. Embedding Special Printer Control Codes: Special embedded control
  10413. codes for invoking printer options can now be embedded directly
  10414. into layouts. An additional macro function has been added to
  10415. facilitate this feature (see Escape Key Macro Function.) See
  10416. Printing for examples of using this feature.
  10417.  
  10418. Escape Key: A new macro function has been added named Escape Key.
  10419. Normally typing escape causes an exit from the current form or
  10420. layout. This function allows you to type an Escape Character
  10421. directly on the layout. This is useful as it simplifies creating
  10422. special codes to control printing, since most of these codes
  10423. require an escape key character.
  10424.  
  10425. New Finding Functions
  10426.  
  10427. Several new find features plus more speed have been incorporated
  10428. into Nutshell Plus II version 2.
  10429.  
  10430. Find Empty Fields - Use = with no values to find fields that are
  10431. empty. See Finding Empty Fields.
  10432.  
  10433. Find Non Empty Fields - Use <>= with no values after it to find all
  10434. records in file that contain a value in that field. See Finding
  10435. Fields
  10436.  
  10437. Find Not Equal to Use <> plus value in find field to find all
  10438. records whose value in that field does not equal the value typed.
  10439. See Finding Records That Don't Match.
  10440.  
  10441. New Improved speed in multi-field finds ( or multiple values in the
  10442. same field ). A 10:1 improvement performance has been demonstrated
  10443. on some test databases.
  10444.  
  10445. New Calculation Field Options
  10446.  
  10447. The following new features have been added to enhance the
  10448. capabilities of calculation fields:
  10449.  
  10450. Time Field Calculations: You can have Nutshell Plus II perform
  10451. calculations using time fields as well as number and date fields
  10452.  
  10453. What's New In Nutshell Plus
  10454.  
  10455. Constant Calculations: You can have Nutshell Plus II perform
  10456. calculations using a constant time by enclosing the time desired in
  10457. square brackets. For example to add one hour and thirty minutes to
  10458. start time to allow for driving time from shop to job location the
  10459. formula would appear as, start time + [ O 1 : 3 O : O Ox ] .
  10460.  
  10461. New Layout Option
  10462.  
  10463. Copying Portions of a Layout: Layouts or parts of layouts can be
  10464. copied to a new or existing layout in the same file or between
  10465. linked files by using the copy and paste to cupboard feature in
  10466. Nutshell Plus II. This new feature allows you to highlight only the
  10467. text and fields you wish to copy to another layout in the same file
  10468. or linked files and then paste H to the layout. Copying to a new
  10469. linked file requires that the fields being copied are already
  10470. Defined in the new file.
  10471.  
  10472. New Preset Option
  10473.  
  10474. A new CLEAR OPTION has been add to remove all preset values. In
  10475. previous versions H was necessary to move to each field and use the
  10476. delete key to remove these values.. See Specifying Preset Field
  10477. Values.
  10478.  
  10479. New Format Options
  10480.  
  10481. The following new features have been added to enhance the Format
  10482. option:
  10483.  
  10484. Currency Sign Fifteen different national currency symbols are now
  10485. available when formatting number fields that represent money
  10486. amounts.
  10487.  
  10488. Date Fields - You can now use a new format option to specify that
  10489. Nutshell Plus II display and print the date in military format of
  10490. DDMMMYY. For Example, 1/1/90 will appear as 01JAN90 See the
  10491. sections Formatting Dates, and Date Fields.
  10492.  
  10493. Time Fields - When you create a new time field on the current
  10494. layout you can specify the following format options. 01:30P .
  10495. See Time Fields, Formatting Time.
  10496.  
  10497. Improved Add Screen
  10498.  
  10499. Occasionally an invalid value could be inserted into a record
  10500. whenever a Preset, Zoom, or Import from file was performed before
  10501. completing a field. This has now been fixed and the add screen will
  10502. restore to the field after any intervening procedure at which point
  10503. the field will be validated upon completion.
  10504.  
  10505. Improved ASCII Options
  10506.  
  10507. Importing from ASCII when a field ended with a carriage return
  10508. eventually caused "Too many files are open. This has been fixed.
  10509.  
  10510. Improved Copy and Paste to Clipboard
  10511.  
  10512. Layouts can be copied between existing linked files by using the
  10513. copy and paste to clipboard feature in Nutshell Plus II.
  10514.  
  10515. An error in file in layout when copying a field name from the
  10516. Include list and then trying to Paste it into the layout has been
  10517. corrected.
  10518.  
  10519. Improved Format Function
  10520.  
  10521. You can now specify right, and/or center justification for all
  10522. field types along with variable height. In previous versions this
  10523. would sometimes result in a spurious blank line when used in a
  10524. variable height partition and the field(s) was empty and the
  10525. remainder of the print line was also empty. This has been fixed and
  10526. if all the prior conditions are met then no print line will be
  10527. produced and following text will be closed up. See Formatting
  10528. Fields.
  10529.  
  10530. Improved Look up Files
  10531.  
  10532. Zoom - When using zoom if you opened or zoomed to a large number of
  10533. files this would eventually produce "Too many files are open" which
  10534. would cause the system to crash. This has been corrected .
  10535.  
  10536. Improved Multi-line Fields
  10537.  
  10538. When beginning to type in a Multi-line field, pressing backspace
  10539. from the first position of the second or subsequent line(s) when
  10540. the first or prior line was empty, produced garbage characters.
  10541. This has been fixed.
  10542.  
  10543. when printing multiple labels (more than one No. of Labels
  10544. specified) with multi-line fields Nutshell Plus would sometimes
  10545. fail to print all lines of the labels especially if one label was
  10546. more than two lines longer than other labels in the same multiple
  10547. set. Nutshell Plus 11 Version 2 will now correctly print all lines
  10548. of all labels in multiple sets containing multi-line fields.
  10549.  
  10550. Improved Printing
  10551. In previous versions when printing in variable height, and the body
  10552. partition length was greater than the remaining printable part of
  10553. the page, Nutshell Plus would skip to the next page even though the
  10554. printable part of the next body partition would fit. This has been
  10555. fixed when the new Divide Body option is specified.
  10556.  
  10557. When printing to the HP Laser Jet Plus Series 11 Nutshell Plus
  10558. 11 now takes into account the one inch of unprintable area at the
  10559. top and bottom margins. This should prevent the problem in earlier
  10560. versions of blank pages being printed and of the header drifting"
  10561. down the page.
  10562.  
  10563. Landscape orientation is now available for the HP Laser Jet Plus
  10564. Series 11 printers.
  10565.  
  10566. Pause Between Pages did not pause when printing a single record
  10567. with a Body partition which was multiple-pages long. This has been
  10568. fixed.
  10569.  
  10570. Nutshell Utilities
  10571.  
  10572. Appendix B: Nutshell Plus 11 Utilities
  10573.  
  10574. Your Nutshell Plus 11 package includes a utilities program,
  10575. NUTUTILS, that performs two important file maintenance functions:
  10576.  
  10577. Compress - to make a Nutshell Plus 11 data file smaller, conserving
  10578. disk space and improving Nutshell's speed of operation when using
  10579. the file.
  10580.  
  10581. Recover - to reconstruct information from a damaged Nutshell Plus
  10582. 11 file, creating a new file that contains the recovered
  10583. information.
  10584.  
  10585. When you run NUTUTILS, you can choose either the Compress or the
  10586. Recover option to compress or recover as many files as needed.
  10587.  
  10588. The Compress option reorganizes file information on your disk, such
  10589. that disk space is used more efficiently and compactly. Nutshell
  10590. can then work faster, because it doesn't have to look in as many
  10591. places on your disk for file information. It is suggested that you
  10592. compress files on a regular basis, perhaps immediately after
  10593. creating each backup of your file. Before compressing a file,
  10594. always create a backup copy of the file; in the rare event that the
  10595. file contains invisible damage, using the Compress option can
  10596. render the file unusable.
  10597.  
  10598. Use the Recover option in the unlikely event that a file becomes
  10599. damaged and cannot be opened with Nutshell Plus 11. In recovering
  10600. a file, NUTUTILS creates a new output file that contains as much
  10601. information as could be reconstructed, including link definitions
  10602. and macros. In the output file, NUTUTILS rebuilds the indexes and
  10603. counts the number of records. Do not delete the original damaged
  10604. file until you have examined the new destination file and
  10605. determined that it contains enough information to be usable. In
  10606. rare cases, using the Recover option may not succeed in
  10607. reconstructing part or all of the file.
  10608.  
  10609. o compress a Nutshell Plus 11 file:
  10610.  
  10611. 1. Make a backup copy of the file, by using the DOS COPY command.
  10612. (Refer to your DOS manual for instructions on copying files.)
  10613.  
  10614. 2. At the DOS prompt, type nututils, preceded by a drive specified
  10615. if necessary. The Nutshell Plus 11 Utilities screen is displayed.
  10616.  
  10617. 3. Type the filename of the Nutshell Plus 11 file you want to
  10618. compress, or use the Show Files option to select the file. For
  10619. details on using Show Files, refer to the section Opening an
  10620. Existing File in the chapter Opening and Closing a File.
  10621.  
  10622. 4. Select Compress.
  10623.  
  10624. 5. To confirm that you want to compress the file, press ~. Nutshell
  10625. compresses the file, consolidating information into adjacent disk
  10626. blocks .
  10627.  
  10628. To continue compressing or recovering files, type another filename
  10629. or use Show Files to select the filename.
  10630.  
  10631. or
  10632.  
  10633. To return to DOS, press Esc.
  10634.  
  10635.  To recover a Nutshell Plus 11 flue, creating a new output file:
  10636.  
  10637. 1. At the DOS prompt, type nututils, preceded by a drive specified
  10638. if necessary. The Nutshell Plus 11 Utilities screen is displayed.
  10639.  
  10640. 2. Type either the filename or path plus filename of the Nutshell
  10641. Plus 11 file you want to recover, or use the Show Files option to
  10642. select the file. For
  10643.  
  10644. Nutshell Utilities
  10645.  
  10646. details on using Show Files, refer to the section Opening an
  10647. Existing File in the chapter Opening and Closing a File.
  10648.  
  10649. 3. Select Recover. NUTUTILS automatically types the same filename
  10650. with a . Rex extension for the name of the Output File to be
  10651. created. The Output File will contain as much information as could
  10652. be reconstructed from the damaged file. If you want to rename the
  10653. Output File, type the new name over Nutshell~s name for the file.
  10654. It is strongly suggested that you do not use the extension .dub for
  10655. the Output File, to avoid accidentally overwriting a Nutshell Plus
  10656. 11 data file.
  10657.  
  10658. To create the Output File in a different directory, use Show Files.
  10659. For details on using Show Files to change the directory or path,
  10660. see the section Creating a New File in the chapter Opening and
  10661. Closing a File.
  10662.  
  10663. 4. After the filename is typed, press return.
  10664.  
  10665. 5. To continue recovering or compressing files, type another
  10666. filename or use Show Files to select the filename.
  10667.  
  10668. To return to DOS, press Esc.
  10669.