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

Merging 2 Fields into 1 new one

Status
Not open for further replies.

rhoneyfi

MIS
Apr 8, 2002
200
US
I am new with Crystal
I have version 9.0

Is there a way to merge 2 fields into one new one?

Ex: I have two fields called Loan_Number and Deposit_Number. Can I somehow create a new field called AccountNumber that would list both the Loan Numbers and Deposit Numbers? THanks
 
You can concatenate them by creating a formula:

totext({loan.loan_no},0,"")+ - + totext({deposit.deposit_no},0,"")

But, I read your earlier post about linking, and I'm not sure what this will accomplish for you. I'm guessing that not every customer who has deposited with your bank has a loan also.

If you are still trying to figure out the links, it would be most useful if you explained whether all clients are represented in both tables, all from one table are represented in the other table but not vice versa, or whether each table might have customers not in common with the other table. Probably it would be best to do this in the original post.

Sorry if I'm off track on why you are asking the concatenation question...

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top