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.

passing a structure back in a message object

2 posts in Objects Last posting was on 2005-04-29 19:58:57.0Z
Jared Phillips Posted on 2005-04-29 19:12:40.0Z
Sender: 60c7.427286d0.1804289383@sybase.com
From: Jared Phillips
Newsgroups: sybase.public.powerbuilder.objects
Subject: passing a structure back in a message object
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4272871f.60cd.1681692777@sybase.com>
X-Original-NNTP-Posting-Host: 10.22.241.42
X-Original-Trace: 29 Apr 2005 12:12:31 -0700, 10.22.241.42
Lines: 22
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 29 Apr 2005 12:12:34 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 29 Apr 2005 12:12:40 -0700
X-Trace: forums-1-dub 1114801960 10.22.108.75 (29 Apr 2005 12:12:40 -0700)
X-Original-Trace: 29 Apr 2005 12:12:40 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8372
Article PK: 735601

Hello out there. I am workingin Powerbuilder 8.0 and am
having a problem assigning Message.PowerObjectParm to a
structure of the same type. Basicaly, I created a structure
in a response window, filled it with 3 simple values, then
used closewithreturn(Parent,str_names)

Now, the window that called the response window is killin
the app with the following code:

Open(w_getname) //opens response window
str_input = Message.PowerObjectParm //copies struct to
struct

It bombs out on the above code with the following error
"Application Terminated.
Error: Cannot assign object of type str_user_name to
variable of type str_user_name at line 40 in clicked event
of object cb_new of w_users."

The structure from the response window and the structure in
the calling window are set up exactly the same..I am at a
total loss here. Any help would be greatly appreciated!


Scott Morris Posted on 2005-04-29 19:58:57.0Z
From: "Scott Morris" <bogus@bogus.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <4272871f.60cd.1681692777@sybase.com>
Subject: Re: passing a structure back in a message object
Lines: 4
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
X-Original-NNTP-Posting-Host: ip31-gadivinv-a8.atl1.exsbs.net
Message-ID: <427291fd$1@forums-2-dub>
X-Original-Trace: 29 Apr 2005 12:58:53 -0700, ip31-gadivinv-a8.atl1.exsbs.net
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 29 Apr 2005 12:58:54 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 29 Apr 2005 12:58:57 -0700
X-Trace: forums-1-dub 1114804737 10.22.108.75 (29 Apr 2005 12:58:57 -0700)
X-Original-Trace: 29 Apr 2005 12:58:57 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8373
Article PK: 735597

Answered in another NG. Please do not post the same message independently
to multiple newsgroups.