By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,680 Members | 1,508 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,680 IT Pros & Developers. It's quick & easy.

Dynamic report creation - Crystal Reports

P: n/a
Is it possible to dynamically create report and save it in rpt file?

For example I want to add an text object in report on x,y position in page
header. I need that dynamically, because I have a lot of reports made in
Visual FoxPro. It would be nice if I could make a converter. I read VFP
Report a.frx, see a text on position x,y in header and I create text object
in crystal reports on the same position etc... and save the report to a.rpt.
It would save a lot of time but I can't find the way how to dynamically
create object on a crystal report. I'm using the bundled version which came
with VS .NET 2003. If it can not be done in that version of Crystal Reports
can it be done in some other version?

Thx.

P.S. A little example would be greatly appreciated :)
Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
It must use Report Creation API interface from the RDC that was exposed
by Crystal Reports Version 8 or higher. If use it, you can use this
code :

crxReport.Sections("PH").AddFieldObject "{Customer.Customer
Name}", x, y

PH = Page Header
x, y = Object's position

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.