Report Designer Parameter - report

i filter my report with <"BAccount.AcctCD">
[enter image description here]
but i the main report data is from <"LegalGeneralLedgerParameters"> which contains only <"ReferenceID">
its the same as <"BAccount.BAccountID">
so my question is can i filter with one field and i get in return i get another one ?
thank you for your cooperation
https://i.stack.imgur.com/Vhu7S.png

enter image description here
this is the filter i need but i don't have a drop list like the above and this is the parametre that i add
enter image description here

Related

how to change value of select list on change of another select list in exposed filter

I have created two exposed filter with the same field District.
When I change the selected value of District field 1, value of list one is set to District field 2.
what should I do for achieving this for more clarification of the question I have image attached bellow.
Please see the image:
Did you try this Drupal module
https://www.drupal.org/project/views_dependent_filters
Try this module :
https://www.drupal.org/project/views_conditional
Also this post can helps : https://drupal.stackexchange.com/questions/174334/views-conditional-filter

Crystal Report display collapse when one field allow can grow

My crystal report display not in correct format when I allow one field of it to "Can Grow".
Before allow "Can Grow" :
After Allow :
So how to solve the problem?
Here is what I have set :
Last edit:
Or try this.
Create a text Object.
Insert all your fields in that text Object base in your order.
How to insert? Cut the field then edit text object then paste.
Then in the properties of text object check the Suppress Embedded
Field Blank Line.
Then You can check also if you want the Can grow of text object
This is the Sample Output inside the Textobject
And the output is this
Cotabato to House is the Company name.
Sinsuat to Philippines is the Address.
Then Numbers is the contact.
They compres because i shorten the size of textobject so that they will execute the funtion of can grow
Your Output must be like this. hmmm
Your Final Output must be like this. No more '[' or ']' that can be seen inside the textobject.
Data was just Sample
If it's possible for you, you can create a section just for this field.
If you put your field which can grows and take 2, 3 or more lines in it's own section it will display all the lines but keep it separate from the other fields.
And in the case that it has one line the display will be like you want as well.
Edit : Advantage of this method : you can create a formula in the suppress formula of this new section, like if your text is null or empty, just suppress the section. Like that you can win some space in your report
Regards,

hiding a field using Openerp report designer

I am using OpenERP report designer to alter the sales order report a bit.
Background:
I am trying to remove the internal reference of a product that appears in my invoices, sales orders and quotations....
Actions done:
I have created a new field through the delevoper mode and named it x_showintref which is a boolean ('x_showintref': fields.boolean('Show Internal Reference'))...
What to do:
I am trying to edit the sales - quotation report so that when the x_showintref is ticked, it will display the internal reference else it will not display the Internal Reference of the product.
Other Ideas:
Is there a way one can put this in a python script as well??
Many Thanks
Try this in your report. This will work.
[[ o.x_showintref==True and line.product_id.default_code or line.name ]]

How to change column name of Report Viewer report?

I am using ASP.NET/C#.I am using Report Viewer control to display a basic report.Currently the data is shown properly however the column names are the same as when selected while configuring the Report Wizard.
Example:
cFirstName is displayed as cFirstName in the column header of the Report Viewer.
I would want to change it to First Name instead.
Here is the image of the issue.
Can anyone help me to achieve this?
Any suggestions are welcome.
Thanks.
You can set this in the rdl, rdlc file.
This is where it should normally be done.
It cannot be done through c#, unless you take that column name as a report parameter and set the column header using that parameter.

How can I hide subreports if they contain no data?

I have a report which has 3 subreports. In the case of no data I want to hide the report. It's giving me this error:
Error: Subreport could not be shown
How can I hide the subreports?
You are going to have to create some mechanism of knowing whether or not a subreport will successfully be shown on the main report because you aren't going to be able to "return" anything back to the main report from the subreport.
Could you create a small dataset on your main report that would query to check if data will exists for the subreport? and then you could use an expression on the subreport element (or container such as tablix or rectangle) to hide it based upon the results of the query on the main report.
Let me know if I need to clarify.
if we directly create a dataset in the main report itself then there is no question of using another report as a subreport we can directly use the fields from the data set created in the main report and assigning parameters to main dataset values. i think that will not server purpose.

Resources