Solved

Change Datasource of Bound fields

Posted on 2007-11-15
3
1,023 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 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

9 Experts available now in Live!

Get 1:1 Help Now