Use of property ActiveControlOnOpen.

Hello, When the you put the ID of a field in the property ActiveControlOnOpen (in the properties of a form), you tell the system which control should be activated when the form is opened. The only thing is that this property doesn’t work when you open a form with a lookup (for example, when you open the lookup of Salesperson on the customercard). When you open the same form from the object designer the property works. Does anybody have a solution for this problem?

Hi Thijs, Put the following code in the OnOpenForm trigger.


Regards, Reijer.