Solved

Crystal Report 2008 Text data from SQL server not displaying

Posted on 2014-03-08
11
1,224 Views
Last Modified: 2014-04-22
I have data coming over from SQL 2012 into Crystal 2008.  Most of the part numbers are numeric, but some of them begin with alpha characters.  The ones that begin with alpha characters do no display.  

Also, I have some fields with a 0 or 1 in them and when I use the record select expert, they show $- or $1 for the data.  Why are they not just 0 or 1?

Thanks.
0
Comment
Question by:maverick0728
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +2
11 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 500 total points
ID: 39914813
What datatype does the report thin the field is?

What datatype is the field in SQL2012?

What connection method are you using to connect the report to the database?

mlmcc
0
 

Author Comment

by:maverick0728
ID: 39914844
The blank text field, has data type = string[50] in crystal, and varchar(50) in SQL
The logical field, has data type = Number in crystal, and tinyint in SQL

I am using an ODBC connection with SQL Server Native Client 10.0 as the driver.
0
 
LVL 18

Expert Comment

by:vasto
ID: 39914867
Start with Verify the database to make sure there is no mixes between the fields
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

Author Comment

by:maverick0728
ID: 39914877
i have done 'verify database' and this doesn't change anything.  still same result.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 39915140
Try using an OLE connection.

mlmcc
0
 
LVL 23

Expert Comment

by:Ido Millet
ID: 39915158
Switch to SQL Native 11 instead of 10.
0
 

Author Comment

by:maverick0728
ID: 39917558
mlmcc - we cannot use a OLE connection.
IdoMillet - I tried the SQL Native 11.0 connection and I get the same result.  Any other suggestions?
0
 
LVL 23

Expert Comment

by:Ido Millet
ID: 39917572
Try to use a command or a VIEW and CAST that column to a different data type.
0
 
LVL 35

Expert Comment

by:James0628
ID: 39920080
Is the report just reading the table(s) directly, or are you using something like a view or stored procedure that might be manipulating the data before it gets to CR?

 James
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 40015662
Why did you accept that comment as the answer?

mlmcc
0
 
LVL 18

Expert Comment

by:vasto
ID: 40015670
Why OLE connection is not an option ?
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

696 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