Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Maskedit reg ?
Message
 
À
09/06/1999 12:32:20
Information générale
Forum:
Visual Basic
Catégorie:
Produits tierce partie
Titre:
Divers
Thread ID:
00227599
Message ID:
00228068
Vues:
24
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform