hey guys,
How can i set the format of my date to mm/dd/yy in the properties of my text box itself...i have a start date box and an end date box. and if the user doesn't enter the right format in say the start box then i would want an error to pop up before the user moved to the end date..To do this:
1) What property of the text box would i have to write my code in?and
2) what is the VB procedure or function to set the format to mm/dd/yy..
P.S: because each of these forms are used for several purposes i don't want to write the code in a user event procedure as that will involve me changing code for several combining events that call this form as well as other forms with date text boxes.
Thank you for any help.
How can i set the format of my date to mm/dd/yy in the properties of my text box itself...i have a start date box and an end date box. and if the user doesn't enter the right format in say the start box then i would want an error to pop up before the user moved to the end date..To do this:
1) What property of the text box would i have to write my code in?and
2) what is the VB procedure or function to set the format to mm/dd/yy..
P.S: because each of these forms are used for several purposes i don't want to write the code in a user event procedure as that will involve me changing code for several combining events that call this form as well as other forms with date text boxes.
Thank you for any help.