?
Solved

Modify field name in Crystal Report

Posted on 2014-02-13
3
Medium Priority
?
4,358 Views
Last Modified: 2014-02-13
I am new to Crystal Report and not very proficient with SQL.  I have created a report, but one of the tables has changed name, so, for example, field Cust_AddItemInfo.ItemKey needs to be changed to ShowReport.ItemKey
How can this be done
Thanks
Jeannie
0
Comment
Question by:data-informatique
[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 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 39856080
Crystal doesn't use the field names but converts them to an internal code.  You can get the change to the database using the VERIFY DATABASE function

Open the report
CLick DATABASE --> VERIFY DATABASE

You will be prompted that the database has changed
After clicking OK you will either get DATABASE HAS BEEN UPDATED or a screen allowing you to map fields int he report to the new tables

mlmcc
0
 
LVL 11

Accepted Solution

by:
John_Vidmar earned 2000 total points
ID: 39856100
Under menu Database | Database Expert, click on the old-table-name, hit F2, and rename the alias to your new-table-name.

Under menu Database | Set Datasource Location, click on your new-table-name in Current Data Source and match it with the new-table-name in the Replace with list, click Update button.

If there are fields that do not match in name/type then a wizard will prompt you to reassign old-field-names with new-field-names.
0
 

Author Closing Comment

by:data-informatique
ID: 39856110
Thank you so very much, it works perfectly
0

Featured Post

Cloud Training Guides

FREE GUIDES: In-depth and hand-crafted Linux, AWS, OpenStack, DevOps, Azure, and Cloud training guides created by Linux Academy instructors and the community.

Question has a verified solution.

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

Lotus Notes has been used since a very long time as an e-mail client and is very popular because of it's unmatched security. In this article we are going to learn about  RRV Bucket corruption and understand various methods to Fix "RRV Bucket Corrupt…
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

718 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