 |
Goran Level: Moderator
 Registered: 16-05-2002 Posts: 1681
|
Re: settint fields position in crystal reports dinamically from VB
Textobject, for example
dim tb as craxdrt.textobject
set tb=rpt.sections(2).reportobjects("text1") ' page header section
tb.left=somevalue
cr.refreshex false ' false means we dont want to reload data from database |
there rpt is xraxdrt.report and cr is crystal report viewer control.
____________________________
If you find the answer helpful, please mark this topic as solved.
|
|
01-05-2005 at 07:06 PM |
|
|
Goran Level: Moderator
 Registered: 16-05-2002 Posts: 1681
|
Re: setting fields position in crystal reports dinamically from VB
I always work with external reports, therefore rpt object represent this external report. Every report has sections, and these sections can be accessed through their indeces/names. Every section has collection of report objects, and they can also be access through their indeces/names. So I dont see what is it that you didnt understand? Since you say you are building report in runtime, then you are aware of all these objects....
____________________________
If you find the answer helpful, please mark this topic as solved.
|
|
04-05-2005 at 09:17 PM |
|
|
Gharakhanlou Level: Scholar
 Registered: 30-04-2005 Posts: 40
|
Re: setting fields position in crystal reports dinamically from VB
hi Dear
so how we can pass this setting to report ?by formula or other thing?
and can we use several formula?
thank u more and more
|
|
05-05-2005 at 05:24 AM |
|
|
Goran Level: Moderator
 Registered: 16-05-2002 Posts: 1681
|
Re: setting fields position in crystal reports dinamically from VB
I dont understand you. You are working here with CR objects, therefore, everything you change on this objects will reflect crystal report when previewing it. The only thing you need to know is what section is the object in, what is the name (index) of the object to change it properties in runtime.
____________________________
If you find the answer helpful, please mark this topic as solved.
|
|
05-05-2005 at 02:20 PM |
|
|
|
|
 |
 |