Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Change Datasource of Bound fields

Posted on 2007-11-15
3
Medium Priority
?
1,032 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
[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
3 Comments
 
LVL 101

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 101

Accepted Solution

by:
mlmcc earned 2000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying 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

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

610 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