QMDeleteu()

Top  Previous  Next

 

The QMDeleteu function deletes a record from a file, retaining the record lock.

 

 

Format

 

VBQMDeleteu ByVal FileNo as Integer, ByVal Id as String

 

Cvoid QMDeleteu(int FileNo, char * Id)

 

ObjSession->Deleteu(FileNo, Id)

 

where

 

FileNois the file number returned by a previous QMOpen() call.

 

Idis the id of the record to be deleted.

 

 

The QMDeleteu function deletes the named record from the file open as FileNo. No error occurs if the record does not exist.

 

Applications should always obtain an update lock for a record before deleting it. The lock is retained on return from this function.