Hello,
very thanks for than hint with that .Junction = "".
But just using it didn't run at first.
So i got to make an annotation. --->> SETTING the .Junction after first .Append back to .Junction = "AND"
I create my query to runtime.
The parameter are filled in GUI to a DataTable.
That Table I transform to a suitable format, a List<QueryRow> ( each DataTable means such a QueryRow)
A QueryRow is a class containing two properties : the logical operator as string and a list<SingleQuery>.
At runtime I organize every queryRow in a single Group.
And SingleQuery (two properties: string columnName,string cellValue) has the content for a .Append*(...) clause
now creating the query:
foreach ( QueryRow in queryRowList)
{
//greating the group
.BeginGroup("") oder ähnlich --> depends on how to organize the runtime code.
.Junction = "";
foreach (SingleRow in queryList.SingleRowList)
{
. Append... ;
.Junction = "AND" ; -->> that is the point that wasn't in your hint --> setting the junction after the first append clause
}
.EndGroup();
}
VERY THANKS