home *** CD-ROM | disk | FTP | other *** search
- INVENTORY PROGRAM
-
- INTRODUCTION
-
- This program was originally written for keeping and inventory of Cross stitch floss,
- however, I believe/hope that is it flexible enough to help keep track of other materials. The
- program is distributed as a FULLY FUNCTIONAL program, every option works. It is also
- distributed under the shareware concept, therefore a registration form is included. If you plan to
- use the program, you are requested to mail the registration form, and a donation, to:
-
- Chris O'Donnell
- 576 Benson Road
- Middlebury Ct. 06762
-
- An $8.00 donation is suggested, but send what you feel the program is worth. Comments,
- complaints and suggestions are also accepted. They can be sent to the above address, or via E-
- mail to CIS: 70431,1427. Input from registered users will be responded to, input from non-
- registered users will be contemplated.
-
- Please remember that the inventory is only as accurate as you are.If you use up a color, and
- don't update the file here then it will NOT be accurate. This is not a program error, it's a user
- error.
-
- The following files are included:
-
- INVENT.EXE - The executable INVENT program
- DMC.INV - DMC Floss numbers and descriptions
- BATES.INV - BATES Floss numbers and descriptions
- ANCHOR.INV - Anchor Floss numbers and descriptions
- INVENT.DOC - This document
- REG.DOC - Registration form
-
- INVENT is a text-based program, not graphics. It ASSUMES that you have an 80 column
- monitor. If anyone has a 40 column monitor, I will added the code to accommodate this. I use
- only 3 colors: White, Light gray and Dark Gray. Additional versions will use more colors. If you
- get strange results, let me know, along with information about your machine and I'll see what I
- can do.
-
- In order to run the INVENT program, you need to have the .EXE and any inventory files in
- the same directory. If you delete the .INV files that come with the program, you have to build
- the inventory from scratch. The .INV files included contain DMC, BATES and ANCHOR floss
- numbers, and some descriptions. I obtained the numbers and description from a few X-stitch
- books. After talking with my local craft store, I discovered that the companies, themselves, do
- NOT assign a name to the floss, just a number. The names are supplied by the publishers/authors
- of the X-stitch books. I do NOT claim that any of these files has the COMPLETE floss
- numbers, I loaded almost 100 DMC numbers, and the BATES and ANCHOR numbers that were
- associated with these.
-
- LIMITATIONS
-
- 1. A maximum of 60 inventory files
- 2. Each file can contain a maximum of 500 records
- 3. Each item can be identified by a maximum of 6 characters
- 4. Each item can have a 50 character description
- 5. When the records are sorted, a STANDARD ASCII sort is performed.
- this means that the following numbers:
- 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
- will be sorted:
- 1 10 11 12 13 14 15 16 17 18 19 2 20 21 22 23 24 25 3 4 5 6 7 8 9
-
- This is because the 1 is actually "1<NULL>" and 10 is "10<NULL> and "10<NULL>" is
- before "2<NULL>". To keep the numbers in "human" sequence enter: 000001 000002 .....
- 000025 or <><><><><>1 <><><><><>2 ..... <><><><>25 where <> is a space. I have loaded the
- .INV files using the 000001 method. Use what ever works for you, JUST BE CONSISTENT. If I
- get a landslide of requests for a different sort, I will write one.
-
- NOTE: IF YOU USE <><><><><><>1 THE CURSOR WILL BE POSITIONED UNDER
- THE FIRST SPACE. THIS IS ] THE CURSOR IS POSITIONED UNDER THE FIRST
- "CHARACTER".
-
-
- EXECUTION OF INVENT
-
- NOTE: I am assuming that you are familiar with basic DOS procedures, i.e.
- copying/moving/deleting files.
-
- When you have moved the .EXE and any of the .INV files to a directory, you are ready to run
- the program. Enter INVENT to start the program. If you have not deleted the .INV files, the first
- screen looks like this:
-
-
- 01: ANCHOR 02: BATES 03: DMC
-
-
-
-
-
-
- Enter file number to select inventory file
- Enter 04 to create a new file: 00
- Hit ESC to exit program
-
-
-
- At this point, you can enter the number associated with an existing file, or create a new file.
- As you create new files, they will appear on the screen. The number you enter will be entered
- from the right. Thus the 00 changes to 01 or 02 or 03 or 04. If you have 15 files, the 00 changes to
- 01 and the 12, as you enter "12". You cannot enter a number larger than the number of files + 1. If
- you make a mistake, use the backspace key to correct the number. Then hit ENTER to load the
- file. (See CREATING NEW FILE for
- information on creating new files)
-
- WORKING WITH EXISTING FILES
-
- After selecting a file, the file is loaded. A "Loading inventory file" message is displayed. A "."
- will be repeated across the screen as the file is loaded. After the file has been read, the following
- screen is displayed:
-
- Add New Items: F1 Delete Items: F2 Change Quantity: F3 Change Description: F4
- Change Sort Field: F5 Set Search Criteria: F6 Color Code: F7 Print Function: F8
- Save and Continue: F9 Save and Exit: F10 Quit and Exit: F11
-
- abcdef(000) ghijkl(000) mnopqr(000) stuvwx(000) yz1234(000)
- .
- .
- .
- .
- .
-
- DESCRIPTION: description of entry
-
- The screen can hold 19 rows of 6 columns of information. Use the arrow keys (UP, DOWN,
- LEFT & RIGHT) to move the cursor. HOME will move the cursor to the first column in the
- current row, END to the last column. PAGE UP & PAGE DOWN will scroll display. A
- <BEEP> will sound if you attempt to move the cursor past the beginning or end of a row, or
- past the top or bottom of the data. If you <ARROW DOWN>, the screen will scroll 1 line up (if
- possible). If you <ARROW UP> the screen will scroll 1 line down, until the top of the data is
- reached. As the cursor moves from 1 item to another, the "DESCRIPTION:" will change.
-
-
-
-
-
-
-
-
-
-
- Add New Items: F1
-
- To add new items, hit F1. the following screen is displayed:
-
- Enter each field, ending each entry with ENTER
- When finished, hit ENTER with no information
-
-
- Identifier: ______
- (5 Characters)
-
- Quantity: ___
- (3 numbers)
-
- Description: __________________________________________________
- (Optional 50 characters)
-
- Enter the item identifier, and hit enter. The Quantity field will change to 000, the default
- quantity. Change the quantity by entering a number, and hitting enter. Enter a description, and
- hit enter. After each entry, the cursor returns to the Identifier field. Hit enter with no information
- to return to the first screen. The information you entered will be sorted into the existing data.
- The data screen will be displayed, starting at the top of the file.
-
-
- Delete Items: F2
-
- To delete items, move the cursor to the item and hit enter. The display color of the item
- changes to a dark gray. The actual deletion will NOT take place until the file is saved. To finish
- flagging items for deletion, hit ESC. When you have flagged item to be deleted, a new function
- is available: Undo deletion: F12/ALT-F2
-
- If you change you mind about deleting the items, you can either Quit and Exit (see below),
- hit F12 or ALT-F2. This will unmarked ALL the items currently marked for deletion. Under
- Windows F12 does not work. Use ALT-F2. If you're not using WIndows, you can use either F12
- or ALT-F2.
-
-
- Change Quantity: F3
-
- After depressing F3, the top of the screen changes to:
-
- Finished: ESC Increase quantity by 1: F1
- Decrease quantity by 1: F2 Enter New quantity: F3
- Current Quantity: 000
-
-
- The data portion of the screen does not change. Move the cursor as above. The quantity of
- the item will be displayed at the top of the screen. When the cursor is under the item whose
- quantity you wish to change, depress the appropriate Function key. Increasing or decreasing
- the quantity will adjust the "Current quantity", and the quantity above the cursor at the same
- time. If you make an error, re-adjust the quantity, or QUIT & EXIT.
-
- To enter a new quantity, rather than doing multiple increase or decrease by 1, hit F3. The
- display changes to:
-
- Finished:Enter Cancel new quantity: ESC Correct error: BACKSPACE
- Enter new quantity: 000
-
- As you type numbers, they are loaded right to left, i.e. change the to quantity to 15: 000 goes
- to 001 to 015. If you make a mistake, use the backspace key, 015 would go to 001. When the
- quantity is "right" hit enter. If you change your mind, hit ESC to cancel this function and return
- to the previous screen. NOTE: You can change the quantity of item marked for deletion. Why
- you would want to do this is beyond me, but you can if you
- want to.
-
- Change Description: F4
-
- To change a description move cursor to the item whose description you wish to change, and
- hit F4. The bottom of the display will change to show to current, or old description, and a line
- appears for entering a new description. To keep the "old" description, hit enter without entering
- anything.
-
- Change Sort Field: F5
-
- This option allows you to specify the field to be used when sorting the inventory file. The
- screen changes to:
-
- Finished: ESC Sort By Item: F1 Sort by Quantity: F2 Sort by Description: F3
- Current sort field is: CURRENT SORT.
-
- By depressing the appropriate Function key, you can PERMANENTLY change the sort field.
- The new order is shown immediately. This sort field remains in effect, for this file, until it is
- changed.
-
- Set Search Criteria: F6
-
- This function allows you to search the entire file for specific words, or letters, in the
- description field. The screen changes to:
-
- Done Searching: Esc Start Searching: F1 Print Search Results: F3
- Reset search Criteria: F4
-
- Selecting F1 prompts you to enter the characters to search for. Enter the characters and hit
- enter. All the descriptions will be searched for these characters. When any matches are found,
- the item number will be displayed in white. DO NOT BE CONFUSED BY THE DISPLAYED
- DESCRIPTION. IT IS ASSOCIATED WITH THE CURSOR NOT THE HIGHLIGHTED
- ITEM NUMBER. Additional searchs DO NOT RESET THE ITEM NUMBER DISPLAY. You
- can search for multiple descriptions and have all the results displayed at once. F3 will print ALL
- highlighted item numbers. This allows you to search for red, blue and green, and do 1 printing of
- these items. F4 will reset the items to their original color and you can start afresh.
-
- Color Code: F7
-
- This function allows you to color code the individual items. Each function key is associated
- with a different color. Select the color, move the cursor and hit enter. WINDOW USERS: USE
- ALT F2 INSTEAD OF F11 AND ALT F1 INSTEAD OF F12. The colors you cannot select
- are: White, Dark Gray and Black. Light Gray is the default.
-
- Print Function: F8
-
- This function allows you to print part, or all, of the inventory. The screen changes to:
-
- Finished Printing: ESC Print Entire Inventory: F1 Select Items to print: F2
-
- Selecting F1 will print the entire inventory. Selecting F2 allows you to select specific items.
- Move the cursor to the desired item, hit enter. The selected item will blink. Hit ESC when you
- are finished selecting items. After selecting items, a third option os available: Print Selected
- Items: F3.
-
- NOTE: MAKE SURE THE PRINTER IS READY, I DON'T. IF YOU GET A PRINTER ERROR, ABORT WILL THROW YOU
- OUT OF THE PROGRAM WITHOUT SAVING YOUR WORK.
-
-
- Save and Continue: F9
-
- This function key will save the current inventory, deleting any items that have been marked
- to deletion. The inventory is then re-loaded, and you can continue.
-
- Save and Exit: F10
-
- This function key will save the current inventory, deleting any items that have been marked
- for deletion. You are then returned to the file selection screen to either select a another
- inventory file, create a new inventory file, or exit from the program.
-
-
- Quit and Exit: F11/ESC
-
- When running INVENT under Windows, F11 does not work, use ESC. If you are NOT using
- Windows, you can use either ESC or F11. This function key returns you to the file selection
- screen. The inventory file is NOT updated. ANY WORK THAT YOU DID SINCE THE LAST
- SAVE IS LOST!.
-
-
- CREATING NEW FILES
-
- You can create new inventory files by entering the number shown on the file selection screen.
- You are prompted for a file name. Enter up to 8 characters. DO NOT ENTER THE .INV, THIS
- WILL BE DONE AUTOMATICALLY. Hit ENTER when done. If you do not enter a name,
- and you hit enter, you will be returned to the file selection screen.
-
- If you attempt to create a file that already exists you will receive an error message and be
- returned to the file selection screen. After naming the new file, the ADD NEW ITEMS screen is
- presented. You can begin adding the items to the file. (See above for manipulating the inventory
- once you've loaded it) NOTE: Quit and exit will NOT save the new file. This is the only time
- you can "re-create" a file.
-
- CONCLUSION
-
- I hope you find the program useful. Any suggestions for upgrades are welcome. Any
- comments about the display, the function keys etc are also welcome. If any part of this
- document are unclear, please let me know.
-
-
-
- FOR THE REALLY CURIOUS
-
- Those of you who are curious about the format of the .INV files, here it is:
-
- Starting in Column 1:
- maximum of 6 characters and a "/". The "/" is the indicates the end of the identifier. This is for
- reading in the item identifier, and allows for spaces.
- 1 space.
- the quantity.
- 1 space.
- 7 - this is controls the color uses to display this item. (Version 2.0 will use this)
- 1 space.
- The description, again terminated with a "/".
-
- If you want to enter the data outside INVENT: USE A ASCII EDITOR NOT A WORD
- PROCESSOR. FOLLOW THE ABOVEFORMAT. IF YOU DO THIS AND IT DOES NOT
- WORK, E-MAIL ME THE FILE AND I'LL LOOK AT IT.
-