»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 07-03-2003, 09:17 AM   #1 (permalink)
Tec
Registered User
 
Join Date: Jan 2003
Posts: 104
Tec is on a distinguished road
Crystal Reports 8, number to string table link?

I got this 2 dbf files that I must link together by a specific field but the field in one table is in number format and the other field in the other table is in string format. The data in the string field is the same as in the number field on the other dbf file, I know I could convert the string field to number but that would mess up the program that writes data into it! So what I wanna know is if it's possible to link'em with diferent formats! maybe to read the string field as a number field or something! I tried the usual way going to link expert but it won't work due to different formats. I'm using Crystal Reports 8.5 to design this report. Any help would be aprecciated! Thanks in Advance!

Tec is offline   Reply With Quote
Old 07-04-2003, 11:00 AM   #2 (permalink)
Registered User
 
Join Date: Oct 2001
Location: Alberta, Canada
Posts: 546
^hyd^ is on a distinguished road
this might help, it's a bit similar anyways... Linking tables on a formula field instead of a database field

it's done thru a subreport, instead of doing the formula to concatenate for a match (like in the example), use a formula to convert to string/int (whichever way you need) and join thru it...??

can try doing some more searching here also.

good luck!

^hyd^
^hyd^ is offline   Reply With Quote
Old 07-04-2003, 09:14 PM   #3 (permalink)
Registered User
 
Join Date: Sep 2002
Posts: 265
Creosote is on a distinguished road
Other ways too. Instead of selecting the tables, base the report off of a view that is your 2 tables joined. If you're embedding this report in an application, base it off of a .TTX file and bring the 2 tables over into a recordset, and pass the recordset to the report.
Creosote is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 04:08 AM.