Question

1
Replies
360
Views
ChristopherD7152 Member since 2017 1 post
Durkin
Posted: October 13, 2017
Last activity: October 16, 2018
Closed

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
Share this page LinkedIn