UserID
Use this function to return the user ID used to log on to the Entry module.
Syntax
There are no parameters for this function.
This function is only useful if the system is set up to require user IDs.
Example
Here are some examples:
(Assume the current user is TOMJ.)
Function |
Result |
Explanation |
result = UserID( ) |
Identifies the current user ID as TOMJ. |
|
SetFld (UserID ( ), "MyField") |
TOMJ |
First UserID determines that the current user ID is TOMJ, then the field named MyField is assigned the value TOMJ by the SetFld procedure. |