You can simply use the overloaded version of parseQualification method
where you provide the viewID of the view of the form you want to use field
labels of in your query (or simply "" to use the default view).  The reason
you need to provide the viewID is simply because your labels can be
different from view to view on the form so in order to it to make sense and
parse the query that uses views it needs to know the view the labels are on.

>From the documentation:
parseQualification

public QualifierInfo
<file:///C:/Program%20Files/BMC%20Software/ARSystem/Arserver/api/doc/ardoc81_build001/com/bmc/arsys/api/QualifierInfo.html>
*parseQualification*(String
<http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true>
form,
                                        String
<http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true>
vui,
                                        String
<http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true>
qualification)
                                 throws ARException
<file:///C:/Program%20Files/BMC%20Software/ARSystem/Arserver/api/doc/ardoc81_build001/com/bmc/arsys/api/ARException.html>

Parses a given qualification into internal structure. This overload allows
specifying a vuiName so that qualification parsing can use field display
labels per the given vui. Field database ids can always be used in
qualifications.

*Parameters:*form - Form against which this qualification is definedvui -
One of the following values:
null - no display labels be considered;
"" - field display label per the default vui;
"SomeVuiLabelHere" - the field display labels per this vuiqualification -
Readable qualification string*Returns:*QualifierInfo parsed qualification
*Throws:*ARException<file:///C:/Program%20Files/BMC%20Software/ARSystem/Arserver/api/doc/ardoc81_build001/com/bmc/arsys/api/ARException.html>
-
denoting any parsing errors


On Wed, Dec 11, 2013 at 7:16 PM, LJ LongWing <[email protected]> wrote:

> **
>
> Yes, you will need to know the form, and the view that they are looking
> at, retrieve the form object, get the view id's, then look through the view
> for the field with that label, get the field id, then get the field for the
> form and get that field so you know it's db name, for each field, and then
> perform the query using those values....actually, you don't need the field
> name, you can perform the query with just the field id's
> On Dec 11, 2013 4:31 PM, "James Smith" <[email protected]>
> wrote:
>
>> What is that "another level of processing" - I am sorry but I did not
>> understand you.
>>
>> Do I need to manually perform this processing ?
>>
>>
>> _______________________________________________________________________________
>> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
>> "Where the Answers Are, and have been for 20 years"
>>
> _ARSlist: "Where the Answers Are" and have been for 20 years_




-- 
:wq cuga

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to