Click here to Skip to main content
15,895,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to create a Input Mask in the Data Textbox - in Access with VB Code

Example:

In the text box this one needs to show up:

__/__/____

Like this:

01/01/2011

---

Thank you :)
Posted
Comments
Sandeep Mewara 7-Sep-10 13:28pm    
In Access? Or in VB application that uses Access?
Sandeep Mewara 8-Sep-10 14:08pm    
Update from OP: Textbox of Access only.
Dalek Dave 8-Sep-10 18:15pm    
Will need to see what code you have so far.

1 solution

See here[^] for further details.
 
Share this answer
 
Comments
Sandeep Mewara 8-Sep-10 14:06pm    
Comment from OP:
Thank you very much for the answer.

I tried but it was not helpful.

Where to post the Event on txtDateBirth.

Forms!Contract!DateBirth.InputMask = "##/##/####"

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900