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

Subreport Links CR8.5

Status
Not open for further replies.

dgabriela

Programmer
Sep 16, 2002
14
0
0
CA
Hello!

I've just realized that the field which I should link by my subreport to the main report is a different type than the field in the main report.
I mean: both contain Line# information but in the table for the main report it is TEXT and in the table for my subreport it is NUMBER.
I cannot change the structure for neither of the underlying tables...

Is there a way to still link by this field?

Thanks a lot!
Gabriela.
 
Dear dgabriela,

Create a formula in your subreport:

Totext(Table.Numberfield,0)

and link the main report text field to this formula field.

ro Rosemary Lieberman
rosemary@microflo.com, Microflo provides expert consulting on MagicTSD and Crystal Reports.
 
Thank you,
Yes, the formula works! And I will use TONUMBER because of the zeroes in front of the text (001 vs 1)
I panicked for a minute because I didn't expect this different type issue...
:)
Gabriela.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top