This is a migrated thread and some comments may be shown as answers.

Problem inheriting report; object not defined in current context

0 Answers 138 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Derek
Top achievements
Rank 1
Derek asked on 07 Sep 2011, 07:40 PM
My developers have a base report that is used as a class for all other reports. The base report has a datasource for some config information, which is used to populate a few text boxes. The textboxes were created in the designer, but the declarations were moved to the class. However, when a report uses this base as its parent, the textboxes show the message "An error has occurred while processing Textbox '[object name]'; the expression contains object [fieldname] that is not defined in the current context".

Data in the derived report is appearing properly, it's just the data in the parent report that is not appearing.

Any suggestions?

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Derek
Top achievements
Rank 1
Share this question
or