Changes

Jump to: navigation, search

Advanced Logic

330 bytes added, 19:40, 2 June 2009
no edit summary
instr(concat(',','@me.rolelist@',','),',1234,') OR instr(concat(',','@me.rolelist@',','),',1235,')
::Note: ''concat(',','@me.rolelist@',',')'' creates a list of all the roleid's associated with the current user, and ''instr'' tests to see if the roleid you specified is in the list.
 
 
* For a advanced logic based the '''startdate''' or '''enddate''' standard fields:
::* Use ''''@fullstartdate@'''' rather than ''''@startdate@'''' and ''''@fullenddate@'''' rather than ''''@enddate@''''.
:''This will format the stored date as yyyy-mm-dd so it can be compared using < and >.''
'@fullstartdate@' >= '2009-05-01'
0
edits

Navigation menu