I had an Interview yesterday for a Crystal Reports
Developer position. Some of these I have not done in my
reporting experience and I had just a half day's notice for
the interview, hence no prep time :-(
1) Is there a way to be able to change an image(company
logo) dynamically in a report? Example if you have 100
reports, and with the market uncertainity if you anticipate
that the company logo might change, how can you change the
image just in one place and have this reflected in all teh
reports at run time?
2) What is a SQL expression?
3) What are field expressions and what are the diff types?
(I looked this up in the internet and never found anything
with regards to types of field expressions)
The interviewer really got me confused as I felt he was not
clearly setting forth his questions but it could be that I
was unable to understand his wording of the questions. I
expect a big zero from his feedback but I am hoping this is
an experience for future interviews that I face in crystal
reports when I do get some more lined up.
Thanks in advance!
Anita
New Jersey, USA.
Answer Posted / hemalatha
One feature is there in crystal report xi.First To insert
an image we are doing Insert->click Picture -> we select a
picture from a directory that you have access to and click
on open and insert the picture where in report header
section.
To make the above object dynamic we can follow below steps:
1.Right-click the static OLE object that you inserted, and
choose Format
Graphic from the shortcut menu.
2. In the Format Editor, click the Picture tab, and then
click the Conditional
Formula button adjacent to the Graphic Location label.
3. In the Formula Workshop, create the path
For example, if your path is stored in a database field,
add that field to the
formula.
4. Click Save and close to return to the Format Editor.
5. Click OK to return to your report.
6. Click Refresh to update the reference link
Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
hi.. i've one crystal report. i want the report header as "employee database". i dont want to right click->insert and goto text object and insert. i've one aspx page and aspx.cs page also. now i want the "employee database" header to be printed from .cs file. i dont want to pass by parameter also.. i.e is there any option in .cs file something like ReportDocument myreport = new ReportDocument(); myreport.Load(MapPath("~/" + "emp.rpt")); myReport.Reportheader="Employee database"; i hope u have understood this. only thing is from .cs file i want to print the header as employee database. i dont want by passing parameter also... please help....
How to open subreport in new ie window using hyperlink button. I used target=new; in the formula field. But it overrides the main window and show the report?
How can we improve the performance of a crystal report?
Explain basic steps required to display a simple report in crystal?
If we create reports in Crystal Reports using the UCAR Data Warehouse database, which tables should be used?
Where is the image located, after youve placed it on the report?
What are field expressions and what are the diff types? (I looked this up in the internet and never found anything with regards to types of field expressions)?
What all performance improvement techniques used in crystal reports? (Particularly cr xi)?
Is there a way to be able to change an image(company logo) dynamically in a report? Example if you have 100 reports, and with the market uncertainty if you anticipate that the company logo might change, how can you change the image just in one place and have this reflected in all the reports at run time?
Where can we find the log file generated when we run a crystal report?
how can we convert crystal dictionary dc5 file to another datasource format like mdb or xml schema
How the data expert of flash object(after inserting flash object_right click-data expert) is useful in crt?
How to access crystal reports in .net?
hi ... i've created one crystal report in windows form and one crystalreportviewer .. the following is my code.. in form1.cs file try { ExportOptions CrExportOptions; DiskFileDestinationOptions CrDiskFileDestinationOptions = new DiskFileDestinationOptions(); PdfRtfWordFormatOptions CrFormatTypeOptions = new PdfRtfWordFormatOptions(); CrDiskFileDestinationOptions.DiskFileName = "c:\\csharp.net- informations.pdf"; CrExportOptions = cryRpt.ExportOptions; { CrExportOptions.ExportDestinationType = ExportDestinationType.DiskFile; CrExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat; CrExportOptions.DestinationOptions = CrDiskFileDestinationOptions; CrExportOptions.FormatOptions = CrFormatTypeOptions; } cryRpt.Export(); } the above code is saving the file into pdf into specified path.. but i dont want to save a file i should get direct print preview and have a option to print .. As we do in web application using crystal report viewer clicking print and report will be opened in pdf.. and the click print.. i want the same function as we do in web application... i'm writing code in c#.net hope the above explaination will be understood clearly..
Suppose I have a crystal report with a linked subreport as well. Is there any way not to print the current record on the main report if no records are returned from the subreport?