Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Setting data in header band of datawindow

610 views
Skip to first unread message

James Knowlton

unread,
Feb 3, 2000, 3:00:00 AM2/3/00
to
What row number did you use? I'll give it a try with 1, but just assumed
that wouldn't work.

James.

Suhail Sarwar wrote in message ...
>James, Have you tried SetItem() ????
>
>I've created an external dw and set the information in column in header. It
>works.........
>
>
>Suhail Sarwar
>
>

James Knowlton

unread,
Feb 3, 2000, 3:00:00 AM2/3/00
to
Nope, using SetItem(1,"begin_dt_",ld_begin_) didn't work. Supprisingly it
didn't give an error either, but nothing is displayed in the header field.

Boris Gasin [TeamSybase]

unread,
Feb 3, 2000, 3:00:00 AM2/3/00
to
On Thu, 3 Feb 2000 13:29:44 -0500, "James Knowlton"
<know...@leads-inc.com> wrote:

>Nope, using SetItem(1,"begin_dt_",ld_begin_) didn't work. Supprisingly it
>didn't give an error either, but nothing is displayed in the header field.

The header will display the value for the column in the current row.
So if you want it to always dispaly you have to set it for every row.


--
Boris Gasin [TeamSybase]
mailto:bga...@dynamictechgroup.com

Vote for your favorite tools!
http://www.sys-con.com/java/readerschoice2000/

Mine are:
- Sybase Enterprise Application Server
- PowerJ
- Sybase Adaptive Server Anywhere
- Power Designer V7

Philip Salgannik

unread,
Feb 3, 2000, 3:00:00 AM2/3/00
to
Is there any specific reason that you want those things in the header to be
column objects (versus text) ?

"James Knowlton" <know...@leads-inc.com> wrote in message
news:pbCcaTnb$GA....@forums.sybase.com...


> Nope, using SetItem(1,"begin_dt_",ld_begin_) didn't work. Supprisingly it
> didn't give an error either, but nothing is displayed in the header field.
>

James Knowlton

unread,
Feb 3, 2000, 3:00:00 AM2/3/00
to
No, I could be text, just seemed like it would be easier to use a column
object.
Guess I was wrong. If it is a text object, do you have an example for
setting the text dynamically.

TIA,

James.

Philip Salgannik wrote in message ...

Philip Salgannik

unread,
Feb 3, 2000, 3:00:00 AM2/3/00
to
Just use Modify

"James Knowlton" <know...@leads-inc.com> wrote in message
news:TT5Z1pob$GA....@forums.sybase.com...

JiaJian

unread,
Feb 13, 2000, 3:00:00 AM2/13/00
to
For example:
I place a static text control in header. I name the static text control
first such as st_1.
To set the static text with some characters, I have used:
<datawindow>.Object.st_1.Text = "..."
I think it will help you.

JiaJian

James Knowlton <know...@leads-inc.com> wrote in message

news:iXEuojmb$GA....@forums.sybase.com...


> What row number did you use? I'll give it a try with 1, but just assumed
> that wouldn't work.
>

0 new messages