Skip to main content
Question

IEE - Get Parent field value


Forum|alt.badge.img+4

Hello Everyone , 

 

I got 2 new IEE windows form.

One is the parent a Master Form details Tab form and one is the children a form window.

I’m trying to get fields values from the parent form.

How can I reference those fields in the children form ?

 

Can i get the value from the ‘’:i_hWndParent.FrameName.FieldName.Text property itself ? or I need to get it from a member variable ?

 

Thank you ,

Best regards

This topic has been closed for comments

3 replies

Wimali Athulathmudali
Hero (Employee)
Forum|alt.badge.img+8

Hi @Simon L. 

I think you will be able to retrieve a parent field value from the child form as follows.

(ParentWindowName).FromHandle(i_hWndParent).(ParentField).Text;

Thanks & Best Regards,

Wimali


Forum|alt.badge.img+4
  • Author
  • Do Gooder (Partner)
  • 6 replies
  • July 15, 2021

HI @Wimali Athulathmudali  ,

Thank you for your answer.

This is a viable solution.

This work if the field isn’t protected or private.

 

Best regards ,


Wimali Athulathmudali
Hero (Employee)
Forum|alt.badge.img+8

Hi @Simon L. ,

You can declare a new variable and assign the required value in parent window then you will be able to 

use that particular variable as above.

Thanks & Best Regards,

Wimali


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings