CGXBrowserGrid::CanAppend

virtual BOOL CanAppend();

Return Value

Non-zero if user can append records to the data source; otherwise 0.

Remarks

Called to determine if the user should be able to append rows to the data source. You may override this method and return the CanAppend state of your external data source and also call the base class version of this method (see example):

Example

This example shows the DAO implementation of this method:

BOOL CGXDaoGrid::CanAppend()
{
   return CGXBrowserGrid::CanAppend()
      && m_pRecordset
      && m_pRecordset->IsOpen()
      && m_pRecordset->CanAppend();
}

See Also

 CGXBrowserGrid::SetCanAppend

CGXBrowserGrid

 Class Overview |  Class Members