I was wondering if anyone has a solution to this.
Lets say we have a varchar(10) field in a database table and this is included in hundreds of Report Builder reports.
Now if we increase the size of this field to now be a varchar(20) we have the problem where all data longer than 10 charaters will be truncated in the reports unless each report is physically edited by opening the data tab, removing the filed and reselecting it. Alternatively it can be done by opening the rtm file in a text editor and searching for the field.
Note that I am not talking about the physical display size of a field but the data field size.
Is there another way to make report builder reports somehow "refresh" the field sizes from the datasource?
thanks
Darren
Related
I have a report where I would like to select which field of database to show/print and hide all unselected field.I had seen in Fastreport demo but its only Choosing records to print. By the way i'm using dbexpress connection and firebird for database.
Any one who has some ideas about this?
Another simple solution would be to solve it on Delphi itself, before calling your Report.
Just add a calculated field to your dataset, and make it return the content of the real field that you want to show on your report. Now you can link your Report to that calculated field, and each time it will present the field that you have selected to present.
So I'm working on a form that makes use of database grids, I'm having an issue where I need to auto-default a field based upon the amount and GST fields. This will always auto-default my field for the user until the point where they manually change my field, at which point it obviously will not do anymore defaulting for that record.
Any ideas on how I can achieve the recognition of a manually modified field in Delphi? Please note I'm not talking about the manual modification of a record so the following code is not applicable to my situation (unless you can somehow find a way to use it).
Much appreciated!
Populate the value in the field when the amount or GST changes, and then calculate whatever the field is you want to auto-default. Allow the user to change it, and don't react to that change unless the user modifies the amount or GST again. You can use the TField.OnChange event (on the amount and GST fields) to do so.
I have an MVC application which displays reports based on the report viewer.
Currently, the report has 4 columns and the requirement is to show columns based on the parameters selected.
I had achieved the solution by using sending parameters to the rdlc file and hiding the columns.
But now the problem which I am having is, when the report is exported as excel the last hidden column is showing as an empty column and this is an issue when printing the report from excel.
I would like to know if there is anything that can be done through code so that the column is not generated at all instead of hiding it. had done a lot of research but didnt find any solution. Can anyone please help me... Thanks!!!
One option would be to update the column's cell expressions to not return anything unless the parameter is set to show that column:
=iif(Parameters!HideColumnValue,Nothing,Fields.YourFieldName.Value)
If your column has background or line formatting that needs to not show when the column his hidden, you can set that as well:
Background Color:
=iif(Parameters!HideColumnValue,"White","Gainsboro")
Lines:
=iif(Parameters!HideColumnValue,"None","Solid")
I need create a crystal report to report the column across not down. The report itself is very simple, there is no need to group and summarize. The only thing is different from regular report is it need display the column across rather than down. I try use cross-tab, or multiple columns with no success. is there any way i can make is down in crystal? Thanks
The regular report with column down:
I need display like these:
try the following
put the the 4th names of the first column in the page header and make that section underlay the following section, then create 4 details sections, one per column and put the values values right next below and make the details to grow across then down.
for instance
page header
Mth
Vendor
Trans#
Amt
end of page header
details1 date field
details2 vendor field
details3 trans field
details4 amt field
I am looking at extracting some data from a Clarion .TPS file and I have been using the TopScan Application to open them.
When I look at the tables there are lots of hidden fields.
Are they just protected fields i.e. to stop someone from seeing the information or are they something to do with the indexes?
Also would using the ODBC driver reveal what they are?
Reards
The first time you open a TPS table using Topscan, it only shows the first few columns (15 I think) and the rest are set as "hidden". This is only a feature of Topscan, not a developer or technical restriction.
To view them, click on the menu Column ยป Show/Hide.... It will show a dialog with all the columns in the table, click the button Select all and OK and all columns will be displayed.
After you close the table, a new file tablename.SCN will be created, it saves the visible/hidden status of the columns and any other changes you make the view (column width, position, picture, etc.)