SalesforceQuerycallback()

Executes a query against SalesForce, sending the results to a call back CFC for each page of results that come back

Usage

NUMERIC = SalesforceQuerycallback( email, passwordtoken, query, cfc, timeout )
Argument Summary
email SalesFoce Email address
passwordtoken SalesForce password and token concatenated together
query SalesForce SOQL statement
cfc The CFC object that will have the callback performed on it on the method: onSalesForceQueryResult( qry, recordsin, recordstotal ). If this function returns false; then it will stop further processing [optional]
timeout the time in milliseconds, that the connection will wait for a response [optional]

Calling

Supports named-parameter calling allowing you to use the function like:

SalesforceQuerycallback(
   email=?, 
   passwordtoken=?, 
   query=?, 
   cfc=?, 
   timeout=?
);

Supports passing parameters as a structure using ArgumentCollection:

SalesforceQuerycallback( ArgumentCollection={
   email : ?, 
   passwordtoken : ?, 
   query : ?, 
   cfc : ?, 
   timeout : ?
} );