BCS Delphi XE8 Clone A Record Code Generator
This code snippet will generate the source code needed to clone a new record in a data table from an existing record. [codesyntax lang=”delphi”] procedure TBCSResumedm.car(ta: TUniTable); var i: Integer; buf: String; sc: TStringList; begin sc := TStringList.Create; sc.Add(‘ InsertRecord ‘ + ta.Name +'([‘); i := 0; repeat buf := ‘ ‘ + ta.Name + […]