Solved

Need to link integer field from main report with character field in subreport

Posted on 2014-11-19
5
189 Views
Last Modified: 2014-11-19
I'm using Crystal 8.5 to modify a PO report.  The PO header contains a "VendorID" (integer).  That POHeader.VendorID links to the Vendor table VendorID (integer).  There is a field on the Vendor table called "VendorNum", and it's an integer field.  This character field needs to link to a subreport that shows memos for that vendor.  The field I need to link to in the subreport is a character field.  How can this be accomplished?

Thank you!
0
Comment
Question by:MTaft
[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
5 Comments
 
LVL 18

Accepted Solution

by:
vasto earned 500 total points
ID: 40453433
Create a formula and assign the subreport parameter to the formula
0
 
LVL 1

Author Comment

by:MTaft
ID: 40453437
Ok, I'll try that now, Vasto.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 40453492
Agree.  Create a formula that converts the main report field to the appropriate type.

TO convert a number to a string be sure to include the formatting

CStr({YourNumber},0,'')

That converts to a numeric character string with 0 decimals and no thousand separators.

If you need leading 0's then use something like this

CStr({YourNumber},'00000000')

mlmcc
0
 
LVL 1

Author Comment

by:MTaft
ID: 40453724
Thanks Vasto.  That worked.
0
 
LVL 1

Author Comment

by:MTaft
ID: 40453726
Thanks mlmcc.  Great to know!
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

695 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