<<<<
this.enabled = thisform.oBizobj.lSuperUser

...or...

this.enabled = thisform.lSuperUser (whereby lSuperUser property was
retrieving and set from call to BO)
>>>>

My opinion would be this is a case where there is a published interface
to the oBizobj that returns the status of this user - and instead, a
call to the interface might be...

*-- more easily readable
If thisform.oBizobj.GetUserStatus(m.user) = 1           && sql bit 0 or
1
        this.enabled = .T.
Else
        this.enabled = .F.
Endif

Or

*-- single line
This.enabled = iif(thisform.oBizobj.GetUserStatus(m.user) = 1,.T.,.F.)

Instead of a property or field of the biz obj being challenged - the
call would be to a published interface?

.02

John C. Gunvaldson
www.fox-net.com






_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to