Displaying form fields as per user rights.

I have a requirement that i want to restrict users on the fields displayed on the forms.

Like can i check on form level if the user have the right to view the field only then this field will be visible true or else it would be false.

Is there any standard way to achieve this. OR can you gurus help me or guide me any suggestion on how to achieve this.


You have to add a boolean field in name property of all fields and

based on the condition you have set it to true or falseā€¦

in onAftergetrecord write

CurrForm.Field.Visible := Boolean Variable;

name property i didnt get you can you please explain on detail.

if USERID=so and so then

CurrForm.Field.Visible := true or false;

You should look into the Field Level Security add-on from Lanham.