RE:[peopletools-l] Check Box Auto Select and Editing Procedures

Reply from Howler_Fish on Aug 7 at 8:51 PM
By selected do you mean it gains the focus, or do you mean it should be turned on?

Let's assume that the checkbox is a Y/N edit Y= On, N = Off.

At level 0 you have

MY_WORK_REC.YES_NO_FIELD.

At level 1 you have
MY_GRID_REC.FIELD1, MY_GRID_REC.FIELD2


On MY_GRID_REC.FIELD1.FieldFormula you would have

Function LockCheckBox()
local field &fldCheckBox, GetLevel0().GetRow(1).GetRecord(Record.MY_WORK_REC ).GetField(Field.YES_NO_FIELD)l
&recCheckBox.Value = "Y";
&recCheckBox.Enabled = False;
End-Function.


On each field in MY_GRID_REC that is editable through the front end you would want a FieldChange call to this new function

Declare Function LockCheckBox PeopleCode MY_GRID_REC.FIELD1 FieldFormula;
LockCheckBox();

---------------Original Message---------------
From: Tina123321
Sent: Tuesday, August 07, 2012 6:12 AM
Subject: Check Box Auto Select and Editing Procedures

i have a page with level 0 and 1.in level 1 there is a grid.and in level 0 a checkbox is present. I want that whenever a value is entered in that particular grid the check box should be auto selected.and will not be available for editing. If there is no value in the grid the check box should be available for editing. I have different records in both the scroll.

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Toolbox.com and message author.
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
Howler_Fish  

achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Become a blogger at Toolbox.com and share your expertise with the community. Start today.

_.____.__

No comments:

Post a Comment