Ok, I changed rows 355 - 364 in Query.java to:

-----
if (!Util.isNull(where) && !HatSchonFollowAfterWhere)
{
  buf.append(" ");
  buf.append(getFollowAfterWhere());
  buf.append(" ");
}
else {
  buf.append(" AND ");
}
  buf.append(" ( ");
-----

But the second problem (wrong values in wrong fields in a query) is not effected by 
this (I guess). It seems to be that method populateWhereEqualsClause() in 
FieldValue.java doesn't know the right order of the fields when inserting the values. 
When using only field-tags this order goes right by default. But when search-tags are 
used they are always putted in front of where clause and this mixes the default order. 
This is my estimation after debugging.

I think I have to figure out where the ordr gets mixed (in the beginning of the 
getQueryWhere()?).

I'm sorry to just throw out these my speculations, but at the moment I don't have much 
time to get to it deeper.

Regards,
Salient

-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to