Solved

Field data type changed ... but format stays number ?

Posted on 2011-09-28
7
616 Views
Last Modified: 2012-06-22
Hi,
 
  I have a oracle 11 database, with a table, that has a column RESP_INST_PLANNED_TIME
  the field was NUMBER(10), and has now changed to varchar2(10)
  I have Crystal Reports 11.0, a report for that table, the field was shown as NUMBER.
  With "verify database", the field's type changed to "chaine[10] => string[10]

  So far, so good. the format field howver still thinks the fields is number, and "parse field values" shows only the numerical values, and empty/null for those that are not number anymore.

   how to trick it?
cr-data-type.JPG
0
Comment
  • 4
  • 3
7 Comments
 
LVL 19

Expert Comment

by:GJParker
ID: 36715157
Have you tried removing the field from the repprt and re adding ?
0
 
LVL 142

Author Comment

by:Guy Hengel [angelIII / a3]
ID: 36715485
yes, no change
0
 
LVL 19

Expert Comment

by:GJParker
ID: 36715553
is it teh database field that you are using directly ?

can you upload the report with saved data
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
LVL 142

Author Comment

by:Guy Hengel [angelIII / a3]
ID: 36715623
I will need a minute to modify the report to avoid customer data ...
0
 
LVL 142

Author Comment

by:Guy Hengel [angelIII / a3]
ID: 36715630
here we go, the report has now only that field ...
CC35---ADSL-Install-ION.rpt
0
 
LVL 19

Expert Comment

by:GJParker
ID: 36715703
Very strange - I've never seen that before

Have you tried adding the field to a completely new report to see if you get the same result ?

If you do need the field as a string then you could create a formula

Cstr({DSL_MAILING.RESP_INST_PLANNED_TIME})


0
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 0 total points
ID: 36715735
ah, I found it.
when refreshing the data, it now openend a window to check mappings for the fields vs the db fields.
I could uncheck the "respect data type" field, and then I could map the field to the column.

all good now !
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question