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.

What is the following code mean?

6 posts in Objects Last posting was on 2002-08-26 01:50:07.0Z
Sunny Posted on 2002-08-22 16:04:44.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: Sunny
Date: Thu, 22 Aug 2002 12:04:44 -0400
Subject: What is the following code mean?
Lines: 10
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <364_C6C7C167F58794810058531785256C1D.0058532985256C1D@webforums>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com!webforums.sybase.com!news
Xref: forums-1-dub sybase.public.powerbuilder.objects:1002
Article PK: 713565

Can anyone tell me what is the following code mean?
I want to know what parameter should pass into Bookmarks.Add()

lole_Selection.Bookmarks.Add( ls_Columns[ ll_Col ]+string(ll_Col),
lole_Selection.Range )

Also, can i ask what is following mean too?

lole_Selection.MoveUp( 5, 8 )
lole_Selection.HomeKey( 5 )


Steve_Katz_[TeamSybase] Posted on 2002-08-22 17:22:44.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: Steve_Katz_[TeamSybase]
Date: Thu, 22 Aug 2002 13:22:44 -0400
Subject: Re: What is the following code mean?
Lines: 25
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <364_D48E12C8A5A03D22005F775785256C1D.005BAABC85256C1D@webforums>
References: <364_C6C7C167F58794810058531785256C1D.0058532985256C1D@webforums>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com!webforums.sybase.com!news
Xref: forums-1-dub sybase.public.powerbuilder.objects:1000
Article PK: 713561

>>Can anyone tell me what is the following code mean?
I want to know what parameter should pass into Bookmarks.Add()

lole_Selection.Bookmarks.Add( ls_Columns[ ll_Col ]+string(ll_Col),
lole_Selection.Range )
<<

ls_Columns is probably a string array in PB populated with column names.
ll_Col is an index into that array. So ls_Columns[ll_Col] + String
(ll_Col) may look something like firstName14 assuming firstName is the 14th
column in the array.

>>
Also, can i ask what is following mean too?

lole_Selection.MoveUp( 5, 8 )
lole_Selection.HomeKey( 5 )
<<

For the ole object, you need to find documentation on what it's functions
require as parameters and what the functions do. PB allows you to access
ole objects, but doesn't document them<g>.

steve
[TeamSybase]


Roy Kiesler [TeamSybase] Posted on 2002-08-22 16:59:53.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Roy Kiesler [TeamSybase]" <SPAM_FREE_roy.kiesler@teamsybase.com>
Subject: Re: What is the following code mean?
Date: Thu, 22 Aug 2002 12:59:53 -0400
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: host131.percussion.com 208.252.62.131
Message-ID: <364_NPDPo8fSCHA.310@forums.sybase.com>
References: <364_C6C7C167F58794810058531785256C1D.0058532985256C1D@webforums>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:1001
Article PK: 713564

Open Microsoft Word, press Alt-F11, then F2 and find these objects and
functions in the VBA object browser. Each one has a detailed description.

--
<hopethishelps/>
Roy Kiesler [TeamSybase]
Sybase Developer Network -- http://sdn.sybase.com

<Sunny> wrote in message
news:C6C7C167F58794810058531785256C1D.0058532985256C1D@webforums...
> Can anyone tell me what is the following code mean?
> I want to know what parameter should pass into Bookmarks.Add()
>
> lole_Selection.Bookmarks.Add( ls_Columns[ ll_Col ]+string(ll_Col),
> lole_Selection.Range )
>
> Also, can i ask what is following mean too?
>
> lole_Selection.MoveUp( 5, 8 )
> lole_Selection.HomeKey( 5 )


Sunny Posted on 2002-08-23 01:52:11.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: Sunny
Date: Thu, 22 Aug 2002 21:52:11 -0400
Subject: Re: What is the following code mean?
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <364_84AC3A6E76528969000A457685256C1E.00642E8085256C1D@webforums>
References: <364_C6C7C167F58794810058531785256C1D.0058532985256C1D@webforums> <364_NPDPo8fSCHA.310@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com!webforums.sybase.com!news
Xref: forums-1-dub sybase.public.powerbuilder.objects:997
Article PK: 713566

Thanks for your help!!!

But, I have try it
it said that for the bookmarks.add()
it is

Function Add(Name As String, [Range]) As Bookmark

But can i ask what is [Range] mean?



Also, i also want to know where can i get the details on
lole_Selection.MoveUp( 5, 8 )
lole_Selection.HomeKey( 5 )

Thank You Very Much!!!!


Roy Kiesler [TeamSybase] Posted on 2002-08-23 12:32:51.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Roy Kiesler [TeamSybase]" <SPAM_FREE_roy.kiesler@teamsybase.com>
Subject: Re: What is the following code mean?
Date: Fri, 23 Aug 2002 08:32:51 -0400
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: host131.percussion.com 208.252.62.131
Message-ID: <364_TyORHMqSCHA.74@forums.sybase.com>
References: <364_C6C7C167F58794810058531785256C1D.0058532985256C1D@webforums> <364_NPDPo8fSCHA.310@forums.sybase.com> <364_84AC3A6E76528969000A457685256C1E.00642E8085256C1D@webforums>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:995
Article PK: 713555

Range is the number of characters that the bookmark will span. The default
is 0.

MoveUp and HomeKey simply trigger the up-arrow and Home keys on your
keyboard.

--
<hopethishelps/>
Roy Kiesler [TeamSybase]
Sybase Developer Network -- http://sdn.sybase.com

<Sunny> wrote in message
news:84AC3A6E76528969000A457685256C1E.00642E8085256C1D@webforums...
> Thanks for your help!!!
>
> But, I have try it
> it said that for the bookmarks.add()
> it is
>
> Function Add(Name As String, [Range]) As Bookmark
>
> But can i ask what is [Range] mean?
>
>
>
> Also, i also want to know where can i get the details on
> lole_Selection.MoveUp( 5, 8 )
> lole_Selection.HomeKey( 5 )
>
> Thank You Very Much!!!!


LAI Posted on 2002-08-26 01:50:07.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "LAI" <alai@hotpop.com>
Subject: Re: What is the following code mean?
Date: Mon, 26 Aug 2002 09:50:07 +0800
Lines: 42
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
NNTP-Posting-Host: 202.140.232.253
Message-ID: <364_lvgTDPKTCHA.288@forums.sybase.com>
References: <364_C6C7C167F58794810058531785256C1D.0058532985256C1D@webforums> <364_NPDPo8fSCHA.310@forums.sybase.com> <364_84AC3A6E76528969000A457685256C1E.00642E8085256C1D@webforums> <364_TyORHMqSCHA.74@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:993
Article PK: 713562

Can I change the range to other value. i.e. the range has a value of 10.

if yes, how to change the range to other value?
Thank You


"Roy Kiesler [TeamSybase]" <SPAM_FREE_roy.kiesler@teamsybase.com> ¼¶¼g©ó¶l¥ó
news:TyORHMqSCHA.74@forums.sybase.com...

> Range is the number of characters that the bookmark will span. The default
> is 0.
>
> MoveUp and HomeKey simply trigger the up-arrow and Home keys on your
> keyboard.
>
> --
> <hopethishelps/>
> Roy Kiesler [TeamSybase]
> Sybase Developer Network -- http://sdn.sybase.com
>
> <Sunny> wrote in message
> news:84AC3A6E76528969000A457685256C1E.00642E8085256C1D@webforums...
> > Thanks for your help!!!
> >
> > But, I have try it
> > it said that for the bookmarks.add()
> > it is
> >
> > Function Add(Name As String, [Range]) As Bookmark
> >
> > But can i ask what is [Range] mean?
> >
> >
> >
> > Also, i also want to know where can i get the details on
> > lole_Selection.MoveUp( 5, 8 )
> > lole_Selection.HomeKey( 5 )
> >
> > Thank You Very Much!!!!
>
>