Talk with the Author
 Crystal Reports Forum : General Information : Talk with the Author
Message Icon Topic: Content table ? Post Reply Post New Topic
Author Message
ukreporter
Newbie
Newbie
Avatar

Joined: 06 Sep 2007
Location: United Kingdom
Online Status: Offline
Posts: 1
Quote ukreporter Replybullet Topic: Content table ?
    Posted: 06 Sep 2007 at 2:03am
Hi Brian,
 
Was just wondering if anybody has managed to build a content table for a report using the document object model ?  ...
 
e.g. once you have loaded a report is it possible to find out what page a particular text object appears on? e.g. something like:
 

function getObjectPageNum(ByVal objSearch As String)

Dim obj As CrystalDecisions.CrystalReports.Engine.ReportObject

For Each obj In rptSpec.ReportDefinition.ReportObjects

If obj.Name = objSearch Then

Dim textobj As CrystalDecisions.CrystalReports.Engine.TextObject

textobj = obj

????????  return textobj.  Pagenum     ?????????????

Exit For

End If

Next

End Function

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.047 seconds.