Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linking Crystal to EXCEL

Status
Not open for further replies.

mike99

Technical User
Joined
Jul 3, 2002
Messages
43
Location
CA
I have created an Excel file with two columns. Row 1 is column labels that I have range named and the rest of the rows are filled with numbers.

I have linked this Excel file to Crystal V8 via ODBC. In Visual linking expert in Crystal when I right click the field the properties of the field are defined as "string"
with a length of 255 characters.

What am I doing wrong? How can I change the field to a number field?

Thanks
 
A work around (until a better offer comes up) is to

1) Convert your Excel file to Access and modify the types there
2) Create a formula to convert the text to a numeric using the ToNumber function.

There may be a better solution but these should work in the meantime. Steve Phillips, Crystal Consultant
 
Not sure if you have done this.
I have never done this, nor have I tested this... But here is my idea. Go into excel, highlight your column, right click and select format cells. Change the format of the cells from 'general' to number.

Hope this helps Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top