Author: Kusnassriyanto S Bahri
Title: Delphi Win32 - Building Database Application – P4
Duration: 19:21 min
Insert, Edit, and Delete are the basic operation to modify dataset. Although they can be done very easy with user interface component like DBGrid or DBNavigator, as a Delphi programmer you have to know how to do that at run time. This video covers how to modify data inside TClientDataset at runtime. Every change to TClientDataset will be logged. ClientDataset has a property that indicates update status of current record called UpdateStatus. It also has another property that can be used to access modification log. This property is called delta. This video also covers about delta and UpdateStatus property. The last topic will be covered in this video is about data validation. It is including field level and record level constraints property. For very complex data validation, you can write code to validate data. You can create validation at field level by typing validation code for OnValidate event. Or, you can create validation at record level by typing validation code for BeforePost event. This video is the fourth part of a video set about Building Database Application with Delphi, Firebird and dbExpress.