UserNumber()
Returns the number ID of the user currently logged into CAPITAL.
Syntax
UserNumber() --> cID
Arguments
None.
Returns
The function returns the numeric ID of the person logged into CAPITAL. With Visual Builder it returns the ID of the current user or last user who printed a form. The ID is a four digit character string padded with zeros. The first user is 0001, the second 0002, etc. Each user has a unique ID that does not change until the user's security profile is changed.
Example
MyFile := "DATA" + UserNumber() + ".TXT"
____________________________
Related Topics: