RetrieveNamesOnly Property
Return only the names and Ids in the results.
Syntax
ANSI (Cross Platform) int GetRetrieveNamesOnly();
int SetRetrieveNamesOnly(int bRetrieveNamesOnly); Unicode (Windows) BOOL GetRetrieveNamesOnly();
INT SetRetrieveNamesOnly(BOOL bRetrieveNamesOnly);
@property (nonatomic,readwrite,assign,getter=retrieveNamesOnly,setter=setRetrieveNamesOnly:) BOOL retrieveNamesOnly; - (BOOL)retrieveNamesOnly; - (void)setRetrieveNamesOnly:(BOOL)newRetrieveNamesOnly;
#define PID_OBJSEARCH_RETRIEVENAMESONLY 16 INQB_EXTERNAL void* INQB_CALL InQB_ObjSearch_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); INQB_EXTERNAL int INQB_CALL InQB_ObjSearch_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
FALSE
Remarks
If RetrieveNamesOnly is True, entity searches (Customer, Employee, etc) will return only the FullName and ListID for each result. The class will silently ignore this property if it is not applicable to the search being performed. This property requires a QBXMLVersion of "4.0" or greater, and is set to False by default.
Data Type
Boolean