Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Product Manuals » Elevate Web Builder 3 Manual » Using Databases » Calculated Columns |
procedure TForm1.Form1Create(Sender: TObject); begin with Albums.Columns.Add do begin Name:='ArtistYear'; DataType:=dtString; Length:=60; Calculated:=True; end; Albums.OnCalculateRow:=AlbumsCalculateRow; end; procedure TForm1.AlbumsCalculateRow(Sender: TObject; Column: TDataColumn); begin Albums.Columns['ArtistYear'].AsString:=Albums.Columns['Artist'].AsString+ ' ('+Albums.Columns['Year'].AsString+')'; end;
This web page was last updated on Thursday, November 16, 2023 at 10:39 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |