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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Db Links String to Number 1

Status
Not open for further replies.

piercey

Programmer
Apr 10, 2003
19
GB
Hi List,

I have tried to search the archives for this but can't find the answer.

I'm trying to link two tables from the same database but the fields I am linking are different data types, i.e. String and Numeric. Crystal does not allow me to link the two fields.

Is there any way to link the two fields? Or will I have to think of some other way to fetch the information I need from the second table?

Many thanks.
 
Use a record selection formula such as:

{Table1.text_cust_id} = ToText({table2.num_cust_id},0,'')

hth,
- Ido

Visual CUT & DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top