× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Pass two parameters. Or make it a function that returns a value.

With regards,
Carel Teijgeler

*********** REPLY SEPARATOR ***********

On 27-12-2010 at 13:36 David FOXWELL wrote:

Hi all,

I have a client manager procedure that has the client id passed by
reference as an input/output parameter.
This seems to be because the procedure will call a client creation
procedure if the clientId is passed as 0, or a work with clients procedure
if the id is not 0. In the latter case, a list of clients that are related
to the client in the parameter are shown in a subfile. Selecting one of
these relations will call the client manager procedure again, this time
with the relation as the parameter. So when the program returns to the
original instance of the clientmanager, the relation is returned to the
caller instead of the original client.

What can I do? I think I need to be able to pass by value to the second
instance but only if the clientId at the beginning is different from 0. In
that case I need the parameter to be modifiable.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.