>Using this control works correctly, except that it does not have a text property.
>
>I can not assign it to any value as with the text control. For example:
>
>Me.txtTel.Text=rst.Fields("Tel")
>
>does not work since Text is not a valid property within this control.
>
>How can I achieve the same result with the Mask Edit control?
Use the SelText property instead of the Text property but be aware that you have to place your insertion point at the start.
With MaskEdBox1
.SelStart = 0
.SelText = "1234567890"
End With
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com