Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: pageheader text box Post Reply Post New Topic
Author Message
_Wired_
Newbie
Newbie
Avatar

Joined: 15 May 2009
Online Status: Offline
Posts: 30
Quote _Wired_ Replybullet Topic: pageheader text box
    Posted: 27 Sep 2009 at 7:46pm
i insert a textbox in my page header section... how to input a certain data in that textbox through codes...

here's the scenario.. i want my dtpicker value will be inserted in that textbox once i run the command to generate the report..


help pls.. thanks..Smile
IP IP Logged
Jyothi Yepuri
Senior Member
Senior Member


Joined: 11 May 2009
Location: Australia
Online Status: Offline
Posts: 127
Quote Jyothi Yepuri Replybullet Posted: 27 Sep 2009 at 7:48pm
Place your dtpicker parameter in textbox.

Jyothi
IP IP Logged
_Wired_
Newbie
Newbie
Avatar

Joined: 15 May 2009
Online Status: Offline
Posts: 30
Quote _Wired_ Replybullet Posted: 27 Sep 2009 at 8:14pm
like this?

with report

    .text1.text = dtpicker1.value

end with


the problem is.. i cant see the textbox that i inserted...
IP IP Logged
Jyothi Yepuri
Senior Member
Senior Member


Joined: 11 May 2009
Location: Australia
Online Status: Offline
Posts: 127
Quote Jyothi Yepuri Replybullet Posted: 27 Sep 2009 at 8:20pm
are you doing this report through .Net application?

try adding borders to your text box for visibility..

Jyothi
IP IP Logged
_Wired_
Newbie
Newbie
Avatar

Joined: 15 May 2009
Online Status: Offline
Posts: 30
Quote _Wired_ Replybullet Posted: 27 Sep 2009 at 8:22pm
i change the name of my textbox.. i can see it now.. next problem is i got this error >>> can't assign to a read only property
IP IP Logged
_Wired_
Newbie
Newbie
Avatar

Joined: 15 May 2009
Online Status: Offline
Posts: 30
Quote _Wired_ Replybullet Posted: 28 Sep 2009 at 6:42pm
Originally posted by Jyothi Yepuri

are you doing this report through .Net application?

im using vb6...


try adding borders to your text box for visibility..


it's not the physical appearance that im saying...
when i type >> .   text11 must be shown.. but it didnt.. then i rename the text11 to txtbox11, it work.. i can see it.. the main problem is how will i put the value of my dtpicker to that textbox?





IP IP Logged
_Wired_
Newbie
Newbie
Avatar

Joined: 15 May 2009
Online Status: Offline
Posts: 30
Quote _Wired_ Replybullet Posted: 02 Oct 2009 at 12:14am
is this possible?
IP IP Logged
_Wired_
Newbie
Newbie
Avatar

Joined: 15 May 2009
Online Status: Offline
Posts: 30
Quote _Wired_ Replybullet Posted: 06 Oct 2009 at 11:42pm
problem solved.. thanks to BruceVde

here's the code:

.text11.SetText dtpicker1.value


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.