I am trying to update an app. I type 871 into an edit box and close the app. When that happens I check the database. The cell associated with the DBEdit23 field is 871, but the IsMetallic field is not updated.
What am I doing wrong?
Please let me know what other info you need. Thanks!
procedure TfDesignMaster.DBEditPMSExit(Sender: TObject);
begin
if DBEdit23.Field.AsString ='871' then
begin
dm.dsVendorProd.DataSet.Edit;
dm.dsVendorProd.DataSet.FieldByName('IsMetallic').Value:='Y';
dm.dsVendorProd.DataSet.Post;
end;
end;