Welcome! Log In Create A New Profile

Advanced

Retrieving Query Parameters

Posted by issah 
issah
Retrieving Query Parameters
July 07, 2009 04:27PM
Hello, I wanted to know if there is anyway of determining what the parameter values that were used to run a query without storing the values yourself.

For example, if I do the following:


Process 1:

MyQuery.MyParam=2
hExecuteQuery(MyQuery, hquerydefault)


Process 2 is a separate window or report, how can I tell the value of MyParam without storing or passing it myself.

Thanks and regards

issah
Jimbo
Re: Retrieving Query Parameters
July 07, 2009 06:10PM
Hi Issah,

I didn't try but isn't it possible to retrieve the parameters by

A = MyQuery.MyParam

after setting it? Just an idea ..

Greetings!
Guenter
issah
Re: Retrieving Query Parameters
July 09, 2009 10:07PM
Hello.

It works if you use it in the same process the parameter is assigned in. Doesn't work if you access it say in a called report.

Regards

issah
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: