* This is part of a form segment for a library
I have a BO setup based off a view. In the view I have code that is something like,
select * from myTable where @myValue = "" or @myValue = TableValue
Basically, if blank return all and if not blank return what matches.
Now I set up a grid to show the values and a textbox (with variable) in order to pass to information to the view via the business object parameters.
My issue is the parameters do not like an empty string "" - and does fine with a " " - but I don't want to have the extra " " character within the textbox before I send. And by not like - I mean if it's empty no results get shown.
Now if I try to put an expression within the parameter (using an if statement) to change the "" to a " " - I deploy the library fine and update the project fine, but when I deploy the project - it gives me an error:
The type arguments for method 'Metastorm.Runtime.Core.Mstm.If(Metastorm.Runtime.Types.Check, T, T)' cannot be inferred from the usage. Try specifying the type arguments explicitly. 660 66
Any thoughts?