Sets substitutes for BeforeGridText and AfterGridText properties.procedure SetSubstitutes(ASubstitutes: array of const);Description  Use SetSubstitutes procedure to substitute text in BeforeGridText and AfterGridText properties upon print/preview process. ASubstitutes parameter have to have even amount of values. On uneven places must be name of substitutions, for even their values. In text of BeforeGridText and AfterGridText properties you can place the names of substitutions that will be replaced by the text of values. All values have to have string type.Example  PrintDBGridEh1.SetSubstitutes(['%[Today]',DateToStr(Now)]);EhLib Software