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.
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / prathamesh.a
Answer 1:
Yes,there is a way.User may create a word document,embed
the required image as a picture object in it and then embed
this word document inturn into Crystal reports(as a linked
OLE object).
Any change in the word document would reflect in all he
reports using this word doc.
Answer 2:
The following article would explain about this:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.s
ap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap
(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%
7B6163636573733d36393736354636443646363436353344333933393338
323636393736354637333631373036453646373436353733354636453735
364436323635373233443330333033303331333233313337333833373331
%7D.do
Answer 3:
This was to confuse you further.There are formula
fields,database fields,sql expression fields,paramter
fileds etc and nothing like expression fields.
Is This Answer Correct ? | 13 Yes | 1 No |
Answer / shashi
SQL Expression is one Feature in Crystal report,by SQL
commands we pull the data from data base server to crystal
report.
Advantage:it's reduce the load on the server. bz we are not
loading all the table into Crystal reports, just we are
loading what we want using SQL.
Is This Answer Correct ? | 15 Yes | 4 No |
Answer / neeraj goud
1. yes there is a way to change the image it in the oje
format not in a one section where the old image is the ther
we will insert the new image.
2. SQl expression is in the field explorer option once go
throw that it will analze u only
3.Field expression is not there i think dat is field
explorer
Field explorer means nothing but what ever reqired for the
report field we will adding by this field explorer
EX: Data fields, Formula fields etc
Is This Answer Correct ? | 0 Yes | 0 No |
Is there a way to export a report definition without writing code?
HOW TO USE 5 CRYSTAL REPORT OR SUBREPORT ON DIFFERENT CONDITIONS IN ONE VB PROGRAM
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..
If we create reports in Crystal Reports using the UCAR Data Warehouse database, which tables should be used?
How to access crystal reports in .net?
How many types of reports can be generated in crystal reports?
7 Answers Finite Infotech, Precision Techconet, VMware, winfoware,
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. Can anybody answer this please....... Regards Vimal.
HI all, I am developing reports using crystal reports in VS2005 in windows application. I have two crystalreports name called "studentReport" and "familyReport". I have a form with a button. If I click the button I need to show up the two reports in one report like page1, and page2. The page1 consists the "studentReport" and the page2 contains the "familyReport". The "familyReport" contains different header and footer. How to show up the two crystal reports in single crystalreportviewer?
How to pass stored Procedure Parameters to the report?
Kindly Help for this Below Scenario, I am going to implement Power BI into our internal software. I’m familiar with the fact that each user can pay $9.99 a month to build and view reports but what I need to know is how can we embed Power BI into our application so that any users that log into our application can see the reports without the monthly fee. I’ve researched enough that it can be done. What I am not familiar with is how to do it or the pricing of embedding it into an application. I think they do pricing on how many renders you do or something. Would you be able to look into how we could embed it into our software and the cost?
One more interview question If I have the data where some columns have multiple values in a given row of data returned from the database. The stored procedure returns data as it is that is blanks values and non blank values. However, I need to suppress the blank values not by showing 0 values but by shifting the cells up. Is there a way using a formula to shift the blank cell one row up based on a selection critieria? In the example below, I want to get rid of the blank values under Exposure column without replacing with 0. example: Company Margin Exposure AB 500 3 10 7 8 ABC 200 4 2 5 10 Thanks Anita
Can we use Crystal report as a stand-alone application?