Welcome! Log In Create A New Profile

Advanced

how get the returned value?

Posted by Joel 
Joel
how get the returned value?
March 21, 2009 07:08PM
I have a method -

PROCEDURE Client_CheckIfActive(par_ClientGUID)
HExecuteQuery(Qry_Memberships_GetActive,hQueryDefault,par_ClientGUID)
IF HFound() THEN
:m_bReturnedValue = True
ELSE
:m_bReturnedValue = False
END

How do I test the returnedValue?

I have tried:

IF gpoBRule:Client_CheckIfActive..ReturnedValue THEN (Says ".." operator forbidden)
Client_CheckIFActive by itself isn't recognized

??

Thanks!
Joel
Re: how get the returned value?
March 21, 2009 07:52PM
While we're on the subject...

PageCloseDialog - "Closes the current page. This page was opened by PageDisplayDialog. A returned value can be sent back by the calling page."

How do I get at this returned value?

thanks
Peter H.
Re: how get the returned value?
March 22, 2009 10:28AM
As an answer to 1:

Procedure XYZ()
if hFound(...) then RESULT True else RESULT False

MyProcedureResult = XYZ()
Info(XYZ())

As an answer to 2:
MyDialogResult = PageDisplayDialog(DialogName)

In the PageCloseDialog code you add the value to return as a param.

Cheers,

Peter Holemans
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: