[JW Lua] FCGroup:ContainsStaff() not working ?
Jan Angermüller
jan at angermueller.com
Tue Apr 19 12:06:27 CEST 2016
Jari and others,
has anyone had success with FCGroup:ContainsStaff(...) ?
It seems to me that it more or less always (?) returns true no matter if
the given FCStaff.ItemNo is really part of the group.
My workaround:
instead of using FCGroup:ContainsStaff(...), I use
FCGroup:CalcStaffIndex( ... )~=-1 to check if a staff belongs to a group.
That seems to work fine.
Jan
More information about the JWLua
mailing list