Solved

Modify field name in Crystal Report

Posted on 2014-02-13
3
3,680 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
3 Comments
 
LVL 100

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 500 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

840 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