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

Saving to Database from Designer

edited July 2001 in General
Hi, Im using RB 5.55 Ent with Delphi 5 in an end user reporting application.

I am able to launch the designer , design a report and preveiw from with in
the designer. However, when exiting the desinger and opting to save the
changes, the following happens:

The save dialog box pops up as expected, but its caption is "Save <> As"
The dialog box is not initialized - everything is blank
The program crashes

I have the following settings set on the report

SaveAsTemplate = TRUE
Template.DataPipeLine = Same Report Pipeline used by Report Explorer
Template.Name = Test1
Name Field = (Item_Name) selected from drop down list at design time - so it
is valid
Template.TemplateField = (Template) selected from drop down list at design
time - so it is valid
Template.SaveToDatabase = TRUE


Any advice would be appreciated

Regards,
Ben Van Rensburg

Comments

  • edited July 2001
    Problem Solved. . .

    The Folder dataset contained entries for Recyle Bin and root folder (due to
    foreign key constraints) Having these entries in the dataset resulted in the
    "save as " dialog box cash. Removing them restored the required
    functionality.

    PS:

    If I am forced (by inhouse database policy)to have foreign key constraints
    between reports and folders tables, how can I get around this if adding the
    entries causes the save as dialog to crash. I also noticed that in the
    explorer, the recycle bin and root folders are "duplicated" if these entries
    are present in the folder table???

    Cheers,

    Ben

This discussion has been closed.