Solved

Change Datasource of Bound fields

Posted on 2007-11-15
3
1,025 Views
Last Modified: 2012-06-21
I have designed a report in Crystal Reports. Prior to today I had never done it before so I am quite pleased with myself! I Hva eone problem though - When I set up the report, I used a query in MS Access to create the data. THis afternoon, i have learned how to create a command using a SQL statement. I don't want to use the query anymore - I'd rather use the fields in the command (which are exactly the same as in the Access query). How can I change the bound text fileds from being bound from the query to be bound from the command without deleteing them all and starting again? Surely there must be a quicker way than deleting them all and dragging them again from the command?!! In Access you can just change the datasource property at the click of a button. Can you do this in Crystal?
0
Comment
Question by:fuerteventura
  • 2
3 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 20291516
Which version of Crystal?

You can try changing the data source location.

In general when changing the data driver like that the easy way is to rebuild the report.  Any particular reason for changing to use a command rather than the query?

mlmcc
0
 

Author Comment

by:fuerteventura
ID: 20297016
Many thanks for your answer. I'm using crystal 9. Two main reasons for using a command: 1 - There's a possibility of upsizing to SQL Server from Access as the backen in the future and I'd rather control the query from Crystal. 2 - When I was making changes to the query, they weren't appearing in Crystal. i.e I added a field into the query and deleted another but it wasn't reflecting this in my field list - despite selectijng refresh. Is there a way around this? With the datasource - I'm using the same database so no need to chang (unless I'm missing the point somewhere here?)
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 20298314
When you change the datasource by adding or deleting fields you have to VERIFY THE DATABASE

Open the report
Click DATABASE --> VERIFY DATABASE

mlmcc
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

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 …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

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