if (edtIdBrand.Text='')  then
      ShowMessage('The name has not been filled')
  else
    if dm.DVALUE.Locate('IdBrand',edtIdBrand.Text,[]) then
    begin
      ShowMessage('Data already exists');
      edtIdBrand.SetFocus;
    end    else

Post a Comment

Lebih baru Lebih lama