You can remove the default blank line by manually modifying the view .xsl file and removing the <option/> tag.
Keep in mind that if you ever modify the drop-down list box control in the InfoPath designer, that blank line will be added back and you will have to remove it again.

Signature
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com
My form populates a couple of drop-down list boxes from a SQL Server
connection. The problem is that Infopath adds a blank entry. Now this would
make sense if the default value is not specified. But when specifying a
default value, the blank line is still there when clicking on the drop-down
box.
Is it possible to prevent that blank line from appearing as a possible
selection? I know I can use data validation, etc to annoy the user not to
select it, but it would be much smoother to nip it in the bud. Thanks.
chloraphil - 31 Oct 2005 23:07 GMT
Thanks Greg!
> You can remove the default blank line by manually modifying the view ..xsl file and removing the <option/> tag.
>
[quoted text clipped - 9 lines]
> selection? I know I can use data validation, etc to annoy the user not to
> select it, but it would be much smoother to nip it in the bud. Thanks.
Greg Collins [InfoPath MVP] - 01 Nov 2005 18:51 GMT
Glad to help out!

Signature
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com