cancel
Showing results for 
Search instead for 
Did you mean: 

Can't save a window in powerbuilder

Former Member
0 Kudos

I am using powerbuilder 11.5.

I have window w_1. I can save it without problem. but I want to Save As w_1_v2, then I got following error:

he property 'is_name' was found in class 'w_1', but insufficient rights are available to access it.

Actually, is_Name is defined as instance variable as:

String is_Name.

Confused. Not sure why. how to fix it?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

My analysis is that you have a script in w_1 that explicitly qualifies is_Name with the window name such as w_1.is_Name.

When you try to Save As the window with different name, when it compiles, it will verify your access right to is_Name in w_1. Since it is not declared as public, so you'll get the error. Just my 2 cents.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Kent;

  I suspect that you have code in W_1 that refers to itself by name instead of using the PARENT or THIS pronouns. So saving the Window as W_1_xxxx anything would then cause the compiler to flag the object in error.

Regards ... Chris