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.

uo_1.create_datawindow(parms)

3 posts in Objects Last posting was on 2003-05-15 12:56:07.0Z
a_extreme_newby Posted on 2003-05-15 08:53:05.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: a_extreme_newby
Date: Thu, 15 May 2003 04:53:05 -0400
Subject: uo_1.create_datawindow(parms)
Lines: 24
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <364_DCA880CE922ABBEB0030CDE085256D27.0030CE4685256D27@webforums>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!webforums.sybase.com!news
Xref: forums-1-dub sybase.public.powerbuilder.objects:7396
Article PK: 734686

hallo!

I'm studying the examples and found in the quicksearch(rb_customer)
following lines:
// Clicked script for cb_search_emps
CHOOSE CASE Lower(Left(sqlca.dbms,2))
CASE "sy"
uo_1.create_datawindow(sqlca, &
"Select ~"Customer Name~" = (lname + ', ' + fname)
from customer")
CASE "or"
uo_1.create_datawindow(sqlca, &
"Select (lname || ', ' || fname) ~"Customer
Name~" from customer")
CASE ELSE
uo_1.create_datawindow(sqlca, &
"Select string(lname,', ', fname) ~"Customer Name~"
from customer")
END CHOOSE

can anybody explain me "create_datawindow".
I cant't find anything about this function in the docs.

thx


G. Serdijn Posted on 2003-05-15 10:35:56.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "G. Serdijn" <gserdijn@koper-it.nl>
Subject: Re: uo_1.create_datawindow(parms)
Date: Thu, 15 May 2003 12:35:56 +0200
Lines: 43
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: 194.151.214.130
Message-ID: <364_ucnsr4sGDHA.213@forums-1-dub>
References: <364_DCA880CE922ABBEB0030CDE085256D27.0030CE4685256D27@webforums>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-1-dub.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:7397
Article PK: 734683

Create_datawindow is not a PB function. So I guess that you couldn't find
the code of the function.

Go to the library painter and perform a global search on
'create_datawindow'. You will see amongst others the object function for
object u_selection_list. Click on that function and study the contents.

If this is not what you're looking for, perhaps you should repost your
question in detail.
Good luck

Gerry

<a_extreme_newby> wrote in message
news:DCA880CE922ABBEB0030CDE085256D27.0030CE4685256D27@webforums...
> hallo!
>
> I'm studying the examples and found in the quicksearch(rb_customer)
> following lines:
> // Clicked script for cb_search_emps
> CHOOSE CASE Lower(Left(sqlca.dbms,2))
> CASE "sy"
> uo_1.create_datawindow(sqlca, &
> "Select ~"Customer Name~" = (lname + ', ' +
fname)
> from customer")
> CASE "or"
> uo_1.create_datawindow(sqlca, &
> "Select (lname || ', ' || fname) ~"Customer
> Name~" from customer")
> CASE ELSE
> uo_1.create_datawindow(sqlca, &
> "Select string(lname,', ', fname) ~"Customer
Name~"
> from customer")
> END CHOOSE
>
> can anybody explain me "create_datawindow".
> I cant't find anything about this function in the docs.
>
> thx


extreme_newby Posted on 2003-05-15 12:56:07.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: extreme_newby
Date: Thu, 15 May 2003 08:56:07 -0400
Subject: Re: uo_1.create_datawindow(parms)
Lines: 6
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <364_51D869D50A3DBD1000470E8485256D27.0041DE9485256D27@webforums>
References: <364_DCA880CE922ABBEB0030CDE085256D27.0030CE4685256D27@webforums> <364_ucnsr4sGDHA.213@forums-1-dub>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!webforums.sybase.com!news
Xref: forums-1-dub sybase.public.powerbuilder.objects:7399
Article PK: 734687

thx

i've got it!

I was blind ...