Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

What is Rtype in structures?

Former Member
0 Likes
1,080

Hi all,

I am confused with RType(available at version 4.7) while creating a structure, what is it?

Thanks.

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
781

This flag is set when you have a field in your structure which is a reference to a class or interface.

Regards,

Rich Heilman

Hi all,

I am confused with RType(available at version 4.7) while creating a structure, what is it?

Thanks.

3 REPLIES 3
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
782

This flag is set when you have a field in your structure which is a reference to a class or interface.

Regards,

Rich Heilman

Read only

0 Likes
781

Thanks Rich.

How can I refer to a field of interface or class or for what purpose?

Thanks again.

I will reward you.

Read only

0 Likes
781

Well lets say that you want to create a structure which has some fields in it as well as an instance of some class. Say something like this.

Employee Number

Last Name

First Name

Payroll Object

Here you have the first three fields as regular fields, and then a field to hold the object reference of the Payroll class which could hold all of the data relating to payroll for that employee. This is a very basic example, but you get the idea. This structure is simply a way to group data for this employee into a common structure, you could then also create a table type of this structure and this could then hold all of the data for all employees, each record would have a separate instance of the payroll class containing different data. Make sense?

Regards,

Rich Heilman