>*------------------------ >*--- UserAccountsEnvironment >*--- Used in UsersForm >*------------------------ >define class UserAccountsEnvironment as iePointEnvironment > function LoadCursors() > dimension this.aCursors[4] > nInitialSelectedAlias=1 > this.aCursors[1] = 'v_Users' > this.aCursors[2] = 'rule' > this.aCursors[3] = 'users' > this.aCursors[4] = 'user_group' >enddefine >>The environment for the clistobj is:
>*----------------------------- >*--- UserRuleEnvironment >*--- Used in the user form >*----------------------------- >define class UserRuleEnvironment as iePointEnvironment > nInitialSelectedAlias=1 > function LoadCursors() > dimension this.aCursors[7] > this.aCursors[1] = 'v_Rule' > this.aCursors[2] = 'Rule' > this.aCursors[3] = 'RCD' > this.aCursors[4] = 'ClassDefn' > this.aCursors[5] = 'LUT' > this.aCursors[6] = 'city' > this.aCursors[7] = 'STUDENT' > endfunc > function beforeopentables() > dodefault() > this.ov_Rule.buffermodeoverride = db_bufopttable > endfunc >enddefine >>I have checks in the form to force them to create rules for all users. However, it seems some of my saves aren't working. I can add records to the grid in clistobj and delete using my framework edit form without issue. However, whe I try to query the rule table (not the view) for my security checks, the newly added records are not present, even with :
>thisform.save(.t.,.t.) >flush >>The parentbizobj of the clistobj1 is the UserAccountObj. What am I doing wrong that my rule table is not being fully updated using my edit form?