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

TdaQueryDataView

edited June 2006 in DADE
RB 10.03

Hi,

I have an application to enduser where at runtime I load vorious reports
from template or I can build a new report. Now, I need to clear every
previous QueryDataView to avoid to see it in new report in Design mode.

I tried to create an istance of TdaSQL, but I can only clear old SQLText.


lSQL.Clear;
SetSQLObject(FppREPORTEuro, lSQL);
lSQL.Free;

Can you send me a little example ?


Thank You

Comments

  • edited June 2006

    Try

    myReport.Template.New; // clear layout
    myReport.FreeModules; // free TdaDataModule and TraCodeModule


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.