Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Maskedit reg ?
Message
 
To
09/06/1999 12:32:20
General information
Forum:
Visual Basic
Category:
Third party products
Title:
Miscellaneous
Thread ID:
00227599
Message ID:
00228068
Views:
21
>Hi,
>
> I just want to enter the date, so i used the maskedbox control
>by coding the property maskedbox.Mask = "##/##/##" and format = "ddddd" but when i wanted to pull up the date from the table which is in access and assign it to the control like maskedbox.text = !date1 this value from the table is not showing up, instead it shows up a blank editing area in the masked box control and the mask is also no more there (since i'm able to type in any number of characters).
>
>i wanted to show the date in this box and allow the user to edit that.
>hope you follwed this.
>
>thanks for your help
>
>Thanks
>shashi

This is surely because of your format layout. Try setting the date this way:
MaskEdBox1.Text = Format(Date, "mm/dd/yy")
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform