Christopher Durkin (ChristopherD7152)

ChristopherD7152 Member since 2017 1 post
Posted: October 13, 2017
Last activity: October 16, 2018
Posted: 13 Oct 2017 7:15 EDT
Last activity: 16 Oct 2018 12:03 EDT

Referencing Data Classes

My App has a number of data classes. One of them (call it ClassA) needs to be referenced from many of the other Classes (ClassB, ClassC, ClassD). So because all of the classes than need to reference ClassA I have descended ClassB, ClassC, & ClassD from a Abstract ClassX. So ClassB inherits from ClassX.

What I want is for ClassX to be able to access ClassA data via a reference (avoiding having to have 3 copies of the data).

Do I have to convert my Data Class into a Data Page? I want the access to be from within the ClassX Data class, not having to do it all in the WORK class.

ClassB, ClassC, ClassD all have 'When's and 'Declared Expressions' which reference ClassA's data/when/DE as well as their own.

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Case Management
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.