subform hightlight

N

Northstar

I have a subform which shows filtered records linked to a field in the form.
Everytime I change the value on the form, the values in the subform change,
the first field of the subfdorm is always highlighted, how can I stop that ?
Thanks
 
A

AutomationGuru

This has to do with the Tab Index on the sub form. A workaround is to add a
command button to the sub form, set it's Transparent Property to
Yes and it's Tab Index property to 0.
 
A

AutomationGuru

Delete the command button, duplicate the first field and set it's Tab Index
property to 0, It's Width and Height to 0. Ensure that both fields Control
Source is the same.
 
Top