Click to See Complete Forum and Search --> : Masked Edit Box


Lafor
March 11th, 2003, 12:16 PM
Guten morgen,

I would like to take a phone number 7112221111 and put
it in a masked edit field (typical (711) 222 - 1111

When I do maskededitbox1.text = txtfield.text

I get an error... (Invalid Property value)

any idea?

M Owen
March 11th, 2003, 12:30 PM
Look to a Format property or an Input Mask property ...

M Owen
March 11th, 2003, 01:20 PM
Lafor,

Sorry about that ... What field are you copying from? And what language you using VB? VBA? You should be able to copy using a .Value property or just do the assignment using the control's name ...

- Mike