I have an Access 2000 database with many reports. The report names get changed sometimes. I like to put a textbox in the report footer than shows the current report name. I prefer not to hard code the name like this: = "name of report" because the names get changed and I don't want to worry about changing the textbox. So, I tried this: = Reports(0).Name and it worked very well as long as the current report is the only report open (i.e. index 0).
Question: Can anyone suggest a way to get the current report's name in this textbox regardless of how many reports are currently open?
Thanks for any input.
JeffL
Question: Can anyone suggest a way to get the current report's name in this textbox regardless of how many reports are currently open?
Thanks for any input.
JeffL