Hello
Use property PrintDBGridEh1.PageFooter.CenterText.Text like this
Code:
PrintDBGridEh1.PageFooter.CenterText.Text := 'Page. &[Page]';
In LeftText, CenterText or RightText properties of the PageFooter and PageHeader can have macros for next values:
&[Page] Substitutes current page
&[ShortDate] Substitutes current date using DateToStr function.
&[Date] Substitutes current date using DateToStr function.
&[LongDate] Substitutes current date using LongDateFormat.
&[Time] Substitutes current date using TimeToStr function.
&[Pages] Substitutes the count of pages. Presence of this macro slows preview of the first page.
Best regards
Admin