Power builder migration error 10.5


This is rajan.We have an application developed in pb 9.0 which is working properly. We migrate it to pb 10.5 while migrating it is giving an error  C0015: Undefined variable: ancestorreturnvalue in getfocusobject event of an user defined tabpage object.
Please help me to resolve the problem.


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


Say you have user defined tabpage object uo_tabpage. So what you do is first check that is this object inherited from any other user defined object.

If yes, then go to getfocusobject event of parent and check does it returns anything ? If it returns nothing then before migration you comment line AncestorReturnValue in child's getfocuobject event and try to migrate.

If No, then no need to write AncestorReturnValue in getfocusobject event of you child user defined object. Just comment that line and migrate.

After completing migration later you can uncomment the line and compile. You will come to know that whether this statement is really required or not ?


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ark4877Author Commented:


Thank you for your response.i will try that and get back to u.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Editors IDEs

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.