BCGSuite for MFC
virtual void CBCGPAppointmentBaseStorage::Query ( XBCGPAppointmentArray &  ar,
const COleDateTime &  date1,
const COleDateTime &  date2 
)
pure virtual

Retrieves appointments that are located between specified dates from the storage.

Implement this operation to query the storage for appointments that are located between specified by date1 and date2 dates.

The returned array (ar) must be sorted by date in ascending order.

date1 must not be greater than date2.

Parameters
arA reference to CArray object that will be filled by appointments.
date1A reference to a COleDateTime object specifying the start date for the query.
date2A reference to a COleDateTime object specifying the end date for the query.