I've stumbled at problem that I just cant get my mind around.
This is the query :
select r.*,
CONCAT(r.ime,' ',r.prezime),
vk.nazivk
from mkrodjeni r,
vrstek vk
where
r.sifops = :so AND
r.kljuc = :k AND
vk.brknjige = r.brknjige
Query needs to read and write new and modified data with prior locking.
Everything work fine until I call external "order by" (from TGrid).
When I try to call MyQuery1.Lock(lrImmediately) I get message :
"Unknown column "concat(r.ime,' ',r,prezime)" in where clause"
This happens with any and all queries with concat statement.
Please help!!!
ps. I work with Delphi7 and MyDAC 5.20.0.11