I need to place a standard information security statement on all pages of
all reports in a mdb.
is there a better way than simply copy/pasting the label in each report
page
section?
Here is an easy method. It allows for easy changing of the text when
needed.
Add a new table to the database.
Add one Field to the table, Memo datatype.
Name the field StandardText
Name the table "tblStandardText".
Paste the Standard Text into the field.
In the Report, add an unbound Control to the Page Footer (or wherever
you want to show the text).
Name this control "ShowText".
Code the Report's Declaration section:
Dim strText as String.
Code the Report's Open event:
strText = DLookUp("[StandardText]","tblStandardText")
Code the Report Header Format event:
[ShowText] = strText
Whenever you need to update or alter the text, simply edit the field
in the table, (using a form of course).