Solved

Date Formatting

Posted on 1998-09-04
3
139 Views
Last Modified: 2010-04-30
I am using the MaskEdBox to capture a date.
If I use a format mm/dd/yyyy, the data ends up formatted the way I want. But as soon as I add the mask 99/99/9999 so the user does not have to key the /, the format no longer operates. How can I accomplish both?
0
Comment
Question by:BenJr
  • 2
3 Comments
 
LVL 2

Expert Comment

by:BergJC
ID: 1433020
Use the MASKEDBOX1.FormattedText property when you read the input
0
 

Author Comment

by:BenJr
ID: 1433021
Thanks for trying, but I have tried this..... it does not work.... whether I read the Text, ClipText or FormattedText value the _ PromptChar remains and prevents the format function from operating......
0
 
LVL 2

Accepted Solution

by:
BergJC earned 50 total points
ID: 1433022
Would be it be accetable in your application to change the PromptChar to a space?
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question