Page 1 of 1

Problem with SetOrderBy in 2.5

Posted: Wed 28 May 2008 21:17
by xstef
Hi, after installing and recompiling the project i got sql errors. This is what the sql monitor showed. As you can notice the ORDER by clause is in the wrong place. I am using SetOrderBy to set it by code.

select m.ppldid, m.pplsid, m.apptype, m.rvcsid, m.fromtbl,
m.totbl, m.termid, m.dvcsid, m.bdvcsid, m.printcopy,
m.incycle,
m.syncpplsid,
r.name rvcsname,
t.name termname,
d.name dvcsname,
d2.name dvcs2name,
p.name pplsname
from ppld m
left join rvcs r on m.rvcsid = r.rvcsid
left join term t on m.termid = t.termid
left join dvcs d on m.dvcsid = d.dvcsid
left join dvcs d2 on m.dvcsid = d2.dvcsid
left join ppls p on p.pplsid = m.syncpplsid
ORDER BY ppldid
where apptype = :apptype
and m.pplsid = :pplsid

Posted: Thu 29 May 2008 07:08
by Plash
We have fixed this problem. The fix will be included in the next build of IBDAC.