View Single Post
  #1 (permalink)  
Old January 25th, 2013, 11:26 AM
Ramiro Cervera Ramiro Cervera is offline
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Input Parameters Validation

I would like to know what is the best way to validate input parameters:
a) Custom code.
b) Through Stored Procedure .
c) An expressión with conditional to show or hide an object.
Besides that, I created a regular expression to check if a text is entered properly. If the condition evaluates to "No", the report is not shown and a mesage appears. When the conditions evaluates to "Yes", the report is shown. The condition was included in a expression of a text box, and it´s evaluated when a press on View Report. I´d like to know if the Stored Procedure with the business logic is run despite the iff condition is evaluated to "no".
Thanks,

Ramiro.