If the length of a character is not a minimum length of 3 characters for a parameter called Field1, I currently have this "Select Expert" statement.
if len({?Field1}) < 3 then {Comments.Comment} = "You did not enter a value" else
{Comments.Comment} like "*" &{?Field1}& "*"
However, is there a way not run the report if len({?Field1}) < 3 and at the same time put up an error message stating something like, "You need to enter more than two characters for Field1"?
BTW, the reason I'm stopping the report is to prevent someone from accidently calling for over 4 million records if they leave the parameter field blank or something like just the letter A, etc.
if len({?Field1}) < 3 then {Comments.Comment} = "You did not enter a value" else
{Comments.Comment} like "*" &{?Field1}& "*"
However, is there a way not run the report if len({?Field1}) < 3 and at the same time put up an error message stating something like, "You need to enter more than two characters for Field1"?
BTW, the reason I'm stopping the report is to prevent someone from accidently calling for over 4 million records if they leave the parameter field blank or something like just the letter A, etc.