# How to get Focus in Line Form from Hdr form

**URL:** <https://www.dynamicsuser.net/t/how-to-get-focus-in-line-form-from-hdr-form/17576>\
**Category:** Developers Forum\
**Created:** [October 9, 2007, 12:22pm UTC](https://www.dynamicsuser.net/t/how-to-get-focus-in-line-form-from-hdr-form/17576 "2007-10-09T12:22:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chvsnvijaykumar](https://avatars.discourse-cdn.com/v4/letter/c/a3d4f5/32.png) [@chvsnvijaykumar](https://www.dynamicsuser.net/u/chvsnvijaykumar)\
**Post date:** [October 9, 2007, 12:22pm UTC](https://www.dynamicsuser.net/t/how-to-get-focus-in-line-form-from-hdr-form/17576/1 "2007-10-09T12:22:44Z")

</div>

Hi All,

I have a Header Form and Line(SubForm).I have some Controls on Header form.User may Use all the Controls or he may use some controls only,Because Last Control is an Option Type,if he is accepting the Value in that Option thenhe will not touch that control.But my requirement is when we are focussing our cursor in Line form the cursor should Strictly focus first in One particular Control that is in First Field,if User is accessing the Line Form then Focus should be in First Filed (Control) Only.Can Any Body gives the Solution.

Thanks in Advance

Regards,

Vijay

---

<div class="post-metadata">

**Author:** ![anfinnur](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@anfinnur](https://www.dynamicsuser.net/u/anfinnur)\
**Post date:** [October 9, 2007, 1:30pm UTC](https://www.dynamicsuser.net/t/how-to-get-focus-in-line-form-from-hdr-form/17576/2 "2007-10-09T13:30:35Z")

</div>

Perhaps you can use subform’s property “ActiveControlOnOpen” or the subform’s trigger OnActivate in which you type “CurrForm..ACTIVATE;” where is the name of the field to activate…
