Crystal Report data not displaying correctly - crystal-reports

I am having a problem with crystal reports because the records are not being displayed correctly. Below is the screenshot of the comparison between the crystal report output and the query from the database.
I would like to ask for a work-around or solution to this. I tried deleting the object and placing it again but it didn't work.

The telephone number is not pulling from the field you have highlighted in your screenshot. You can see the name is pulling from that field as it has the trailing /
If the telephone number is pulling from the FAPT_TELNO field i'm a bit puzzled why the A is being translated to 0. Are you able to attach the report with the data saved?

I found the solution, but still find it weird.
All that I have to do is to add this code and it will be back to normal
lower(mtel_picnm)
But I don't know why I need to do that. Any help on this? Just add in the comments to enlighten me.

Related

Display dynamic information in PowerView Report Title

I've a little problem,
I've to display the refreshing date in the report title to be "My report title refreshed : Curent date for exemple" I think that the title is a statical object but our client needs this information.
Thanks for your help.
I was having the same problem. This is what I did.
Add a new sheet
In A1 add a Header (I called mine Title)
In A2 Add a formula that will display the title you want (I used this since I needed a dynamic title for the month ="This is for Month " & text(today(), "MMM")
Add this table to the data model
Add the Title field to the slide
I changed mine to a card and move to the title area.
Hope this gives you some thoughts on solving your issue
I have a problem with PowerView in Excel 2016. I have some data where the current week is important to some cells' formulas. I wanted to display my data in a better way so I used powerview, the thing is that Excel itself doesnt allow for table headers with formulas, so I took them out and made them static.
I added the formulas outside the headers so the rest of my data can still pull info from them.
The thing is, using 'Week1'...'Week5' can be confusing for my users since they work with weeks a lot, so they might think my report is from January/February of this year.
A workaround is adding labels with the correct weeks outside the charts, but I was wondering if there is a way to tie them to the cells where the week is updated so they can be updated in powerview, mainly vba through a macro.

All fields are not showing for Group and Sort Section

I have a report created in Crystal Report 7.
I have modified a view on which the report depends.
When I clicked Verify Database new fields are added in Field's list.
After modification of View now I need to change the Grouping Order of report. When I searched in Fields Explorer there were all the fields present, but in Group Box those fields are not coming. Am I missing something, please help.
Also In Visual Linking Expert tab Browse Field is disable and for rest are enable.
I have never worked with CR 7 but I suspect a field type/size/characteristics issue. Can you put these 'missing' fields in your detail section and have a look at the displayed values? If these look normal, what I would try are the following:
convert the missing fields into 'smaller' ones, by setting them in
the query the following way, just to check if the problem is linked to a field size
issue or something like that.
CONVERT(varchar(10), returnReason) as returnReason
Another try would be to create the grouping fields in the report, adding corresponding Formula Fields like
groupReturnreason = left(returnReason, 10)
No guarantee of course, just a trial.

How to display multiple resultset of a dataset in textbox

In one of my report datset returns more than one output for a query since the ouptut will be displayed in textbox where it can fetch more than one row report is getting failed. can someone help me on this. can we use listbox to overcome this problem .iam using ssrs 2008.
Appreciate your help on this.
A Table control, or a List (which is, technically, just another table) should work just fine.

Crystal Reports 2008: field shows as blank even when data is returned from the database?

Issue
I have a report in CR 2008 that I inherited from someone else
A sub-report in the report pulls its data from a database view
A field exists, "TRANSCBFLAG" in the view -- it's a string with values of "Y", "N", or "D"
The view has these values
The report displays every other value, but not this one field.
Attempted Resolutions
Suppression attribute? -- No, it's unchecked
Field type issue? -- No, it's a string
Font and background? -- No, it's black font / white background
Suppression / formatting formulas? -- no formulas on display or suppression in subreports or report
Space constraints? -- stretched the field out below all other fields -- still shows as blank
Check to make sure Crystal can see the data -- right-clicked field, select "Browse Field Data", and it came back with the three potential values. So, it can see them in the DB at least, and potentially even in the fields itself.
Just a local Crystal Issue? -- No; I uploaded the report to Business Objects XI for a test and all fields still display except that one.
Question
Where in the process could I be going wrong? It shows when I run the view directly from the database, and every other field shows perfectly in Crystal the first time.
I would assume you did 'Verify Database' but if not that's the first thing I would have tried.
And just a piece of advice... always, always, always run your reports off of a command you write yourself instead of using Crystal's GUI to let you select tables/views/procs. This allows you to make pretty much any kind of change to the query you want and even completely change the source from where your data is coming without wiping all your report controls away. If the modified query has the same field names it will always work seemlessly and if not it will give you a chance to redirect which fields are supposed to come from where. Otherwise... you will have to recreate everything as you just experienced.
There may be a more correct answer, but in a pinch, removing the view from my report (thus removing all fields), adding the view again, and redoing all fields caused the field to display correctly. Not sure how or why.
A further explanation would be appreciated, but for now, that's all I've got.
I had the same issue on a new report I'd created and finally found that the issue was in one of the parameters I used in my command SQL - it had double }} at the end. Eliminating one of the }s allowed the query to return data.
That said, go over the SQL in your database expert with a fine toothed comb, and you'll likely find the issue!

Crystal reports 2008 report writing

Hi
I'm trying to write my first report!!!
and have number of question I cant seem to find the answer to can anyone help me please!
Q1.
i drag a DB field on the the report which is a string format and need to divide the value by 1024 and display the result. I know i need to use tonumber({fieldname}] but don't know where or how to add this and then do the division. how do I do it?
Q2.
on the report I have a group in its header I have the items that display across the report. in the detail I have the fields of a table that relate to above line. all good so far! How do add another Group or section that would allow another collection of data relating to the same first line!
as I see it I need to add another group with another detail section but I can't do this!
Hope this make some sort of sense!
thanks
Answer 1:
That operation should be done in a formula -- the formula editor will provide views to functionality you can access in that context.
Answer 2:
The Group Editor is what you need to use. You can access it from one of the menus at the top, or by right clicking the row header for the appropriate section IIRC.