Frank, Check out "Application-Format-Qual-Filter" application command that can be performed using ARExecuteProcess API function. Basically you want to pass in the form name, encoded representation of the qualification to this app command (please refer to the documentation on this command, as there are details to watch with regards to list of arguments, their order and string escaping scheme etc) -- after successfully performing the special command, server would return a formatted qualification string or a failure status list.
This approach would work only qualifications involving a single form (in which case the app command be issued to the server that has this form); or multiple forms (like set-if/push-if qualifications) but both forms from same server. This however would not work for cases when the qualification involves two forms from two different servers (i.e. Form1 resides on Server1 and Form2 does not exist on Server1; similarly Form2 exists only on Server2) [could happen in Active link set/push fields actions]: in these cases, using the above application command would not work as either server does not have sufficient info to deal with the given qualification. Admin Tool locally has qualification parsing logic, as do the Java API and .NET API. So if at all possible make use of .NET or Java APIs to deal with your qualifications. Or, implement your own parsing logic. Or, set a limitation that your qualifications would always involve single server. Or, for cases when two server forms are involved -- those secondary server forms also reside (just for the qualification processing sakes) on the primary server. Regards Appajee -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Frank Caruso Sent: Wednesday, September 13, 2006 8:47 AM To: [email protected] Subject: API to Decode Filter RunIf Qualification Version 6.03 Using the API (Visual Studio C++) I am trying to take the RunIf qualification of a filter and decode\convert it to what you see in the admin tool. I have been able to run the following API calls: ARGetFilter AREncodeARQualifierStruct Which gets me the qualification in a somewhat readable format but I would think there would be an API call that can be made to take this further so that I see what is show in the admin tool. Thank you. ________________________________________________________________________ _______ UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

