Solved

Can I change a datasource tablename w/o having to manually replace all the references to it.

Posted on 2006-06-14
2
221 Views
Last Modified: 2010-05-18
I have a CR10 .rpt file which  has a datasource with the tablename of "goober".

The report uses a variety of fields from this table, referenced, as typical, by goober.fieldname1.

I now need to change the datasource from a table named "goober" to a table named "widgets"

The widgets table has exactly the same structure.

I want all the field references in the .rpt file to change from goober.fieldname1 to widgets.fieldname1

Is there a way I can edit the .rpt file in CR (or even in a hex editor!) to change the table name so I don't have to delete and then re-create all the field references manually?

Tom
0
Comment
Question by:tfield98
[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
2 Comments
 
LVL 26

Accepted Solution

by:
Kurt Reinhardt earned 125 total points
ID: 16906852
You accomplish this in the Report Designer by:

1)  Navigating to Database|Set Datasource Location
2)  Drilling through the Current Data Source section until you highlight the table you need to change
3)  Drilling down through the Replace with section until you login into the new datasource and highlight the table you'd like to use
4)  Click the Update button

You may need to repeat this for multiple tables.

~Kurt
0
 

Author Comment

by:tfield98
ID: 16907114
Thanks SO MUCH!  That's exactly what I needed.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

690 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