For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic Crystal Reports > March 2006 > using vb 6, designing custom graphs at runtime









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author using vb 6, designing custom graphs at runtime
Leisa

2006-03-29, 7:06 pm

Hello. I'm trying to add a graph in a Crystal report designer XI through vb 6
code. I've been looking through the graphobject object properties, but am not
seeing where I can set the fields that need to be included in the graph? Has
anyone tried this before? Can you help? Here's what I've been trying and it's
not working....

Dim gra As CRAXDDRT.GraphObject
With gra
.EnableForEachRecord = True
.GraphType = crRegularLineGraph
' .SummaryFields.Add ("{StationData.TC1}")
End With

Me.Sections(12).AddGraphObject (gra)

I'm actually in the crystalreport designer doing the code if the boolean is
set to true to do the above code. Any help would be great! thanks!!

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com