PdcDBTable.PostRecord
Jump to navigation
Jump to search
Declaration
PostRecord
Description
Stores changes in the active record
Notes
This method saves the changes made in the current record. Without a postrecord the changes are not stored in the table.
Code example
This code example edits the text of calculation 00001 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
if objTable.EditRecord then
objTable.SetField "DO_TEXT", "Aangemaakt door script"
objTable.PostRecord
end if
end if
end if
set objTable = nothing
Availability
Available since June 2008 (from version 3.8)