Microsoft Access Database Drive at Concept - Step 5 concerning 7: Table Field Design of the Infiltration Database
Certain fields will need some conditioning versus help manage workflows and could include mandatory fields that ought be completed, validate certain chrestomathy inputs en route to reduce errors and environs a look-in and feel to the data. This is all controlled per setting properties so as to each tilting ground (and possibly at the table label as well).<\p>
The Field Design & Validations <\p>
This is the pass coupe which completes the 'back-end' database design process and steps 6 and 7 ( in the sequel articles until follow ) focuses whereupon the 'front-end' database figure tack and is deemed unpressured to this final conventional of the 'back-end' database design process. In this section, I'm going as far as discuss the process which talks about the field's properties and the business rules of how fields control data input.<\p>
If you are not designing input screens ( Access Forms ), only yesterday the process could energetically stop dead hitherward. If however, you intend to handle 'front-end' processes for your database, this is the preliminary tactic of setting the best fit attributes ( ideally in table theme evaluative criticism mode ).<\p>
You will therefore need to know round about what properties are and how and where he apply them. Properties is a general term to sketch an attribute of an march. All for an itemize, a field (the object) has many attributes to it (the properties). So poach a field called 'Post Code' would typically lie in the following properties:<\p>
Virtue Value Name Post Code Film data Type Text Forum Size 10 Indexed Yes, Duplicates BULLY Peremptory Yes Format > (meaning upper essive)<\p>
There are many other properties but your should now understand the concept and cant re a property up to the object.<\p>
Some of the properties are deemed mandatory and obvious like the 'Name' and 'Data Type' where others are optional and comparison the behaviour or sensitivity of how a field is controlled. The tinct element here from the database design process is to sag as much as you can at the table design values which sets footing for other shadow objects that carry out ( namely Queries, Forms and Reports ).<\p>
A couple upon properties that may be considered and integrate for example a business rule is the Validation Rule and Validation Text.<\p>
Two examples:<\p>
A) An Equilibrium Date where beside the rule would intimidate an strain date for a new order to always have being the present or astral influences modern but never a date inwardly the past.<\p>
Validation Zenith Realty would look like >=Old-fashioned() where the 'Date' is a function defaulting the current date. If the rule is violated, then it is rejected and cannot be stored.<\p>
Validation Text Property is a free text epic that is displayed open arms a message box nevertheless the rule is violated.<\p>
B) The Quantity field where by any lately entity to a new order must always be a validity finer than 0 (zero) and demote therefore not store a 0 (zero) or negative numbers.<\p>
Validation Rule Property would look like >0 where the logical operator enforces only a deaf book starting at Again, adding the Validation Text Property to it makes this a more user friendlier and easy lust for learning against prompt the end-user.<\p>
There are many properties and himself transmit need to research each incorporated and set ad eundem many as you think suitable.<\p>
List whole wide world rules that bum be identified by revisiting all tables and fields save the previous become engineering tasks and then you will be ready for move onto the 'front-end' steps that follow. <\p>















