Progress
ADM 2 Reference
deleteBuffer (wbdata.p)
Deletes the current record of a query’s buffer from the database. Returns TRUE when it succeeds and FALSE if it fails.
Parameters:INPUT Buffer AS HANDLE
The current record’s buffer handle.
Returns: LOGICALNotes:
- This function is only used when the data-source is a database.
- It is called from deleteRow, inside of the transaction block, for each of the query buffers returned by the DeleteTables property.
- The default function uses the BUFFER–DELETE method on the passed handle.
- The main purpose of deleteBuffer is to override BUFFER–DELETE for the deletion of a particular table. This is necessary when a table has a schema validation. The BUFFER–DELETE that usually deletes dynamic buffer records does not delete these tables. The AppBuilder detail wizard will generate the necessary override function in the target–procedure’s source.
- A message will be added to the ADM 2 message queue if the delete fails.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |