EnterpriseDBDAC

Example: FindField, AsString

 Previous Next

Two ways to modify field value:

with EDBTable1 do
begin
  // This is the safe way to change 'CustNo' field
  FindField('CustNo').AsString := '1234';
  // This is *not* the safe way to change 'CustNo' field
  Fields[0].AsString := '1234';
end;