Changes

Using Variables in the Report Builder

1 byte removed, 20:42, 11 March 2008
no edit summary
* '''@userid@''' - returns records where the value of the field contains the [[User|user]] id of the '''person running the report'''. Syntax: '''=@userid@'''
This variable can be used to create an individual [[User|user]]-specific report, such as a sales for that [[User|user]], or login history for that [[User|user]].* '''@companyid@''' - returns records where the value of the fields contains the company id of the [[User|user]] running the report Syntax '''=@companyid@''' Using this variable eliminates the need to create different reports for different branches but this technique will not display records in the report related to sub-branches. This technique will not display records for sub-branches of the [[User|user's]] branch.
If you wish to create a report that displays '''both''' the [[User|user's]] branch and '''all sub-branches''' of the [[User|user's]] branch then you need to use the following technique:
4,401
edits