Menu - Do you include a "Tools | Validate Data"?
  v1.0 Posted at 27/11/2012 1:54 PM by Rebecca Liu

A common oversight is applications don't check for invalid data. You should add "Tools | Validate Data" to your application.

So when you add business rules to the middle tier, consider scenarios such as importing data and any other areas that side step business rules. Therefore we always make validate queries that if they return records, they must be fixed. Examples are:
  • For SQL Server we use vwValidateClient_MustHaveACategoryID, or procValidateClient_MustHaveACategoryID
  • For Access we use qryValidateClient_MustHaveACategoryID
Data Validation
Figure: Good Example - This application, while not the prettiest, has a handy validation tool to check for incorrect data

Related Links

Related rules

    Do you feel this rule needs an update?

    If you want to be notified when this rule is updated, please enter your email address: