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

Cannot save units and forms

edited November 2002 in End User
Hi

I can place a ppReport on a form which has a TDatabase connected to an
Interbase database.
I dbl click the report and go to the Data tab.
Select File|Data settings select 'BDE Session' and the database
Select File|New.. Query Designer
Type in some simple SQL like 'select * from procedure'.

When returning to the designer the query object appears with the fields
listed, but the speedbuttons (other than preview) greyed out.

If I close the designer then try and save the unit I get an access violation
(in D5 get error 'Cant Save').

This problem also occurs when using the IB Objects interface.

D6, RB7, Interbase 5.6

Regards
Paul

Comments

  • edited December 2002
    When you edit the SQL text, you lose the query tools support. This is as
    designed. The reason is that RB does not parse the SQL text. Instead, RB
    uses the query tools to create objects that describe the query and then
    generates SQL on the fly based on these objects' configurations.

    We area aware of the Delphi design time save issue. We haven't been able to
    fix it yet. You'll have to design the reports at runtime in the runtime
    designer and save them as templates (rtms).

    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.