Solved

Change Datasource of Bound fields

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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. …
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 …
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

910 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