|  | 
			
				| Deletes a Commercial Purchase Agreement. | 
			
				|  | 
			
				| 
						
							|  | void Delete ( enum eDeleteMode eDeleteMode
 )
 |  | 
			
				|  | 
			
				| 
						| Parameters |  | eDeleteMode |  | [in] A value of the 'eDeleteMode' enumeration. |  |  |  | Remarks |  | 
		
	|  | After deleting a record, no further actions can be executed on the record, although the methods GetNext and GetPrevious are still valid. |  |  
							|  |  
							| See Also |  
							|  |  | 
			|  | 
			| Samples | 
			|  | 
			
				| 
						
							|  | C++ |  
							|  | // Delete the last inserted record
 if (pComAp->SeekBySysNum (smLast, 0))
 pComAp->Delete (dmFullReport);
 
 
 |  | 
			
				| 
						
							|  | C# |  
							|  | // Delete the last inserted record
 if (oComAp.SeekBySysNum (eSeekMode.smLast, 0))
 oComAp.Delete (eDeleteMode.dmFullReport);
 
 
 |  | 
			
				| 
						
							|  | VBS |  
							|  | ' Delete the last inserted record
 If oComAp.SeekBySysNum(smLast, 0) Then
 Call oComAp.Delete(dmFullReport)
 End If
 
 
 |  | 
			
				| 
						
							|  | VB.NET |  
							|  | ' Delete the last inserted record
 If oComAp.SeekBySysNum(eSeekMode.smLast, 0) Then
 oComAp.Delete(eDeleteMode.dmFullReport)
 End If
 
 
 |  |