RE: thread766-1143318
I had the same issues as mentioned in thread thread766-1143318 .
I could not put a formula on a sql field from cr query builder as the report showed the query fields as 'memo'.
I ended up adding an outer select and doing a substring to bring the fields to 10 and 12 char lengths. When I opend the report on the new sql / substrings they magically became 'string'. Now I can edit and adapt to the reports requirements.
the sql was in oracle 9
-- new
select
substr (I3.ori,1,12) ori,
substr (I3.sid,1,10) sid,
substr(I3.arrestdate,1,8) arrestdate
-- new
from
(select
substr (I2.data,I2.osplus6, I2.oriend- I2.osplus6 ) ori,
substr (I2.data,I2.sidplus6, I2.sidend- I2.sidplus6 ) sid,
substr (I2.data,I2.ardtplus6, I2.ardtend- I2.ardtplus6) arrestdate
I had the same issues as mentioned in thread thread766-1143318 .
I could not put a formula on a sql field from cr query builder as the report showed the query fields as 'memo'.
I ended up adding an outer select and doing a substring to bring the fields to 10 and 12 char lengths. When I opend the report on the new sql / substrings they magically became 'string'. Now I can edit and adapt to the reports requirements.
the sql was in oracle 9
-- new
select
substr (I3.ori,1,12) ori,
substr (I3.sid,1,10) sid,
substr(I3.arrestdate,1,8) arrestdate
-- new
from
(select
substr (I2.data,I2.osplus6, I2.oriend- I2.osplus6 ) ori,
substr (I2.data,I2.sidplus6, I2.sidend- I2.sidplus6 ) sid,
substr (I2.data,I2.ardtplus6, I2.ardtend- I2.ardtplus6) arrestdate