PdcDBTable.DeleteRecord
Jump to navigation
Jump to search
Declaration
DeleteRecord as Boolean
Description
Returns true or false whether the current record could be deleted
Notes
This method deletes the current record.
Code example
This code example deletes a record in the database.
Dim objTable
Set objTable = pdc.Database.OpenTable(pdcConData, "DO_CALC","DO_ORDNR")
if IsValid(objTable) then
if objTable.Locate("DO_ORDNR", "00001") then
objTable.DeleteRecord
end if
end if
set objTable = nothing
Availability
Available since June 2008 (from version 3.8)