I have a dataset in a datamodule,
my original sql code was :-
select *
from report_parameter_controls
where status = 'I'
order by report_completed desc
This returns all rows from the rdbms, so I
modified the above to return all records completed within the last 3 days :-
select *
from report_parameter_controls
where status = 'I'
and trunc(report_completed) >= (sysdate-3)
order by report_completed desc
when run in SQL or TOAD I receive the correct
result but in my application the dbgrid is still returning all rows, I have rebuilt and compiled but still get the same result.
Is is cached somewhere, also in sqlmonitor my other dataset queries return the sql in the sql tab but the one does not.
Any Ideas !
Im running Delphi5 + patch 1 and I believe the latest version of DOA
------------------
Tony
Tony Wilson
Technical Analyst NCHT
my original sql code was :-
select *
from report_parameter_controls
where status = 'I'
order by report_completed desc
This returns all rows from the rdbms, so I
modified the above to return all records completed within the last 3 days :-
select *
from report_parameter_controls
where status = 'I'
and trunc(report_completed) >= (sysdate-3)
order by report_completed desc
when run in SQL or TOAD I receive the correct
result but in my application the dbgrid is still returning all rows, I have rebuilt and compiled but still get the same result.
Is is cached somewhere, also in sqlmonitor my other dataset queries return the sql in the sql tab but the one does not.
Any Ideas !
Im running Delphi5 + patch 1 and I believe the latest version of DOA
------------------
Tony
Tony Wilson
Technical Analyst NCHT