Prevents end-users from selecting/browsing data for a key.
Is an ordered list of attributes that define an identifier.
, Work With for Smart Devices
, .NET Framework
This rule is used to disable the Prompt facility (F4) for the indicated list of attributes that are Foreign Keys or Autoprompt (Primary Keys) in transaction programs, or the Browse facility (used only in Micro/LAN environments). It prevents the end-user from viewing/selecting data from the table identified by this rule's parameters.
It is mostly used to stop the end-user from browsing confidential information, such as passwords, like in the following example:
Invoice Transaction object structure:
Invoice Transaction rule:
Password Transaction structure:
In this case, the end-user will not be able to see the values of valid passwords. If you consider that the end-user should not have access to clients' data which may come up after working with an Invoice transaction because the client's identification is displayed on the invoice transaction screen, you must include the following line in the Transaction Rules:
NoPrompt(ClientId); // ClientId is Client's table Primary key.