Business objects default columns

Stimulsoft Reports.NET discussion
Post Reply
Martin Hart Turner
Posts: 66
Joined: Wed Apr 04, 2007 3:32 am
Location: Spain

Business objects default columns

Post by Martin Hart Turner »

I can't understand the working of the default columns of the new Business Objects.

I register the business object in my program, and call Design. If I open the Dictionary all the columns of my business object appear. I do a Preview, and go back to the Dictionary and now only the columns I had defined the last time I designed the report are visible.

Is this correct? Why do all the columns appear when it is opened, but only the designed columns after the report has been previewed?

Thanks,
Martin.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Business objects default columns

Post by Jan »

Hello Martin,

What you mean under "Designed columns"? Can you post two screenshots of report dictionary: before running report and after?

Thank you.
Martin Hart Turner
Posts: 66
Joined: Wed Apr 04, 2007 3:32 am
Location: Spain

Business objects default columns

Post by Martin Hart Turner »

Jan:

I have been experimenting a little and have come to the following conclusions.

This is the code I'm using:

Code: Select all

        stimulReport.Load("BisFactura1Spar.mrt");
        stimulReport.RegData("xpFactura", xpAlbaran);
        stimulReport.RegBusinessObject("Factura", xpAlbaran);
        stimulReport.Design();
The first image is taken right after the report is launched to design.

If I then load the exact same report inside the designer I get the results shown in this image

I hope this clarifies the situation.

Regards,
Martin.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Business objects default columns

Post by Andrew »

Hello,

Very strange problem.
Is it possible for you send us the sample porject which reproduces this error?

Thank you.
Martin Hart Turner
Posts: 66
Joined: Wed Apr 04, 2007 3:32 am
Location: Spain

Business objects default columns

Post by Martin Hart Turner »

Andrew:

I have sent a project to support via the ticket system.

Regards,
Martin.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Business objects default columns

Post by Andrew »

Ok!

Thank you.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Business objects default columns

Post by Jan »

Hello Martin,

Please call Synchronize function from dictionary menu after loading report from file.

Thank you.
Attachments
379.Image.png
379.Image.png (13.79 KiB) Viewed 1692 times
Post Reply