Otis wrote:
Could you please post some code in which you build up the filter?
If I understand the problem correctly, you specify a CompareValue predicate, to which you pass a System.Decimal value (or C# decimal value) and that decimal has a precision of 38? I'm then confused where exactly the error occurs: IN sqlserver, or in the DQE where the parameter objects are created?
Sure, here is the code:
Dim filter As New RelationPredicateBucket
filter.PredicateExpression.Add(PredicateFactory.CompareValue(ClientCreditFieldIndex.CreditBalance, ComparisonOperator.LesserThan, LowCreditValue))
Dim tv As New TypedViewClasses.ClientCreditTypedView
Adapter.FetchTypedView(tv.GetFieldsInfo, tv, filter, False)
The error I get is this:
Column or parameter #1: Specified column precision 38 is greater than the maximum precision of 28.
Parameter '@CreditBalance1' has an invalid data type.
I don't have the chance to test if it comes from SQLServer or DQE at the moment but I will as soon as possible.