Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Is a design time query being run at runtime?

edited August 2001 in General
I have done a little more testing, and have found out that if you never call
those queries to gather the table and field names, the report still works.

If you Exit from the following function and never set the query to active,
the report still works fine.

procedure TdaDOADataSet.SetActive(Value: Boolean);
begin

Exit;

GetQuery.Active := Value;

end; {procedure, SetActive}


This saves a lot of round trips to the Oracle server. I have only tested
this on a couple of reports at runtime. I assume that this would cripple the
runtime query designer. So....is there a way to avoid these calls for
runtime only to boost performance?

Thanks,

Andy

Comments

  • edited August 2001
    The report will run, but what happens when you you use DADE at runtime? IF
    this were able to be done, then at Delphi design time, RB would need to have
    its own local database which would store all of this information. We don't
    have this functionality in RB.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.