Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Concatenating SQL Varchar field Post Reply Post New Topic
Author Message
Jmac
Newbie
Newbie
Avatar

Joined: 24 Jun 2011
Location: United States
Online Status: Offline
Posts: 1
Quote Jmac Replybullet Topic: Concatenating SQL Varchar field
    Posted: 24 Jun 2011 at 5:55am
I have a report that has multiple tables joined together. One of the tables is a child table that can contain multiple lines to the one line parent table. I want to continue to keep one line on the report but concatenate one field from the child table.

I was trying to do this with a formula field with something like this:
Trim(tableC.feild1) + ‘ ‘ + trim(tableC.field1)

TableC = Child table

Any ideas?

Thanks,
James




Edited by Jmac - 24 Jun 2011 at 5:59am
IP IP Logged
CircleD
Senior Member
Senior Member
Avatar

Joined: 11 Mar 2011
Location: United States
Online Status: Offline
Posts: 251
Quote CircleD Replybullet Posted: 24 Jun 2011 at 12:44pm
Concatenate (x + y)
x should be the line you want to keep and y should be your child table field.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.047 seconds.