| Syntax: |
GET_PASSWORD(N mapnr, N fieldnr)
|
| Return Value: |
C password
|
| Description: |
GET_PASSWORD prompts the user for a password in the standard DP4
password format. The password is typed into a hidden field and it
is not possible to move past the field
|
|
|
There are two points to note when using get_password():
|
|
|
- Take care when including get_password() in an expression:
if ask_password then get_password(100, 1) else " "
The password will always be requested, even when ask_password is
FALSE
- If you use get_password() in an interactive database procedure,
you are recommended to use the following formula:
if false then $ else get_password(100,1)
This formula prevents the password function form being called more
than once. You may need to do this where database access causes a
pre display. The above formula references the field itself, and so
is not evaluated in a pre display
|
|
|
The GET_PASSWORD function uses the specified map and field for
data entry. The returned value is the entered password or NULL if
the user pressed <Escape>
|
| Example: |
get_password(100,1)
{pops up map mapnr, and returns the password entered in field
fieldnr}
|