MaxResults Property
The maximum number of results to be returned from a search.
Syntax
ANSI (Cross Platform) int GetMaxResults();
int SetMaxResults(int iMaxResults); Unicode (Windows) INT GetMaxResults();
INT SetMaxResults(INT iMaxResults);
@property (nonatomic,readwrite,assign,getter=maxResults,setter=setMaxResults:) int maxResults; - (int)maxResults; - (void)setMaxResults:(int)newMaxResults;
#define PID_OBJSEARCH_MAXRESULTS 4 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
0
Remarks
The maximum number of records to return from QuickBooks.
If MaxResults is set to 0, all records matching the search criteria will be returned.
Data Type
Integer