Solved Exeption from variable

Discussion forum about all things Gupta, OpenText and the community.
kiriand@01
Italy
Posts: 19
Joined: 04 Jan 2019, 15:44
Location: Italy

Exeption from variable

Post by kiriand@01 » 24 Jul 2020, 15:14

Hi
Has anyone ever seen this exception? the referenced variable does not belong to the window handle and what it refers to

thank you all
Kiriand

Igor Ivanovic
Site Admin
Site Admin
Croatia
Posts: 1473
Joined: 05 Mar 2017, 12:37
Location: Zagreb, Croatia

Re: Exeption from variable

Post by Igor Ivanovic » 25 Jul 2020, 07:17

Please share a code snippet where you got the error.
Igor Ivanovic
Image

FRBhote
India
Posts: 2221
Joined: 09 Mar 2017, 05:32
Location: Hyderabad, India

Re: Exeption from variable

Post by FRBhote » 27 Jul 2020, 05:08

If you use the coding assistant - instead of typing in the variables - you will never get this problem.

Now you should select each variable and see if it hows up in the coding assistant as a variable of that form/table window.

kiriand@01
Italy
Posts: 19
Joined: 04 Jan 2019, 15:44
Location: Italy

Re: Exeption from variable

Post by kiriand@01 » 27 Jul 2020, 09:24

Hello

Thanks to everyone for the replies, I found the anomaly.
I was trying to pass an unevaluable object to a function. Corrected by passing the right object and it is now OK

Kiriand

Return to “General Discussion”

Who is online

Users browsing this forum: [Ccbot] and 0 guests