Bug - DB Cross Tab object in Subreport requires absolute position

More
4 months 1 week ago - 4 months 1 week ago #26055 by prashant
Hi,
This is a peculiar Case so bear with me .

www.loom.com/share/0e4c637a32cd4ace8f6a8add117aba68

1. Essentially the db cross tab object doesn't respect the sub-query relative position to primary report
2. Absolute position needs to be defined for it. 

PS : in the video I am saying cross pivot query but I mean a DB cross tab object
 
Last edit: 4 months 1 week ago by prashant.

Please Log in or Create an account to join the conversation.

More
4 months 1 week ago - 4 months 1 week ago #26056 by prashant
Claude solved this bug but I still feel it's worth raising a ticket with FastReports . essentially we've the find the position of the adjacent sub report and then  push the object by that width . Silly but it's working in this case, because there is a point of reference. 

 

procedure DBCross1OnBeforePrint(Sender: TfrxComponent);
var
  sub1: TfrxSubreport;
begin
  sub1 := TfrxSubreport(Report.FindObject('Subreport1'));
  TfrxDBCrossView(Sender).Left := sub1.Width;
end;
Last edit: 4 months 1 week ago by prashant.
The following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

More
4 months 1 week ago #26060 by admin
We are still waiting for the fields list refresh bug fix.... 

 

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
4 months 1 week ago #26061 by prashant

We are still waiting for the fields list refresh bug fix.... 
 
All their love is for DOT NET version haha

Please Log in or Create an account to join the conversation.

Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Google
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Google Analytics
Accept
Decline
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.
Advertisement
If you accept, the ads on the page will be adapted to your preferences.
Google Ad
Accept
Decline
Save