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
"Patrick Graf" <comb...@gmx.net> ha scritto nel messaggio
news:40448472@forums-1-dub...
"Patrick Graf" <comb...@gmx.net> wrote in message
news:40448472@forums-1-dub...
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...