How to show duplicate value on crystal report - crystal-reports

Any idea how to repeat same value in crystal report designer instead of increment.

Using Field Explorer in Visual Studio
Expand the Database Fields and find the column name to display.
Drag the select column into the designer.
Right click on the column and use copy paste feature.

Related

Crystal Report subreport blank field only deploy , in designer preview printer field exists

Crystal report version 2020
In Crystal Report Designer have "subreport" and have update Store Procedure in Field Explorer see new field, add new field in "subreport" in print preview I see the fields
but after deploy report and performed test see blank new field.
If run SP in "sql" management studio , get the correct query result.
In Crystal Report Designer i performed the following steps:
Database > Connect/Disconnect
Database > Verify Database
Field Explorer > Expert Database remove add SP with << >>
Field Explorer > Preview Printer > Browser Field see value field
what could be the solution, possible that i have to restart server???!!!!!
version Crystal Report 2020 (13.0)
Thanks
One explanation is that you originally inserted the subreport into the main report from an existing rpt file.
Right-click the subreport object and select 'Format Subreport'
Go to the 'Subreport' tab and make sure the option to 'Re-import When Opening' is turned off.
Otherwise, the original external .rpt would override your changes to the subreport.

Location of SQL Expression Editor

Crystal Reports doesn't seem to have a SQL Expression Editor. I know the Editor is only available when I select tables from source, so how can I add my own SQL Expression to my report?
To write your own SQL expression within Crystal, go to the Field Explorer on the right side of the Design view. Right click Database Fields and select Database Expert.
Pick the matching connection you want to use, and select Add Command
From here on out, Crystal will treat your statement as if it was another existing table.

Loading values in ireport parameters box

In ireport when clicking on preview, and you have parameters, you'll get a parameter box where you put a certain value to get specific record(s).Now i am trying to put specific values in the parameter box, so that the user would choose between it.
The same goal as in this so question : Loading promt box with parameters in iReport
However i want to do it without using Jasper Server. Is it possible to achieve this only from within IReport Designer?
You can do this,right click on the input control and select to add the local input control and provide id and name for the input control
Under the input control details select single select list of values if you have the list of values with you or if you want to add the data of a column as drill down select single select select query and extract that field.
This will help you to drill down the data.
Thanks and Regards
Megha
I'm pretty sure you can not do this in iReport preview. Have no clue what #Megha is refereeing to....
You can provide default value for your parameter through the <defaultValueExpression> tag and decide if you wan't it to prompt or not to prompt with the isForPrompting attribute.
Why can't we have select list, well I guess iReport is a tool for developers, so the preview is only to test the report. For customers jasper soft have developed the jasper report server.
And remember you can always develop your own interface (in swing or on the web)

How to create Table in Crystal Report

Create Table in Crystal Report
I am newbie to Crystal Report, and i am using Crystal Report 2008. I want to know, do we have table object in Crystal Report.. so that i can draw a table with specific rows and columns, and drag and drop the items to each and every table cell as per the requirement.
The problem i am facing without using table object is that, i have to align each and every element either it is text field or database field from the field explorer, so that it looks like a table and it is too much time taking.
If it can be done in Higher versions of Crystal Reports, then please give details.
you have to draw tables mannually in CR, using the line and box items from the designer,
alignment is also available, you can use gridlines and alignment options of crystal reports, its not hard at all..
Goto Insert - Ole Object - Microsoft Office Excel
It will add a excel file in your report. By dragging vertical reduce the excel object to one row and and horizontally to your required no. of Columns.
That will create a table with one row and many columns and can grow automatically in Detail section.

Adding new column in table Crystal Report subreport

I generated subreport with wizard. How can I insert new column into the table?
Assuming you're looking to insert a column between the two existing columns (and have your report continue to look nice), it's not trivial in the version of Crystal Reports you're using (based on your screenshot).
You'll have to resize/move your existing fields and field headings to make space (click on them to show resize handles), then drag the new field from the Field Explorer to the details section in the space created.
A newer version of Crystal Reports has added a "Smart Formatting" feature to make column insertion (and related tasks) easier - this article contains a summary of the feature.