Planning my tables and the complete database for the new system.

Authors Avatar

  In this section I will be planning my tables and the complete database for the new system. This will include my designs for queries, forms, sub-forms, linked-forms, relationships and macros. Once I have finished this I will be using a test plan to make sure that my system will work the way that I expect it to work. This test plan will ensure that my system is accurate and has accomplished many of the goals.

TABLES

I will create the tables in DESIGN mode as this will allow my to make more customised changes. In DESIGN mode I can enter the field name, the data type and any extra comments, which would not be possible in the WIZARD mode. Also, I can add validation rules and input masks in the field properties section. These are the tables I plan to create:

  ITEMS

This table will hold the details of the item and its stock information. This is the record structure of this table:

  To increase the level of integrity of the data entered, I will be using some simple validation rules to accompany the table. If any of these rules are violated, then an error message is displayed. The error message displays what is entered in VALIDATION TEXT. These are the validation rules and validation texts that I have inserted:

Sometimes data is required in a certain format. For this reason I will be using the INPUT MASK PROPERTY. An input mask is used in fields to format data and provide some control over what values can be entered. An input mask consists of literal characters (such as spaces, dots, dashes, and parentheses) that separate blanks to fill in. I will use the input mask property to make the input data formatted in the right way:

  TYPES

This table contains the type of items that the company holds, eg. TV, mobile phone etc. This table will be used for queries and for grouping (relationships + sub-forms) the items by item types so that the company can see which companies deal with the concerned product. Since there is only one field in this table I will leave it at that. Hence I will not need any validation rules or input masks for this table. This is the record structure of the file:

  SUPPLIERS

This table contains all the details of the suppliers that are supplying goods to Elektronikz. This table is used for statistical purposes and to get into contact with the suppliers through the use of letters. This is the record structure of the file:

[*]Here I will use the lookup wizard to make the field display a combo box with the options Sharjah, Abu Dhabi, Dubai, Fujairah, Al-Ain, RAK and UAQ. I have explained the lookup wizard below the PURCHASE table design.

Validation Rules…

Input Masks:

  PURCHASE

This table holds the details of all the customers who have purchased goods from Elektronix. I will explain some of the fields in this table so that it can be understood fully. This is the record structure of the table:

Join now!

[*] and [**]:- I have marked some fields as you can see above. These fields have their values looked up from another source. I will do this by selecting the data type as LOOKUP WIZARD, then follow the wizard instructions to give the fields the capability to lookup from another table or to have specific data entered by means of a combo box. In the wizard I can define whether I should type in the wanted values of refer the values from another table.

  • If I choose to refer the values from another table the wizard ...

This is a preview of the whole essay