using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Windows.Forms; using System.Drawing; using System.Data; using FastReport; using FastReport.Data; using FastReport.Dialog; using FastReport.Barcode; using FastReport.Table; using FastReport.Utils; namespace FastReport { public class ReportScript { private void Text2_AfterData(object sender, EventArgs e) { if(String.IsNullOrEmpty(Text2.Text)) { } else{ Text2.Text =Text2.Text.Substring(0,10); } } } }