Log in Register FAQ Memberlist Search ContactReview Forum Index
A GoldMine Discussion and Support Community

ContactReview Forum Index » Crystal Reports » Crystal 11 - GM8.5 and Notes
Post new topic  Reply to topic View previous topic :: View next topic 
Crystal 11 - GM8.5 and Notes
PostPosted: Wed May 06, 2009 7:30 am Points: 0 Reply with quote
Lois
n00b
Joined: 11 May 2007
Posts: 3
Location: Chicago area




So we learned that any Notes fields inserted into existing Crystal 11 reports turned to mush after upgrading to GM 8.5 because of the new Notes table.

We received the SQL query to run against the database to create a 'view' table and that worked beautifully. We add the vconthist table to the report, keep conthist in the report, replace the conthist.notes field with vconthist.notes and the notes appear.

However, the report is replicating the history records multiple times and I'm sure it's a linking issue with the new vconthist table. Can anyone help me to understand how to link this new table? We've tried every possible combination, but no luck. Here are the original links from the conthist table:

conthist.accountno to contact1.accountno
conthist.userid to opmgr.userid
conthist.loprecid to opmgr.opid

Thanks in advance.
View user's profile Send private message

PostPosted: Fri May 08, 2009 8:29 am Points: 0 Reply with quote
Lois
n00b
Joined: 11 May 2007
Posts: 3
Location: Chicago area




Nevermind - figured it out.

For reports with conthist.notes in it, add the vnotes and vconthist notes tables to the report.

Link vnotes->accountno to vconthist->accountno
Link vconthist recid and accountno to its counterparts in conthist
If the report contains Opportunities and the OpMgr table, link vconthist->loprecid to conthist->loprecid.

If you link any fields from the vconthist table to other tables, you'll end up with multiple repeats of the same history record. At least that is what I experienced.

Hope this helps someone else dealing with Crystall 11 and GM v8.5.
View user's profile Send private message

PostPosted: Sat May 09, 2009 2:17 pm Points: 0 Reply with quote
DougCastell
GoldMine Guru
Joined: 15 Jun 2006
Posts: 1639
Location: Los Angeles, CA




Quote:
We received the SQL query to run against the database to create a 'view' table and that worked beautifully.


Care to share? Smile

_________________
Doug Castell

GoldMine Sales and Support:
http://www.castellcomputers.com/
office: (310)601-4738
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number

PostPosted: Tue May 26, 2009 5:22 pm Points: 0 Reply with quote
Deborah
Obsessive GoldMiner
Joined: 05 Apr 2007
Posts: 128
Location: Seattle, Washington




Lois, can you please paste the SQL Query you are talking about? I assume it is a derived table that combines columns from the conthist and notes tables and creates a vnotes table?

I can't believe I haven't seem more chatter about this issue because all Crystal Reports will need to be revised and I assume the SQL REports aren't pulling notes as well.

_________________
--Deborah Atkinson
Solutus
206-937-0451
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger

PostPosted: Tue May 26, 2009 11:05 pm Points: 0 Reply with quote
Deborah
Obsessive GoldMiner
Joined: 05 Apr 2007
Posts: 128
Location: Seattle, Washington




For those who will need this in the future to show notes from activities, you need to create a view in SQL:

create view vnotes as
select accountno, duration, userid, resultcode, actvcode, rectype,
ondate, ref, cast(cast(notes as varbinary(max))as varchar(max)) as 'Notes'
from conthist

Use the vnotes in Crystal Reports instead of conthist, linking on accountno.

What a PITA!

_________________
--Deborah Atkinson
Solutus
206-937-0451
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger

Crystal 11 - GM8.5 and Notes
  ContactReview Forum Index » Crystal Reports
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 7 Hours  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  


Brought to you by Castell Computers, Doug Castell, Admin
RSS Feed
Powered by phpBB © 2001-2004 phpBB Group
Theme created by Vjacheslav Trushkin