Page 1 of 1

Business objects default columns

Posted: Mon Mar 29, 2010 12:01 pm
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.

Business objects default columns

Posted: Tue Mar 30, 2010 2:03 am
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.

Business objects default columns

Posted: Tue Mar 30, 2010 3:05 am
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.

Business objects default columns

Posted: Tue Mar 30, 2010 8:08 am
by Andrew
Hello,

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

Thank you.

Business objects default columns

Posted: Wed Mar 31, 2010 2:14 am
by Martin Hart Turner
Andrew:

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

Regards,
Martin.

Business objects default columns

Posted: Wed Mar 31, 2010 2:35 am
by Andrew
Ok!

Thank you.

Business objects default columns

Posted: Wed Mar 31, 2010 4:17 pm
by Jan
Hello Martin,

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

Thank you.