Writing Code
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Writing Code
Message Icon Topic: Getting data into VB Post Reply Post New Topic
Author Message
ayatollah
Newbie
Newbie


Joined: 05 Aug 2008
Online Status: Offline
Posts: 8
Quote ayatollah Replybullet Topic: Getting data into VB
    Posted: 05 Aug 2008 at 8:40am
New to the forum and have a question which may be very simple but I'm stuck.

Basically I have a doc with lots of fields. I want to take a field and check what value is contained in it. Its different values will correspond to the position of another field. I can reposition the other field, thats fine. I just need to be able to get at the data in the field. I need to do the checking of the fields in VB rather than formulas.

I hope this isn't confusing, as I know I am not good at explaining my needs. Hope someone can help.

Edited by ayatollah - 05 Aug 2008 at 8:51am
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 09 Aug 2008 at 5:01pm

Glad to have you on the forum! Unfortunately, you're not going to like my answer. The way to .NET works with CR is that it can only talk to Crystal PRIOR to report generation. .NET can modify report objects and properties before the report is generated, but after that it is hands off. You don't have events that get fired for each detail record so that you can examine data and make report changes. The event driven model doesn't exist for CR. You have to use formulas to do report analysis/modification during report generation.

Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.