Solved

Modify field name in Crystal Report

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
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…

803 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