on 01-11-2006 8:30 PM
Hello all,
I am using the VC to create a small iView to pull data from a MS-SQL DB. I have the iView built and things work for the most part. The issue I am having is I get the following error if any input field is left blank "Portal request failed (No value was assigned to parameter(@LastName))"
I have the stored procedure setup so that I if a null is passed in for any of the values it set the value to a '%'.
I am wonder if it is possible to either:
a) pass blank values
b) test if a value is blank before the submit and
change the value to a '%'.
Cheers,
D.
Dear D,
You can use dynamic expressions to pass the value '%' if the input field is blank. Check out the conditional expressions that you can use in the dynamic expression window.
Thanks in advance,
Deep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Deep, I was looking at the dynamic expressions I had found that if(isnull(@@), '%', @@) would be perfect but I guess I could not find where to place it... I was trying to place it on the fields on the form view I could not find something (other then the validation dynmaic expression) and that simply seemed to raise an error pop-up... Is their somewhere else to place it??
Cheers,
D.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.