Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Write foot Doc file

2 posts in Objects Last posting was on 2004-06-01 09:15:34.0Z
CC Posted on 2004-05-31 14:29:04.0Z
From: "CC" <softQUITAESTO@gic.es>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Write foot Doc file
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
X-Original-NNTP-Posting-Host: 172.red-213-96-32.pooles.rima-tde.net
Message-ID: <40bb4169$1@forums-2-dub>
X-Original-Trace: 31 May 2004 07:30:01 -0700, 172.red-213-96-32.pooles.rima-tde.net
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 31 May 2004 07:27:24 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 31 May 2004 07:29:04 -0700
X-Trace: forums-1-dub 1086013744 10.22.108.75 (31 May 2004 07:29:04 -0700)
X-Original-Trace: 31 May 2004 07:29:04 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7910
Article PK: 735181

Hello to everyone.

Does anybody know how to write a text in a footer of a DOC file???'

I´ve a document with two diferent foots, one for first page, and second for
the other, and i need to write a text in this foots, but i don´t know
how to access to this sections.

I've tested:

OLE_OBJECT.SELECTION.FOOTERS(2).TYPETEXT("ESTO NO SALE")

but it doesn´t works. Any idea (help) ?????


Thank you very much

Carlos Castillo


"Davy De Permentier" <no_spam Posted on 2004-06-01 09:15:34.0Z
From: "Davy De Permentier" <no_spam@my_e_mail>
Newsgroups: sybase.public.powerbuilder.objects
References: <40bb4169$1@forums-2-dub>
Subject: Re: Write foot Doc file
Lines: 34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4927.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200
X-Original-NNTP-Posting-Host: 194.78.25.49
Message-ID: <40bc4970$1@forums-2-dub>
X-Original-Trace: 1 Jun 2004 02:16:32 -0700, 194.78.25.49
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 1 Jun 2004 02:13:48 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 1 Jun 2004 02:15:34 -0700
X-Trace: forums-1-dub 1086081334 10.22.108.75 (1 Jun 2004 02:15:34 -0700)
X-Original-Trace: 1 Jun 2004 02:15:34 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7911
Article PK: 735183

Something that often does the trick for me is recording a new macro in the
word document and do exactly what you want your Pb application to do (in
your case, changing the footer). Stop recording the macro and check the
macro code. There should be some useable syntax in it.

HTH,
Davy

"CC" <softQUITAESTO@gic.es> wrote in message news:40bb4169$1@forums-2-dub...
> Hello to everyone.
>
> Does anybody know how to write a text in a footer of a DOC file???'
>
> I´ve a document with two diferent foots, one for first page, and second
for
> the other, and i need to write a text in this foots, but i don´t know
> how to access to this sections.
>
> I've tested:
>
> OLE_OBJECT.SELECTION.FOOTERS(2).TYPETEXT("ESTO NO SALE")
>
> but it doesn´t works. Any idea (help) ?????
>
>
> Thank you very much
>
> Carlos Castillo
>
>
>
>