PDA

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


kertsman
Nov 17th, 1999, 01:38 AM
Okay,

I think I have my problem narrowed down to the Mask for the edit box. When I remove the mask the box will bind to the database when I have the mask coded in, it won't. I tried adding the mask later but then the data from the DB won't load. I am accessing an Oracle 8 DB with a ADO Data Object & trying to use a phone number mask eg. (###) ###-####.

Anyone have any ideas??

Thanks,
Kevin

Serge
Nov 17th, 1999, 01:48 AM
If you have MaskEdit control bounded then instead of Mask property use DataFormat property. It will let you specify any format (mask) you want.


Regards,

------------------

Serge

Software Developer
Serge_Dymkov@vertexinc.com
Access8484@aol.com
ICQ#: 51055819 (http://www.icq.com/51055819)

kertsman
Nov 17th, 1999, 02:10 AM
Hmmm...Yes that works for when I pull the data from the Database but what about when the user inputs the data. I want them to enter the phone number in the same format. I see that after you tab, it auto formats the info. But I don't trust the users here enough to enter the exact amount of number. :)

Kevin

[This message has been edited by kertsman (edited 11-17-1999).]