🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: sybase.public.powerbuilder.objects
1 messages
1 total messages Started by Isaac Ramírez Thu, 23 Sep 2021 22:13
Re: How to check a "message" object's powerobject content ?
#1
Author: Isaac Ramírez
Date: Thu, 23 Sep 2021 22:13
66 lines
2979 bytes
El miércoles, 3 de marzo de 2004 a las 0:40:00 UTC-6, Patrick Graf escribió:
> Hi,
> that's the solution to my problem.
> Thank you !
> 
> Patrick
> 
> "Luca Marcato" <luca_m...@hotmail.com> schrieb im Newsbeitrag
> news:40448839$1@forums-2-dub...
> > Check IsValid() function...
> > Hth
> >
> > "Patrick Graf" <comb...@gmx.net> ha scritto nel messaggio
> > news:40448472@forums-1-dub...
> > > Hi all,
> > >
> > > I'm having a problem with the message.powerobjectparm.
> > >
> > > I want to check, if a specific user object was provided or not in the
> > > OpenWithParm function.
> > > It would be a reference to a user object stored in the
> > > message.powerobjectparm.
> > >
> > > The problem is, if no reference is stored in the powerObjectParm, I
> > receive
> > > an error
> > > "Null object reference at line 3 in open event of object ....".
> > > It occures at the ClassName() function call because the "if not
> > isnull...."
> > > is evaluated as true
> > >
> > > Here the example:
> > >
> > > window open event
> > > ***************
> > > u_fkc fkc
> > > IF NOT IsNull(message.powerobjectparm) then
> > > IF ClassName(message.powerObjectParm) = "u_fkc" THEN
> > > fkc = message.powerObjectParm
> > > END IF
> > > END IF
> > >
> > > external call to open the window:
> > > *************************
> > > u_fkc fkc
> > > fkc = create u_fkc
> > > :
> > > OpenWithParm(myWindow, fkc)
> > > :
> > >
> > > What I'm looking for is a function similar to"isnull()" to check if the
> > > object is there or not...
> > >
> > >
> > > Thank you for any help/hints
> > >
> > >
> > > Patrick
> > >
> > >
> > >
> >
> >
xddddd  that is util 20 years later
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads