Print Page | Close Window

pageheader text box

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=7813
Printed Date: 13 May 2024 at 4:33pm


Topic: pageheader text box
Posted By: _Wired_
Subject: pageheader text box
Date 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



Replies:
Posted By: Jyothi Yepuri
Date Posted: 27 Sep 2009 at 7:48pm
Place your dtpicker parameter in textbox.

Jyothi


Posted By: _Wired_
Date 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...


Posted By: Jyothi Yepuri
Date 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


Posted By: _Wired_
Date 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


Posted By: _Wired_
Date 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?







Posted By: _Wired_
Date Posted: 02 Oct 2009 at 12:14am
is this possible?


Posted By: _Wired_
Date Posted: 06 Oct 2009 at 11:42pm
problem solved.. thanks to BruceVde

here's the code:

.text11.SetText dtpicker1.value





Print Page | Close Window