Question

Crystal pulling deleted records from ACT

Asked by: budzynm

Greetings,

We're in the process of migrating our Act database from v6 to Act 2009 Premium edition. I'm presently re-writing all the CR reports  (CR XI rel1) and have come across a problem which we aren't really sure how to handle: CR will pull deleted company records into reports, but when we lookup the same company records in Act we don't see the 'extra' records (since they have been deleted). Obviously this is throwing off our numbers.

Our Act database (which is running on top SQL 2005) is re-indexed weekly. We do NOT have access to the SA password so logging directly into the SQL server is not an option.

Any ideas on how to address this/anyone have a similar experience.

Thanks in advance.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-06-19 at 07:08:43ID24505728
Tags

Crystal Reports

,

Act 2009 (Premium)

,

deleted records

Topics

Crystal Reports Software

,

ACT

Participating Experts
3
Points
0
Comments
18

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Configuration of CR Server XI
    After installing CR Server XI, when you click .NET Infoview on the menu shortcut it opens the webpage in design mode in .Net 2003. How do I change this so that I can actually see the web page?
  2. CR XI
    I'm currently using Seagate Info (V. 7, I think) and using a little bit of CR 10. My company is upgrading to the CR XI, would I be able to work on the CR XI without going on training courses first?
  3. Benefits of Crystal Reports XI over CR 8.5
    Business Objects is offering a $99 upgrade from any previous version on Crystal to Crystal Reports XI (developer edition). I currently use CR 8.5 what are the benefits of upgrading? i have seen the grid that shows the various features in XI as compared to 8.5. i would lik...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: dhobalePosted on 2009-06-19 at 07:32:08ID: 24666683

Check to see if the "Deleted records" are actually just inactivated. Use that inactivation criteria (eg. active = 0) in your selection and it should show only active records. CR can not show deleted records. Also check the join types you are using (outer joins may show data discrepancy. eg. if data from one table is deleted and the related data in other table hasn't been deleted, it may show up in outer join...depending on your query.)

You can check the column structure by using "sp_help" stored procedure or by using system tables through crystal.

 

by: GLComputingPosted on 2009-06-19 at 07:42:23ID: 24666786

Here's a tip for looking at the database with the Premium versions of ACT!:

http://blog.glcomputing.com.au/2009/04/getting-table-structure-and-links-from.html

 

by: mlmccPosted on 2009-06-20 at 16:06:37ID: 24675562

Check the selection criteria of the reports.  Make sure the new ones match the old ones.

Is there achance the migration turned the deleted records into good records?

mlmcc

 

by: GLComputingPosted on 2009-06-20 at 20:52:55ID: 24676134

If the conversion restored the deleted records, at very least it means that you never did any maintenance on the database - and that's very bad. You may have other data problems also.

 

by: budzynmPosted on 2009-06-25 at 04:43:59ID: 24710311

Thanks for the input so far. The database is set to auto index weekly so it is up-to-date. It looks like the problem is the joins/virtual columns.

In researching this issue I did stumble upon the blog regarding getting the table structure, but unfortunately one needs Visio--which I do not have access to.

From what I can understand Act has the address table being used as virtual columns for the three entities: company, contact and groups. When I built a CR report that needed to pull data from the company table (and the custom company tables) I link the address table to the default company ACT company table using the companyID; the problem appears to be that it locates a number of matches (hence my original confusion regarding deleted records)--my guess is that since the address table is also being used by the contact tables, that more than one row of the can contain the same company ID.

I'm using the default linking options in CR to join the tables. I'm not sure how to handle the virtual columns so as to have CR pull the correct row. Any insight/help/suggestions?

 

by: GLComputingPosted on 2009-06-26 at 04:57:59ID: 24720045

You can use the Visio trial to get it done :-)

Do you know if CR is using OLEDB or ODBC?

Have you also had a look at ACTDataDictionaryDocument.rtf (from the ACT! Program Files folder)?

 

by: budzynmPosted on 2009-06-26 at 10:48:26ID: 24723233

I'll give Visio trial a shot.

CR is using ODBC (RDO) and I have reviewed the data dictionary documents and from what I gather I may not be able to access the virtual columns because it may be some programmatic voodoo that ACT does internally to manage them. I'm at loss.

-mark

 

by: GLComputingPosted on 2009-06-26 at 11:10:44ID: 24723473

So you are using ActReader? I think you need that for ODBC.

The best people for CRW in ACT! would be:




 

by: budzynmPosted on 2009-06-26 at 12:20:21ID: 24723939

Yeah, I am using ActReader through ODBC. I just tried the Visofunction to extract the database and the linking they're showing is how I had linked the tables through CR.

Not sure what else to try. I'll give the folks at desgnr1 a call.

 

by: budzynmPosted on 2009-06-29 at 04:34:23ID: 24735186

I've just come up with a work-around that isn't 'optimal' but does address my specific problem. ACT treats the address table as virtual columns that get appended onto either the contact, company or group entities. The problem: when I link the companyID in the address table to the company table I need I get extra records; it looks like ACT handles the management of the virtual columns, so I have no way using Crystal to make that work correctly (please, correct me if I'm wrong).

My fix: create new address fields in the company tables and in ACT copy the values from the address table to my new custom address fields.

The only challenge I have remaining is that I would like to automate the copying of the fields so after hours the custom fields will get populated from the standard address fields.

Can anyone point me in the right direction on how I can automate database-wide field copies.

 

by: GLComputingPosted on 2009-06-29 at 05:21:15ID: 24735449

You can do that only through the SDK (with some .Net code using the SDK) or via an add-on.

Did you try Stan or Tami?

 

by: budzynmPosted on 2009-06-29 at 07:37:50ID: 24736543

Unfortunately no, didn't have the time... was on a deadline.

I will try those folks. Meanwhile can you recommend an add-on that would allow me to run batch jobs after hours to copy the contents of one field to another.
-mark

 

by: GLComputingPosted on 2009-06-29 at 08:25:06ID: 24737037

I don't know any that will do it as a batch. I know a couple that will do it on-demand, such as:
http://www.tnhg.com/prod9/CopyFieldsContents.html

I would have a look at Clear Essentials from Stan... makes Crystal Reports much easier.

A third option for reporting that I've heard good things about (although haven't used him personally) it Steve Stroz - http://www.experts-exchange.com/M_640000.html

 

by: budzynmPosted on 2009-07-15 at 07:36:57ID: 24859853

Just wanted to follow up that I spoke with Stan and he experienced the same problems we are currently experiencing. His solution was to create a custom SQL command in Crystal's database expert. I'm trying to work that out with him.

And, as an update, I believe ACT does virtual tables with address, phone and emails.

 

by: GLComputingPosted on 2009-07-16 at 02:38:28ID: 24867754

Stan's a good guy... let us know how you go

 

by: budzynmPosted on 2009-10-13 at 10:51:23ID: 25562370

It looks like it was a linking issue. We're using TopLine Designer to create custom entities. From these custome entities we were using the companyId to link to all the overflow companyId tables with inner joins. That's the problem. Apparently Act will only add a row to each of the overflow tables when a new record is created--if a field is being populated in that overflow table. So the company tables can be of different lengths.

End result is that that we had to link the custom entities to the main company table and then from their we had to link to the overflow company tables using left outer joins. We had to do the same with the address table link.

Took us a while to figure this out.

 

by: GLComputingPosted on 2009-10-13 at 19:31:44ID: 25566804

Ahhhh.... you didn't say you were using custom tables. Yes, that's the way

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...