Results 1 to 3 of 3

Thread: Masked Edit Box Question

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 1999
    Location
    Lisle, IL USA
    Posts
    20

    Post

    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

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    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
    [email protected]
    [email protected]
    ICQ#: 51055819


  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jan 1999
    Location
    Lisle, IL USA
    Posts
    20

    Post

    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).]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width