Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
security setting for a column is acting funny
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Rizwan  
View profile  
 More options Jul 16 2003, 7:08 pm
Newsgroups: powersoft.public.powerbuilder.pfc
From: "Rizwan" <rizwan_huss...@yahoo.com>
Date: Wed, 16 Jul 2003 18:33:59 -0400
Local: Wed, Jul 16 2003 6:33 pm
Subject: security setting for a column is acting funny
I have a tab page "tabpage_future_trans" inherited from u_tabpg. This tab
page has a datawindow control dw_future_trans which is inherited from
"u_future_trans" which in turn is inherited from u_dw.

The datawindow has a column pay_code which is a DDDW. For a certain group I
want to disable this pay_code. So I run the security app. SECURITY_TEMPLATE
pick up this column as

window = pen_w_ta
control = tab_ta.tabpage_future_trans.dw_future_trans.pay_code
object_type = Column

I make this column disable for EMPLOYEE group. So in SECURITY_INFO, I have

window = pen_w_ta
control = tab_ta.tabpage_future_trans.dw_future_trans.pay_code
user_name = EMPLOYEE
status = D

Everything looks ok. But when I run my system, and when PFC security try to
set this column, it ask me for retrieval arguments for the DDDW of this
column. Whether I press ok or cancel, it sets the disabality correctly. On
debugging I find out that PFC is using this string to modify :

pay_code.background.mode="1" pay_code.protect="1"
pay_code.dddw.UseAsBorder=No

On many trials I find out that it asks for retrieval arguments whenever it
has
pay_code.background.mode="1"  OR
pay_code.dddw.UseAsBorder=No

When it has only pay_code.protect="1", its ok.

do you guys have any idea why this is happening? I am completely lost here.
I have other DDDW columns in other datawindows and I am setting their
security correctly through same code.

Thanks

Rizwan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Austin Phillips  
View profile  
 More options Jul 17 2003, 5:09 pm
Newsgroups: powersoft.public.powerbuilder.pfc
From: "Austin Phillips" <aphillips@NO_SPAM_aticousa.com>
Date: Thu, 17 Jul 2003 07:51:28 -0400
Local: Thurs, Jul 17 2003 7:51 am
Subject: Re: security setting for a column is acting funny
Rizwan;

Modifying the background color loses reference to the DDDW...from Help on
Background.property property:

DropDownDataWindows and GetChild   When you set Background.Color and
Background.Mode for a column with a DropDownDataWindow, references to the
DropDownDataWindow become invalid. Call GetChild again after changing these
properties to obtain a valid reference.

What you can do is, insert a dummy record into the dddw. That way you won't
have to get a reference to retrieve.

HTH,
Austin

"Rizwan" <rizwan_huss...@yahoo.com> wrote in message

news:eEeCUt#SDHA.342@forums-2-dub...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »