menubar

scrolling

WE WANT TO WELCOME YOU HERE IN OUR LIBRARY. WHAT EVER DO YOU FEEL AFTER VISITING OUR LIBRARY, PLEASE DO WRITE. WE WILL BE VERY PLEASED FOR THAT. THANKS FOR VISITING. KEEP ON TOUCH .......

scrolling share

तपाई शेयर बारे जान्न र हेर्न चाहनुहुन्छ भने तपाइलाई यस पेजमा हार्दिक स्वागत छ केही सिक्न र बुझ्नको लागि उपयोगी हुने छ आउनुहोस .......

Online

                                      Exam Questions

Thursday, August 13, 2020

DATA ENTRY WORKSHEET

  4. DATA ENTRY WORKSHEET

 

You will enter data into the database using a worksheet, rather like an input form. Whereas in the DOS version of CDS/ISIS you had to specify a lot abouthe layout of the form, in the Windows version you need to do very little.  The main choice is which fields you want to be on the worksheet. If you only have one worksheethen normallyou will want thealland you need only to click the button with the double arrow to effecthis. If you want to be more choosyor to change the order of fields on the worksheet, you can select fields one at a time and either double- click the field or click the button with

the single arrow. The order does not have to be by ascending tag number.

 

You can make the worksheet do more by highlighting one of the Data Entry Fields (when you have moved some onto the worksheet) and clicking the button showing a pencil and paper. This brings up a dialog box with some further options:

 

Description. This allows you to use a different name on the worksheet frothe name you have used in the

FDT.

 

In an integrated database of books and research projects you might have a field for corporate name, used for the corporate author of book or the host institution of project. You could have two worksheets, one describing the field as Corporate author and the other describing it aHost institution”.

 

Default value. If the field will nearly always contain the same value, e.g. ‟eng for language

English‟, you can put this ias a default value. It will then already be filled when you use the

worksheet, but you caalter the value when it does not apply.

 

 

Help. You may enter a Help‟ message for this field that will be displayed athe bottom of the data entry window when the user is entering data in that field. Iis often useful tgive aexamplee.g.

 

Enter surname, comma, initials, e.g. Walton, C.J.

 

Validation format. You can put in a rule to checthe format of the data entered, e.g. the length must be a certain number of characters, or the field may only be present if another field is absent. The rule is written using the formatting language described in Chapter 5 and aexample that might be used in the specification fofield 110 is shown below:

 

 

if p(v100) and p(v110) then ’You cannot have two main entries’ fi

 

The if expression p(v100) tests for field 100 being present and field 110 being present. It will cause a message box to appear after the user tries to enter data in field 110 if there is already a field 100 present. Data entry cannot proceed untithe data are removed from field 110.

 

Another easy kind of validation is to test that the contents of a field are the right length, e.g.

 

if size(v8) > 40 then ’Field 8 is too long’ fi

 

However, if you make a mistake in writing a validation rule it may be impossible ever to satisfy it and you will never be able to get beyond this field in data entry. Iis therefore not recommended for beginners.

 

 

Pick-list definition. A pick-list enables the user to display a list giving a choice of values for a particular field during data entry. In the pick-list definition box you enter choice followeby twcolons and a format that will produce the list. The first line produceby the format will appeaas the title of the listbox during data entry. For example:

 

choice::’Languages’/’English’/’French’/’German’/’Spanish’

 

The values here are all unconditional literals. Languages‟ will be takeas the title and „English‟,

French, German, and „Spanish‟ will be the choices displayeas shown iFigure 4.2.

 

Figure 4.2  Example of a pick-list


The first box below the title is to allow the person doing data entry to search for a desired value: he/she can enter the term or the beginning of the term and click the button with the magnifying glass.

 

You can allow the user to select more than one item from the list by using the

multi keyword and repeat puts each value into a separate occurrence of the field:

 

 

choice:multi:repeat::’Languages’/’English’/’French’/ ’German’/’Spanish’

 

 

Unfortunately athe time of writing there is a small bug in this part of the program and you may have to enter the data twice during data entry to gethe desired result. An alternative is to specify that eacvalue is enclosed in angle brackets:

 

 

choice:multi:<>::’Languages’/’English’/’French’/’German’/ ’Spanish’

You wilthen need to index the field with Indexing Technique 2.

 

 

If you follow a standard format for bibliographic records, you may wish to hold the language as a code but display the full name in the pick-list. This can be done using the firstdescribe keyword: each entry consists of its name followeby its code:

 

 

choice:firstdescribe::’Languages’/’French’/’fre’/

’Portuguese’/’por’/’Spanish’/’spa’

 

There are other more sophisticated possibilities in creating pick-lists, thanks to the list being generateby the CDS/ISIS formatting language. However, we will mention one final one: you can keep the list in a separate text file and give the file name here. Each line in the text file is treated as an entry in the list.

 

choice:files::’Languages’/’langs.txt’

 

 

The possibilities described here can be combined, i.e. you can use several keywords separated by colons and the order does not matter, but remember to put twcolons before the list values or file name.

 

 

Pick-lists are not recommended for long lists (hundreds or thousands of terms) because of the processing time and memory limitations: a better solution is to develop a plug-in application using ISIS_DLL.

 

 

OK. Click the OK button to go back to the Worksheet definition screen.

 

 

If you have entered any Data Entry Fields by mistake, you can remove them using the button with the left-pointing arrow. You can alter the order of fields on the worksheet by selecting the field to be moved and clicking the (or

( button. A validation rule applying to the record, rather than an individual field, can be entereby

clicking the Record Validation button. For example in Format you could have:

 

 

if a(v200) then ’Record must contain a title.’ fi

 

 

This wilgenerate an error message if the user has entered a record without any data in field 200 and then tries to save itAgaicaution is advised: a badly written rule may mean that you can never save the record. The use of Begin codand End codallows editing to be done automatically on the record when it is opened or closed in the worksheet, e.g. todays date could be entered in one of the fields, but it is beyond the scope of this Handbook.

 

 

When you have set up the worksheet, click the button with the green arrow pointing right.


Source: https://eprints.mdx.ac.uk/3077/5/whandbk.pdf

No comments:

Post a Comment