Solved

Modify field name in Crystal Report

Posted on 2014-02-13
3
3,228 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

APEX (Application Express) is used to develop a web application from Oracle. SQL Workshop is one of the tools that comes with Oracle APEX to query or modify the database objects or to make any changes to the structure.
This article describes how to use the timestamp of existing data in a database to allow Tableau to calculate the prior work day instead of relying on case statements or if statements to calculate the days of the week.
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…

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now