Next Chapter 73 VALIDATION CHECKS:

PROJECT SOURCE CODE

SPONSORED LINKS

VALIDATION CHECKS:

I have use following type of checks:

a. Data type

b. Length

c. Constraints

d. Blank field

e. Format

· Data type:

I have use character type for character, number for numeric, and date for date type. No numeric field insert in date. Character never inputted in numeric field as phone no never accept character if any person input wrongly give message. When this problem is removed then user perform further operation

· Length:

When we define a max length. Then it never accepts more data .for example if I define numeric length is 5 then it stores either equal to length or less than length. If user gives more character than required then display message and stop processing.

· Constraints:

I have defined range of data if data is less than then display error with message. For example code of product is four-character purchase. The field of date must be 8 characters. Blank field: When users add data and some field is blank then it display message with out halt, But stop processing.

· Format:

The pre define format is used not change daily to daily for example format of date DD/MM/YYYY: 01/01/2005 is used in all date type field. If user inserts an other format then display message.